get_pipeline: Utility to grab pipeline expression from wherever available

Description Usage Arguments

View source: R/debug_pipeline.R

Description

Utility to grab pipeline expression from wherever available

Usage

1
get_pipeline(pipeline, call, parse = TRUE, ...)

Arguments

pipeline

A pipeline. Can be an unquoted or quoted expression, or a character vector of code. If missing, uses the text highlighted in RStudio's source editor.

call

An expression of the parent call, as captured by match.call

parse

If TRUE, parses pipeline as debug_pipeline. If FALSE, takes pipeline as an already-parsed expression.

...

Only used to allow assignment with = at the beginning of a pipeline.


alistaire47/pipecleaner documentation built on April 21, 2020, 1:29 a.m.