powered by
Convert a sequence of expressions into a function.
sequence_as_function(dot_seq, env = parent.frame())
list of expressions.
environment to work in.
function with signature (., eval_environment = parent.frame())
Note: not for steps that intend side-effects or have references to items in non-standard environments.
# NOT RUN { seq <- Collector() %.>% paste(., "a") %.>% paste(., "b") f <- sequence_as_function(seq) f("x") # }
Run the code above in your browser using DataLab