testit 0.12
testit::test_pkg()
installs the package before running tests when it is called from a non-interactive R session that is not launched byR CMD check
, e.g., when you run tests in RStudio viaCtrl/Cmd + Shift + T
, so you will not have to install the package manually (Ctrl/Cmd + Shift + B
) before running tests.