expand_plan: Deprecated: create replicates of targets. *[Deprecated]*

View source: R/deprecated.R

expand_planR Documentation

Deprecated: create replicates of targets. [Deprecated]

Description

Deprecated on 2019-05-16. Use drake_plan() transformations instead. See https://books.ropensci.org/drake/plans.html#large-plans for the details.

Usage

expand_plan(plan, values = NULL, rename = TRUE, sep = "_", sanitize = TRUE)

Arguments

plan

Workflow plan data frame.

values

Values to expand over. These will be appended to the names of the new targets.

rename

Logical, whether to rename the targets based on the values. See the examples for a demo.

sep

Character scalar, delimiter between the original target names and the values to append to create the new target names. Only relevant when rename is TRUE.

sanitize

Logical, whether to sanitize the plan.

Details

Duplicates the rows of a workflow plan data frame. Prefixes are appended to the new target names so targets still have unique names.

Value

An expanded workflow plan data frame (with replicated targets).

See Also

drake_plan()


drake documentation built on Aug. 19, 2022, 5:21 p.m.