3 ms·
According to the tidyverse style guide, using magrittr's pipe assignment operator %<>% (also mentioned in the blog post), should actually be avoided. I guess be
by aquafox 3y ago
According to the tidyverse style guide, using magrittr's pipe assignment operator %<>% (also mentioned in the blog post), should actually be avoided. I guess because it makes code reading harder.
- countrymile 3y agoIt also makes the testing of the right hand side of the pipe rather difficult a <- a |> mean() Allows me to test `a |> mean()` to check it works before it gets assigned to replace a. Very useful when you have very long pipe commands. <|> Wouldn't allow this.
- dash2 3y agoTest in the REPL with `a |> mean()`. Then add a `<` when it works.