RobinHankin / freegroup

The free group in R
0 stars 0 forks source link

magrittr pipes in package #20

Closed RobinHankin closed 5 years ago

RobinHankin commented 5 years ago

I don't think it's good practice to use magrittr pipes in the R code of a package. But I do use %>% and %<>% a few times in the R files, and it is not clear to me that they are clearer idiom than traditional assignment. In particular, keep() and discard() use pipes badly, IMO.