Uses the {testhat}
package to run all unit tests in tests/testthat
directory.
Examples
if (interactive()) {
# Run all unit tests in the `tests/testthat` directory.
test_r()
}
Uses the {testhat}
package to run all unit tests in tests/testthat
directory.
if (interactive()) {
# Run all unit tests in the `tests/testthat` directory.
test_r()
}