tests/testthat.R

if (require(testthat, quietly = TRUE)) {
  require(bartCause)
  test_check("bartCause")
} else {
  cat("package 'testthat' not available; cannot run unit tests\n")
}
lurui0421/BartCause documentation built on July 4, 2019, 1:02 p.m.