cache_directory: Return the cache directory used by the package

View source: R/cache.R

cache_directoryR Documentation

Return the cache directory used by the package

Description

By default, the user-specific directory as returned by tools::R_user_dir() is used. A different directory can be used by setting the environment variable CRISP_CACHE_DIRECTORY. This can also be done by adding the following line to the .Renviron file: ⁠CRISP_CACHE_DIRECTORY=/path/to/crisp/cache/dir⁠.

Usage

cache_directory()

Value

The cache directory used by rcrisp.

Examples


cache_directory()


rcrisp documentation built on Aug. 8, 2025, 6:42 p.m.