Journal article
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.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Version of record, pdf, 589.2KB, Terms of use)
-
- Publisher copy:
- 10.12688/wellcomeopenres.11635.2
Authors
- Publisher:
- F1000Research
- Journal:
- Wellcome Open Research More from this journal
- Volume:
- 2
- Article number:
- 31
- Publication date:
- 2017-06-21
- Acceptance date:
- 2017-06-29
- DOI:
- ISSN:
-
2398-502X
- Pubs id:
-
pubs:798252
- UUID:
-
uuid:83103b23-9d67-45a8-80ab-c7d9eae38e10
- Local pid:
-
pubs:798252
- Source identifiers:
-
798252
- Deposit date:
-
2018-03-15
Terms of use
- Copyright holder:
- Nolan and Padilla-Parra
- Copyright date:
- 2017
- Notes:
- Copyright © 2017 Nolan and Padilla-Parra. This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
- Licence:
- CC Attribution (CC BY)
If you are the owner of this record, you can report an update to it here: Report update to this record