inst/runit_tests/runit-throw.R

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

Try the excerptr package in your browser

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

excerptr documentation built on Aug. 5, 2021, 1:06 a.m.