get_pipeline(), set_pipeline() and reset_pipeline() access and modify the current active pipeline, while all other helper functions do not affect the active pipeline

is_pipeline(pipeline)

set_pipeline(pipeline)

get_pipeline()

reset_pipeline()

Arguments

pipeline

A pipeline. See Pipeline for more details.

See also

Other pipeline: Pipeline, pipeline-vis

Examples

if (FALSE) {
# Build up a pipeline from scratch and save it out
reset_pipeline()
# A series of `make_with_*()` blocks go here...
saveRDS(get_pipeline(), "data/my_pipeline.Rds")

# ... Later on we can read in and set the pipeline
p <- readRDS("data/my_pipeline.Rds")
set_pipeline(p)
}