With dplyr 1.1.0 being released this week, I expected more questions/observations.
Maybe everyone held off or tested extensively on pre-release versions
My feedback FWIW:
- I hit the new warnings way more than I expected
- First I hit the join warning when multiple matches are made. My initial to the reaction to the release notes had been that SQL didn't see fit to warn so why should dplyr. But in fact it has been useful to review those joins and make sure 1->Many was intended. Hopefully I have deduplicated all of my data but at least this warning will help me pick up on any new ones. And now my code makes explicit what is expected.
- And still on joins: I like the new "use join_by(x)" message to encourage use of the new helper function rather than just by. Though for extra credit I'd ask to keep the preceding comma so that you can copy/paste it in without having to type the comma.
- I am getting a few "Returning more (or less) than 1 row per
summarise()
group was deprecated in dplyr 1.1.0" - typically on empty tibbles/dataframes (>0 columns but 0 rows). I could do without those. And I can't see which line they are from with lifecycle::last_lifecycle_warnings()