Generate cache parameters from preexisting shorthand types.
interpret_cache_type(type, ext_prefix = "cache_")
List of read_fn
, write_fn
, and extension
for use with
cachem::cache_disk()
.
A string describing the type of cache.
Must be NULL
or one of 'rds', 'parquet', or 'csv'.
If NULL
(default), uses 'rds'.
The prefix to use with the file extension, e.g. "cache_csv", instead of "csv".