tests/test-all.R

## Run the tests if the system variable 'R_CHECK_TESTS' is set to TRUE

# code from bioconductor package 'derfinder' -- thank you!

flag <- as.logical(Sys.getenv('R_CHECK_TESTS'))
if(!is.na(flag)) {
    if(flag == TRUE) {
        library('testthat')
        test_check('test_ebm_main')
    }
} else {
    message('Set the system variable R_CHECK_TESTS to TRUE to run all the tests.')
}

Try the EmpiricalBrownsMethod package in your browser

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

EmpiricalBrownsMethod documentation built on Nov. 8, 2020, 8:16 p.m.