Skip to contents

Returns the directory used to store downloaded G-TROPIC source files. Reusing these files can reduce data transfer and retrieval time for repeated or overlapping analyses.

Usage

gtropic_cache_dir()

Value

A character scalar containing the cache directory path.

Details

Unless changed through options(gtropic.cache_dir = ...) or gtropic_cache_enable(), the path is tools::R_user_dir("gtropic", "cache"). Calling this function reports the path but does not create it.

Examples

gtropic_cache_dir()
#> [1] "/home/runner/.cache/R/gtropic"