pipeline-accessors {makepipe}R Documentation

Access and interface with Pipeline.

Description

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

Usage

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

## Not run: 
# 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)

## End(Not run)

[Package makepipe version 0.2.1 Index]