cached( ..., list = character(0), no_imported_objects = FALSE, path = NULL, search = NULL, cache = drake::drake_cache(path = path), verbose = NULL, namespace = NULL, jobs = 1, targets_only = TRUE )
... | Deprecated. Do not use.
Objects to load from the cache, as names (unquoted)
or character strings (quoted). Similar to |
---|---|
list | Deprecated. Do not use.
Character vector naming objects to be loaded from the
cache. Similar to the |
no_imported_objects | Logical, deprecated. Use
|
path | Path to a |
search | Deprecated. |
cache | drake cache. See |
verbose | Deprecated on 2019-09-11. |
namespace | Character scalar, name of the storr namespace to use for listing objects. |
jobs | Number of jobs/workers for parallel processing. |
targets_only | Logical. If |
Either a named logical indicating whether the given targets or cached or a character vector listing all cached items, depending on whether any targets are specified.
if (FALSE) { isolate_example("Quarantine side effects.", { if (suppressWarnings(require("knitr"))) { if (requireNamespace("lubridate")) { load_mtcars_example() # Load drake's canonical example. make(my_plan) # Run the project, build all the targets. cached() cached(targets_only = FALSE) } } }) }