powered by
Appends string to all step names and takes care of updating step dependencies accordingly.
pipe_append_to_step_names(pip, postfix, sep = ".")
returns the Pipeline object invisibly
Pipeline
Pipeline object
string to be appended to each step name.
string
string separator between step name and postfix.
p <- pipe_new("pipe") pipe_add(p, "step1", \(x = 1) x) pipe_add(p, "step2", \(y = 1) y) pipe_append_to_step_names(p, "new") p pipe_append_to_step_names(p, "foo", sep = "__") p
Run the code above in your browser using DataLab