Learn R Programming

drake (version 4.4.0)

get_cache: Function get_cache

Description

Search for and return a drake file system cache.

Usage

get_cache(path = getwd(), search = TRUE, verbose = TRUE)

Arguments

path

file path to the folder containing the cache. Yes, this is the parent directory containing the cache, not the cache itself, and it assumes the cache is in the `.drake` folder. If you are looking for a different cache with a known folder different from `.drake`, use the this_cache() function.

search

logical, whether to search back in the file system for the cache.

verbose

logical, whether to print the location of the cache

See Also

this_cache, new_cache, recover_cache, config

Examples

Run this code
# NOT RUN {
get_cache()
load_basic_example()
make(my_plan)
x <- get_cache()
x$list()
# }

Run the code above in your browser using DataLab