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 Nov. 2, 2020, 5:07 p.m.