tests/testthat.R

if (!require(testthat, quietly = TRUE)) {
  stop("testthat is not installed")
}
if (!require(TmCalculator, quietly = TRUE)) {
  stop("TmCalculator is not installed")
}

test_check("TmCalculator")

Try the TmCalculator package in your browser

Any scripts or data that you put into this service are public.

TmCalculator documentation built on Aug. 28, 2026, 5:09 p.m.