tests/testthat.R

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

Try the stan4bart package in your browser

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

stan4bart documentation built on Sept. 12, 2024, 7:39 a.m.