tests/testthat.R

Sys.unsetenv("R_TESTS")
if (require(testthat, quietly = TRUE)) {
  require(dbarts)
  test_check("dbarts")
} else {
  cat("package 'testthat' not available; cannot run unit tests\n")
}

Try the dbarts package in your browser

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

dbarts documentation built on Jan. 23, 2023, 5:40 p.m.