get_cache_dir: Get cache directory path

View source: R/cache.R

GetCacheDirR Documentation

Get cache directory path

Description

Defaults to tools::R_user_dir("varunayan", "cache"). Set the option varunayan.cache_dir to use a different directory.

Usage

GetCacheDir(...)

get_cache_dir(create = TRUE)

Arguments

...

Arguments for the main function (for use by aliases).

create

Create the directory when it does not exist (default: TRUE)

Value

Character string with cache directory path

Examples

get_cache_dir(create = FALSE)

varunayan documentation built on Oct. 30, 2026, 1:07 a.m.