get_dir_cache: Determine cache directory

View source: R/utils.R

get_dir_cacheR Documentation

Determine cache directory

Description

This internal function determines what directory should be used to store cache files. It can be a user-provided path, set as a global option, or determined on an OS basis.

Usage

get_dir_cache(dir_cache)

Arguments

dir_cache

User-specified cache directory.

Value

The location of the cache directory, either explicitely user-provided, specified as a global option, or (by default) in the OS cache directory.


AlexWeinreb/wbData documentation built on April 3, 2025, 1:24 p.m.