wrapr_function.default: Wrapr function.

Description Usage Arguments Value Examples

View source: R/bpipe.R

Description

S3 dispatch on tyhpe of pipe_right_argument.

Usage

1
2
3
## Default S3 method:
wrapr_function(pipe_left_arg, pipe_right_arg,
  pipe_environment, pipe_name = NULL)

Arguments

pipe_left_arg

left argument.

pipe_right_arg

right argument (general object, not a function).

pipe_environment

environment to evaluate in.

pipe_name

character, name of pipe operator.

Value

result

Examples

1
2
3
f <- function() { print("execute"); 0}
a <- substitute({. + 1 + f()})
5 %.>% a

WinVector/wrapr documentation built on May 24, 2018, 8:05 a.m.