If option epwshiftr.dir is set, use it. Otherwise, get package data storage directory using rappdirs::user_data_dir().

get_data_dir()

Value

A single string.

Examples

options(epwshiftr.dir = tempdir()) get_data_dir()
#> [1] "/tmp/RtmprIM5v1"