Unit testing in Statistical Software: an implementation in the SixSigma R package
P. Martínez Vaquero, E. López Cano, J. Martínez Moguerza
It is relatively easy to create statistical software using the R programming language. At the time this is written there are 18884 contributed packages in the CRAN repository. Usually, the focus when creating an R package is on the statistical method to be implemented. Very often engineering software good practices or software quality techniques are disregarded or ignored. It is time for statisticians who create statistical software to incorporate these techniques into their workflows in order to have high quality statistical software. One of this techniques is unit testing. Unit tests can be created for each function in the package. Tests are automatically run when building the package, and we can test the whole package when needed. This is important when creating the function for the first time, but also when maintaining the package to avoid breaking code that previously worked. Our experience implementing unit testing in the SixSigma R package will be shown.
Keywords: R, software engineering, statistical software, unit testing, six sigma, quality
Scheduled
GT20 Software and Computing for Statistics and Operations Research (SOCEIO)
June 9, 2022 12:00 PM
Grade Hall
Other papers in the same session
R. Aznar Gimeno, L. M. Esteban, G. Sanz, R. del Hoyo-Alonso
D. I. Cruz Barrera
J. M. Pinar Pérez, R. Morales Arsenal
M. Oviedo de la Fuente, V. Teodoro, C. J. Escudero, M. Febrero-Bande
Latest news
-
6/8/22
Visit Alhambra
Tomorrow, Thursday, we will visit the Alhambra. 1. At 7:00 p.m., buses will start leaving from the door of the Hotel Granada Center (in front of the door of the Faculty of Sciences) 2. Upon arrival, groups with guides will be organized. 3. There will be groups in English language. These groups will wait at the destination until the arrival of all buses. 4. After the visit to the Alhambra we will walk to the Carmen de los Mártires to have a cocktail. 5. On the way back, we can go back by bus, which will leave from the same place where they left us at the Alhambra. 6. Although the way to the Alhambra by bus seems long, it really is close to the city. We invite you, whoever wishes, to go down for a pleasant walk. 7. Do not forget to take your Alhambra ticket and your identity card or passport. The document must be the same whose number matches the ticket number you have.
-
5/31/22
YouTube Channel
The menu label is already on the web from where you can see the live broadcasts: inauguration, plenary sessions, round tables,... Don't forget to enter the YouTube channel and subscribe!!!!
-
5/27/22
Gala Dinner
It opens the possibility that anyone who is registered for the conference, and wants non-registered companions to attend the gala dinner, can do so by paying the price of this dinner (80 euros VAT included). This payment must be made before June 1 (inclusive). To do this, contact with [email protected]
-
5/23/22
IMPORTANT WARNING
To access the Alhambra on the visit on Thursday 9, it is obligatory to present the identification document whose reference was sent to the organization (eurocongress)
-
5/16/22
Social Events
All social events are included with the payment of the corresponding registration.