map_plan {drake} | R Documentation |
Create a plan that maps a function to a grid of arguments.
![[Deprecated]](../help/figures/lifecycle-deprecated.svg)
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
map_plan(args, fun, id = "id", character_only = FALSE, trace = FALSE)
Arguments
args |
A data frame (or better yet, a |
fun |
Name of a function to apply the arguments
row-by-row. Supply a symbol if |
id |
Name of an optional column in |
character_only |
Logical, whether to interpret
the |
trace |
Logical, whether to append the columns of |
Details
map_plan()
is like base::Map()
:
it takes a function name and a grid of arguments, and
writes out all the commands calls to apply the function to
each row of arguments.
Value
A workflow plan data frame.