powered by
expand
Expands a workflow plan data frame by duplicating rows. This generates multiple replicates of targets with the same commands.
expand(plan, values = NULL)
workflow plan data frame
values to expand over. These will be appended to the names of the new targets.
an expanded workflow plan data frame
# NOT RUN { datasets <- plan( small = simulate(5), large = simulate(50)) expand(datasets, values = c("rep1", "rep2", "rep3")) # }
Run the code above in your browser using DataLab