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/Rtmp7fqYDy/siu_demo_2e51141c5fd5/SIU.csv"