Closed tjmahr closed 9 years ago
http://r-pkgs.had.co.nz/tests.html says
Recommended practice is to put your tests in tests/testthat, and ensure R CMD check runs them by putting the following code in tests/test-all.R: library(testthat) test_check("yourpackage")
Recommended practice is to put your tests in tests/testthat, and ensure R CMD check runs them by putting the following code in tests/test-all.R:
library(testthat) test_check("yourpackage")
make sure paths are updated if necessary and that RStudio's ctrl+shift+t still runs the tests
http://r-pkgs.had.co.nz/tests.html says
make sure paths are updated if necessary and that RStudio's ctrl+shift+t still runs the tests