tests/testthat/setup-cache.R

.gisco_test_cache_dir <- withr::local_tempdir(
  pattern = "giscoR-test-cache-",
  .local_envir = testthat::teardown_env()
)
withr::local_envvar(
  GISCO_CACHE_DIR = .gisco_test_cache_dir,
  .local_envir = testthat::teardown_env()
)

Try the giscoR package in your browser

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

giscoR documentation built on Oct. 1, 2026, 5:13 p.m.