tests/tinytest.R

# if(requireNamespace("tinytest", quietly = TRUE)) {
#   set.seed(42)
#   home <- length(unclass(packageVersion("bsreg"))[[1]]) == 4 # 0.0.0.9000
#   # home <- TRUE
#   if(home) { # Only run locally, let CRAN test examples and the vignette
#     tinytest::test_package("bsreg", at_home = home, pattern = "^.*\\.[rR]$")
#   }
# }

Try the bsreg package in your browser

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

bsreg documentation built on March 18, 2022, 5:36 p.m.