Skip to content

Avoid underscored functions - #10

Open
DavisVaughan wants to merge 1 commit into
const-ae:masterfrom
DavisVaughan:fix/dplyr
Open

Avoid underscored functions#10
DavisVaughan wants to merge 1 commit into
const-ae:masterfrom
DavisVaughan:fix/dplyr

Conversation

@DavisVaughan

Copy link
Copy Markdown

Hi there, we are working on the next version of dplyr and your package was flagged in our reverse dependency checks.

Your package uses one of the "underscored" versions of a dplyr verb, such as mutate_() rather than mutate(). These were deprecated in 2017, and are now defunct and must be removed.

dplyr will be released on January 31, 2026. If you could please send an update of your package to CRAN before then, that would help us out a lot! Thanks!

@const-ae

Copy link
Copy Markdown
Owner

Thanks for the PR. I was actually contacted by CRAN over Christmas to fix some NOTES (unrelated to dplyr's changes), and in the process also tried to fix the use of group_by_.

I used

dplyr::group_by_at(d, g)

while you are suggesting to use

dplyr::group_by(d, dplyr::pick(dplyr::all_of(g)))

Is there any advantages of one over the other?

@DavisVaughan

Copy link
Copy Markdown
Author

dplyr::group_by_at() is superseded, it is better to avoid it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants