inst/runit_tests/test_throw.R

test_exception <- function() {
    RUnit::checkException(packager:::throw("Hello, error!"))
}

Try the packager package in your browser

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

packager documentation built on Aug. 16, 2023, 5:08 p.m.