Skip to contents

Returns the path <cache_dir>/SIU.csv, creating cache_dir if needed. Default is file.path(tempdir(), "morie", "siu"); pass morie_cache_dir("siu") for persistent caching.

Usage

morie_siu_cache_path(cache_dir = file.path(tempdir(), "morie", "siu"))

Arguments

cache_dir

Output directory.

Value

Absolute path to SIU.csv (file may not exist yet).

Examples

p <- morie_siu_cache_path(tempfile("siu_demo_"))
p
#> [1] "/tmp/RtmpOKyZlD/siu_demo_2e2634b30cc6/SIU.csv"