tests/testthat/teardown.R

# Only remove the testdata folder if it exists
testdata_dir <- testthat::test_path("../testdata")
if (dir.exists(testdata_dir)) {
  unlink(file.path(testdata_dir, "*.rds"))
}

Try the BayesPostEst package in your browser

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

BayesPostEst documentation built on Aug. 19, 2025, 1:11 a.m.