get_cache_folder: Returns the cache directory path

View source: R/utils.R

get_cache_folderR Documentation

Returns the cache directory path

Description

Returns the cache directory path

Usage

get_cache_folder(persistent = getOption("GetTDData.persistent_cache", FALSE))

Arguments

persistent

Logical. If 'TRUE', uses a user-persistent directory via 'tools::R_user_dir'. If 'FALSE', defaults to session temporary directory. Can also be set globally via 'options(GetTDData.persistent_cache = TRUE)'. Defaults to 'FALSE'.

Value

A character string representing the folder path.

Examples

get_cache_folder()

GetTDData documentation built on Aug. 29, 2026, 5:07 p.m.