Set custom directory for caching files from the censobr package. The user only needs to run this function once, as the cache directory is kept the same across R sessions.
See also
Other Cache data:
censobr_cache()
,
get_censobr_cache_dir()
Examples
# Set custom cache directory
tempd <- tempdir()
set_censobr_cache_dir(path = tempd)
#> ℹ censobr files will be cached at /tmp/RtmpdkgrqC.
# 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.