[chaining] - select must come before group_by #309
In a chained dplyr (version 0.1.2) statement, the select() must come before group_by() when using multiple group by variables. Otherwise, only the last of multiple group_by() variables are used.
Reproducible example is available here:
I can confirm that putting select() before group_by() solves the issue.
The text was updated successfully, but these errors were encountered: