Lists the files downloaded by read_metro_demand(). The cache directory is
resolved from the metrosp.cache_dir option, then the METROSP_CACHE_DIR
environment variable, and finally tools::R_user_dir(). Printing the
result also shows the resolved directory.
Usage
metrosp_cache()
# S3 method for class 'metrosp_cache'
print(x, ...)Value
A data frame with one row per cached file, holding the vintage tag, file name, size in bytes, and modification time. Zero rows when the cache is empty.
x, invisibly.
Details
Each read marks its vintage as used. A vintage left unused for 90 days is
deleted the next time read_metro_demand() touches the cache.
See also
metrosp_cache_clear() to remove cached files.
