Cookies on this website

We use cookies to ensure that we give you the best experience on our website. If you click 'Accept all cookies' we'll assume that you are happy to receive all cookies and you won't see this message again. If you click 'Reject all non-essential cookies' only necessary cookies providing core functionality such as security, network management, and accessibility will be enabled. Click 'Find out more' for information on how to change your cookie settings.

<ns4:p>In spite of the utility of unit tests, most R package developers do not write them. <ns4:italic>exampletestr</ns4:italic> makes it easier to <ns4:italic>start</ns4:italic> 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 <ns4:italic>correctly</ns4:italic>. By combining the functionality of <ns4:italic>exampletestr</ns4:italic> with that of <ns4:italic>covr</ns4:italic>, 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.</ns4:p>

Original publication

DOI

10.12688/wellcomeopenres.11635.1

Type

Journal article

Journal

Wellcome Open Research

Publisher

F1000 Research Ltd

Publication Date

17/05/2017

Volume

2

Pages

31 - 31