tests/tinytest.R

if (requireNamespace("tinytest", quietly = TRUE) &&
    utils::packageVersion("tinytest") >= "1.1.0") {

    ## Set a seed to make the test deterministic
    set.seed(808)

    tinytest::test_package("reda", ncpu = NULL,
                           side_effects = TRUE)
}

Try the reda package in your browser

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

reda documentation built on April 2, 2021, 5:07 p.m.