tests/testthat/runTests.R

## unit tests will not be done if testthat is not available
if(require("testthat", quietly = TRUE)) {
    library(hiAnnotator)    
    test_package("hiAnnotator")    
} else {
    warning("cannot run unit tests -- package 'testthat' is not available")
}
malnirav/hiAnnotator documentation built on July 29, 2021, 6:32 a.m.