Skip to contents

The cache lives in tools::R_user_dir() unless the knbsdata.cache_dir option points elsewhere. Nothing is written until something is cached.

Usage

knbs_cache_dir(create = FALSE)

Arguments

create

Whether to create the directory if it does not exist.

Value

The cache directory path, invisibly when create = TRUE.

Examples

knbs_cache_dir(create = FALSE)
#> [1] "/home/runner/.cache/R/knbsdata"