inst/runit_tests/runit-throw.R

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

Try the HandTill2001 package in your browser

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

HandTill2001 documentation built on June 8, 2025, 1:31 p.m.