Unknown

Dataset Information

0

Exampletestr-An easy start to unit testing R packages.


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.

SUBMITTER: Nolan R 

PROVIDER: S-EPMC5500893 | biostudies-literature | 2017

REPOSITORIES: biostudies-literature

altmetric image

Publications

<i>exampletestr</i>-An easy start to unit testing R packages.

Nolan Rory R   Padilla-Parra Sergi S  

Wellcome open research 20170621


In spite of the utility of unit tests, most R package developers do not write them. <i>exampletestr</i> makes it easier to <i>start</i> 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  <i>correctly</i>. By combining the functionality of <i>exampletestr</i> with that of <i>covr</i>, having ensured that their examples adequately demonstrate the features of their  ...[more]

Similar Datasets

| S-EPMC7524002 | biostudies-literature
| S-EPMC5747338 | biostudies-literature
| S-EPMC7069355 | biostudies-literature
| S-EPMC7690327 | biostudies-literature
| S-EPMC4912112 | biostudies-literature
| S-EPMC4710230 | biostudies-literature
| S-EPMC7237579 | biostudies-literature
| S-EPMC3950965 | biostudies-literature
| S-EPMC6587809 | biostudies-literature
| S-EPMC9045242 | biostudies-literature