Learn R Programming

ripe (version 0.1.0)

lazy: Convert magrittr chain lazy function

Description

Input a chain in magrittr syntax and make it a lazyeval function.

Usage

lazy(x)

Arguments

x

magrittr chain of functions

Value

function

See Also

Other ripe: ripe()

Examples

Run this code
# NOT RUN {
f <- stats::runif(20)%>%sample(10)%>%lazy()

f()
# }

Run the code above in your browser using DataLab