pipe_length {pipeflow}R Documentation

Length of the pipeline

Description

Length of the pipeline

Usage

pipe_length(pip)

Arguments

pip

Pipeline object

Value

numeric length of pipeline, that is, the total number of steps

Examples

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)

[Package pipeflow version 0.2.2 Index]