Includes dynamic sub-targets as well. See examples for details.
cached_planned( plan, path = NULL, cache = drake::drake_cache(path = path), namespace = NULL, jobs = 1 )
plan | A drake plan. |
---|---|
path | Path to a |
cache | drake cache. See |
namespace | Character scalar, name of the storr namespace to use for listing objects. |
jobs | Number of jobs/workers for parallel processing. |
A character vector of target and sub-target names.
if (FALSE) { isolate_example("cache_planned() example", { plan <- drake_plan(w = 1) make(plan) cached_planned(plan) plan <- drake_plan( x = seq_len(2), y = target(x, dynamic = map(x)) ) cached_planned(plan) make(plan) cached_planned(plan) cached() }) }