Deprecated on 2019-05-16. Use drake_plan()
transformations instead. See
https://books.ropensci.org/drake/plans.html#large-plans
for the details.
gather_plan(plan = NULL, target = "target", gather = "list", append = FALSE)
A workflow plan data frame that aggregates multiple prespecified targets into one additional target downstream.
Workflow plan data frame of prespecified targets.
Name of the new aggregated target.
Function used to gather the targets. Should be
one of list(...)
, c(...)
, rbind(...)
, or similar.
Logical. If TRUE
, the output will include the
original rows in the plan
argument.
If FALSE
, the output will only include the new
targets and commands.
Creates a new workflow plan to aggregate existing targets in the supplied plan.
drake_plan()