Use drake_cache()
instead.
Usage
get_cache(
path = getwd(),
search = TRUE,
verbose = 1L,
force = FALSE,
fetch_cache = NULL,
console_log_file = NULL
)
Arguments
- path
Character, either the root file path of a
drake
project or a folder containing the root (top-level working directory where you plan to callmake()
). If this is too confusing, feel free to just usestorr::storr_rds()
to get the cache. Ifsearch = FALSE
,path
must be the root. Ifsearch = TRUE
, you can specify any subdirectory of the project. Let's say"/home/you/my_project"
is the root. The following are equivalent and correct:get_cache(path = "/home/you/my_project", search = FALSE)
get_cache(path = "/home/you/my_project", search = TRUE)
get_cache(path = "/home/you/my_project/subdir/x", search = TRUE)
get_cache(path = "/home/you/my_project/.drake", search = TRUE)
get_cache(path = "/home/you/my_project/.drake/keys", search = TRUE)
- search
Deprecated.
- verbose
Deprecated on 2019-09-11.
- force
Deprecated.
- fetch_cache
Deprecated.
- console_log_file
Deprecated in favor of
log_make
.