tests/doRUnit.R

if(require("testthat", quietly=TRUE)) {
    # https://github.com/hadley/testthat/issues/86
    Sys.setenv("R_TESTS" = "")  
    test_package("blockDemac")
} else {
    warning("cannot run unit tests -- package testthat is not available")
}

Try the blockDemac package in your browser

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

blockDemac documentation built on May 2, 2019, 4:52 p.m.