There seems to be a clash between the pipe notation as implemented in dplyr and the double colon notation. I didn't find anything about it in the documentation.
This works:
base::mean(1:10)
This doesn't:
1:10 %>% base::mean
It works after parenthesizing though:
1:10 %>% (base::mean)
It could be made a bit more prominent in the docs.
@ipofanes commented on Nov 8, 2018, 9:22 AM UTC:
There seems to be a clash between the pipe notation as implemented in dplyr and the double colon notation. I didn't find anything about it in the documentation.
This works:
This doesn't:
It works after parenthesizing though:
It could be made a bit more prominent in the docs.
This issue was moved by romainfrancois from tidyverse/dplyr#3958.