tests/testthat/setup.R

withr::local_envvar(
  .new = list(
    `R_USER_CACHE_DIR` = withr::local_tempdir(pattern = "tmp-cache")
  ),
  .local_envir = testthat::teardown_env()
)

Try the extractox package in your browser

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

extractox documentation built on April 4, 2025, 2:30 a.m.