31 Testing with the testthat package
Tests are found in <package>/tests/testthat/ (for example, base/utils/inst/tests/)
See attached file and http://r-pkgs.had.co.nz/tests.html for details on how to use the testthat package.
testthat packageTests are found in <package>/tests/testthat/ (for example, base/utils/inst/tests/)
See attached file and http://r-pkgs.had.co.nz/tests.html for details on how to use the testthat package.