The functionality of <<- should be preserved in the pipeline expressions for assignment.
For example,
local({i <- 10; 1:10 %>>% (. -> x)})
happens in the local environment so that nothing happens outside.
local({i <- 10; 1:10 %>>% (. ->> x)})
happens in the local environment but ->> should be interpreted as if the operator is called. Therefore the global environment then should contain x = 1:10.
The functionality of
<<-
should be preserved in the pipeline expressions for assignment.For example,
happens in the local environment so that nothing happens outside.
happens in the local environment but
->>
should be interpreted as if the operator is called. Therefore the global environment then should containx = 1:10
.