Related Experiment Video
Updated: Feb 25, 2026

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
exampletestr-An easy start to unit testing R packages
Rory Nolan1, Sergi Padilla-Parra1,2
1Wellcome Trust Centre for Human Genetics, University of Oxford, Oxford, OX3 7BN, UK.
Abstract:
In spite of the utility of unit tests, most R package developers do not write them. exampletestr makes it easier to start writing unit tests by creating shells/skeletons of unit tests based on the examples in the user's package documentation. When completed, these unit tests test whether said examples run correctly. By combining the functionality of exampletestr with that of covr, having ensured that their examples adequately demonstrate the features of their package, the developer can have much of the work of constructing a comprehensive set of unit tests done for them.
Related Concept Videos
Introduction to R
Interpreting R Charts
An R chart plots the range of subsets of measurements collected from a process. Each point on the chart represents the range—defined as the difference between the maximum and minimum...
Introduction to Test of Independence
The test statistic for a test of independence is similar to that of a goodness-of-fit test:
Goodness-of-Fit Test
Protein Folding Quality Check in the RER
Overview of Minitab

