inst/unittests/helper_alltests.R

## --- Auxiliary routines ---------------------------------------------------

## check for warnings but suppress warning message
expect_warning_suppress <- function (x, y) {
        opt.warn.save <- getOption("warn")
        options(warn=-1)
        expect_warning(x,y)
        options(warn=opt.warn.save)
}

## --------------------------------------------------------------------------

Try the rvgtest package in your browser

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

rvgtest documentation built on May 1, 2019, 6:35 p.m.