drake
project.
Use drake_cache()
instead.
get_cache(
path = getwd(),
search = TRUE,
verbose = 1L,
force = FALSE,
fetch_cache = NULL,
console_log_file = NULL
)
Character, either the root file path of a drake
project
or a folder containing the root (top-level working directory
where you plan to call make()
).
If this is too confusing, feel free to just use storr::storr_rds()
to get the cache.
If search = FALSE
, path
must be the root.
If search = 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)
Deprecated.
Deprecated on 2019-09-11.
Deprecated.
Deprecated.
Deprecated in favor of log_make
.
Deprecated on 2019-05-25.