tests/testthat/setup_cache_dir.R

R_USER_CACHE_DIR<-tempfile()
dir.create(R_USER_CACHE_DIR)
Sys.setenv("R_USER_CACHE_DIR"=R_USER_CACHE_DIR)
r_version <- R.Version()$version.string
is_rdevel <- grepl("unstable", r_version)
# is_debian <- grepl("debian", tolower(Sys.info()['release']))

Try the dockerfiler package in your browser

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

dockerfiler documentation built on Sept. 11, 2024, 6:31 p.m.