Sets the directory used to cache CNEFE data. This configuration is persistent across different R sessions.
Arguments
- path
A string. The path to the directory used to cache the data. If
NULL
(the default), the package will use a versioned directory saved inside the directory returned bytools::R_user_dir()
.
Examples
set_cache_dir(tempdir())
#> ℹ Setting cache directory to /tmp/RtmpZwra8G.
# back to default
set_cache_dir(NULL)
#> ℹ Setting cache directory to
#> /home/runner/.cache/R/geocodebr/data_release_v0.1.0.