tests/testthat.R

library(testthat)
library(SNPknock)

# 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('SNPknock')

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

Try the SNPknock package in your browser

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

SNPknock documentation built on May 18, 2019, 1:03 a.m.