inst/templates/runit.R

if (interactive()) pkgload::load_all(".")
test_FUNCTION <- function() {
    result <- FUNCTION(FIXME)
    expectation <- FIXME
    RUnit::checkIdentical(result, expectation)
}
if (interactive()) {
    test_FUNCTION()
}

Try the fritools package in your browser

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

fritools documentation built on June 8, 2025, 11:59 a.m.