| cached | R Documentation | 
Tip: read/load a cached item with readd()
or loadd().
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.
cached_planned(), cached_unplanned(),
readd(), loadd(),
drake_plan(), make()
## Not run: 
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)
}
}
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.