test_r | R Documentation |
Uses the {testhat}
package to run all unit tests in tests/testthat
directory.
test_r()
None. This function is called for side effects.
if (interactive()) {
# Run all unit tests in the `tests/testthat` directory.
test_r()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.