
Last chance! 50% off unlimited learning
Sale ends in
Currently only works with
storr::storr_rds()
file system caches.
cache_path(cache = NULL)
the cache whose file path you want to know
File path where the cache is stored.
# NOT RUN {
test_with_dir("Quarantine side effects.", {
clean(destroy = TRUE)
# Get/create a new drake/storr cache.
cache <- recover_cache()
# Show the file path of the cache.
cache_path(cache = cache)
# In-memory caches do not have file paths.
mem <- storr_environment()
cache_path(cache = mem)
})
# }
Run the code above in your browser using DataLab