Slide 21
Slide 21 text
Testing R packages
Other tools to define tests for functions
{testit}, which comes with two functions (assert() and test_pkg())
{testthis}, to enhance unit testing (use_testdata(), test_coverage())
{tinytest}, a lightweight and dependency free unit testing framework
Complementary tools
{webmockr} and {vcr}, to test for HTTP requests
{httptest}: webtesting through {httr}
Document
{covr} & {covrpage}, to document test coverage
{testdown}: {testthat} results as a bookdown
Colin FAY (@_ColinFay) - https://rtask.thinkr.fr 21 / 41