pipe_get_out: Get output of given step

View source: R/aliases.R

pipe_get_outR Documentation

Get output of given step

Description

Get output of given step

Usage

pipe_get_out(pip, step)

Arguments

pip

Pipeline object

step

string name of step

Value

the output at the given step.

See Also

pipe_collect_out() to collect output of multiple steps.

Examples

p <- pipe_new("pipe", data = 1:2)
pipe_add(p, "add1", \(x = ~data) x + 1)
pipe_add(p, "add2", \(x = ~data, y = ~add1) x + y)
pipe_run(p)
pipe_get_out(p, "add1")
pipe_get_out(p, "add2")

pipeflow documentation built on April 3, 2025, 10:50 p.m.