inst/runit_tests/runit_throw.R

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

Try the cleanr package in your browser

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

cleanr documentation built on July 9, 2023, 7:30 p.m.