v0.5
Completely removed deprecated operators, functions, and usage
- Operators (
%:>%
and%|>%
) - Closure
fun()
in Pipe object - No longer supports
->
to build lambda expression
The following notation is NO LONGER supported
data %>>% (df -> lm(mpg ~ cyl + wt, data = df))
Please use formula instead
data %>>% (df ~ lm(mpg ~ cyl + wt, data = df))
Support more flexible assignment
- Support assignment in using
~
,<-
and->
within()
# assign to symbol
foo %>>% (~ bar)
# bar <- foo
# assign and continue piping
foo %>>% (bar <- lm(y ~ x, data = .))
foo %>>% (lm(y ~ x, data = .) -> bar)
# bar <- lm(y ~ x, data = foo)
# assign only for side effect
foo %>>% (~ bar <- lm(y ~ x, data = .))
foo %>>% (~ lm(y ~ x, data = .) -> bar)
# bar <- lm(y ~ x, data = foo); foo