test_r: Run R unit tests

View source: R/tools.R

test_rR Documentation

Run R unit tests

Description

Uses the {testhat} package to run all unit tests in tests/testthat directory.

Usage

test_r()

Value

None. This function is called for side effects.

Examples

if (interactive()) {
  # Run all unit tests in the `tests/testthat` directory.
  test_r()
}

Appsilon/rhino documentation built on Sept. 27, 2024, 7:01 p.m.