tests/testthat.R

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

Try the bartCause package in your browser

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

bartCause documentation built on Jan. 24, 2023, 1:09 a.m.