styler icon indicating copy to clipboard operation
styler copied to clipboard

convert `%>%` into `|>`?

Open lorenzwalthert opened this issue 3 years ago • 2 comments
trafficstars

{formatR} offers this in https://github.com/yihui/formatR/releases/tag/v1.12. Maybe tidyverse_style() could have an argument for that.

lorenzwalthert avatar Apr 01 '22 08:04 lorenzwalthert

wouldn't that sometimes break code as the operators behave differently?

sebffischer avatar Apr 27 '22 22:04 sebffischer

It would be optional. And it's aimed at being very simlar with release 2.0: https://www.tidyverse.org/blog/2020/11/magrittr-2-0-is-here/

lorenzwalthert avatar Apr 28 '22 00:04 lorenzwalthert

Out of scope.

lorenzwalthert avatar Feb 01 '24 17:02 lorenzwalthert