powered by
Length of the pipeline
pipe_length(pip)
numeric length of pipeline, that is, the total number of steps
numeric
Pipeline object
Pipeline
p <- pipe_new("pipe", data = 1:2) pipe_add(p, "f1", \(x = 1) x) pipe_add(p, "f2", \(y = 1) y) p pipe_length(p)
Run the code above in your browser using DataLab