Journal article icon

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


Publisher copy:
10.12688/wellcomeopenres.11635.2

Authors


More by this author
Institution:
University of Oxford
Division:
Medical Sciences Division
Department:
NDM; Human Genetics Wt Centre
Role:
Author
More by this author
Institution:
University of Oxford
Division:
MSD
Department:
NDM
Sub department:
Human Genetics Wt Centre
Role:
Author


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



Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP