Returns the conventional per-user cache location for the package. It deliberately does **not** create the directory: pass it to [collect_content()] to opt in, and until you do nothing is written outside the session's temporary directory.

rdomains_cache_dir()

Value

Path to the per-user cache directory, as a string.

Examples

rdomains_cache_dir()
#> [1] "/home/runner/.cache/R/rdomains"
if (FALSE) { # \dontrun{
# opt in to caching that survives the session
collect_content("example.com", cache_dir = rdomains_cache_dir())
} # }