Journal article icon

Journal article

Easier unit tests and better examples with exampletestr and covr

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 m...

Expand abstract
Publication status:
Published
Peer review status:
Peer reviewed

Actions


Access Document


Authors


More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Doctoral Training Centre - MPLS
Role:
Author
More by this author
Institution:
University of Oxford
Division:
MSD
Department:
NDM
Sub department:
Human Genetics Wt Centre
Role:
Author
More from this funder
Name:
Wellcome Trust
Grant:
203141
Publisher:
Wellcome Trust
Journal:
Wellcome Open Research More from this journal
Volume:
2
Pages:
31-31
Publication date:
2017-05-01
Acceptance date:
2017-05-17
DOI:
ISSN:
2398-502X
Pubs id:
pubs:702713
UUID:
uuid:aa419e03-a268-4a9f-a861-f876b7d0f6e6
Local pid:
pubs:702713
Source identifiers:
702713
Deposit date:
2017-07-03

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