Returns the path to the drift tile cache directory. Creates it if
it doesn't exist.
Usage
dft_cache_path(cache_dir = NULL)
Arguments
- cache_dir
Character. Override the default cache location.
If NULL, uses rappdirs::user_cache_dir("drift").
Value
Character path to the cache directory.
Examples
dft_cache_path()
#> [1] "~/.cache/drift"