Use of the cache is determined by the value of the use_cache = argument to dataset and other API calls, or by the environment variable DATAVERSE_USE_CACHE. Possible values are
"none": do not use the cache. This is the default for datasets that are versioned with ":draft", ":latest", and ":latest-published".
"session": cache API requests for the duration of the R session. This is the default for API calls that do not involve file or dataset retrieval.
`"disk": use a permanent disk cache. This is the default for files and explicitly versioned datasets.
cache_dataset() determines whether a dataset or file should be cached based on the version specification.
cache_path() finds or creates the location (directory) on the file system containing the cache.
cache_info() queries the cache for information about the name, size, and other attributes of files in the cache. The file name is a 'hash' of the function used to retrieve the file; it is not useful for identifying specific files.
cache_reset() clears all downloaded files from the disk cache.