tests/testthat.R

library(testthat)
library(SBDI4R)

## run each test with and without caching
check_caching=function(f) {
    sbdi_config(caching="off")
    f()
    sbdi_config(caching="on")
    f()
    f()
}

test_check("SBDI4R", reporter="summary")
bioatlas/r-functionality documentation built on Nov. 1, 2020, 3:42 a.m.