Set custom cache directory for censobr files
Source:R/set_censobr_cache_dir.R
set_censobr_cache_dir.Rd
Set custom directory for caching files from the censobr package. If users want to set a custom cache directory, the function needs to be run again in each new R session.
See also
Other Cache data:
censobr_cache()
Examples
# Set custom cache directory
tempd <- tempdir()
set_censobr_cache_dir(path = tempd)
#> censobr files will be cached at /tmp/Rtmpa8m0an
# back to default path
set_censobr_cache_dir(path = NULL)
#> censobr files will be cached at /home/runner/.cache/R/censobr/data_release_v0.3.0