tests/testthat.R

library(testthat)
library(knockoff)

# Set a random seed for reproducibility when running R CMD CHECK.
# Note that this file is not run by devtools::test, so the tests will be truly
# random when run from RStudio.
set.seed(1234)

# Run the test suite.
test_check('knockoff')

# Reset the random seed.
rm(.Random.seed)

Try the knockoff package in your browser

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

knockoff documentation built on Aug. 15, 2022, 9:06 a.m.