Skip to content

Conversation

@DavisVaughan
Copy link
Contributor

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

Your package does one of two things:

  • It re-exports dplyr::id(), which has been defunct for many years and has now been removed from dplyr.

  • It references a column named id, likely in a mutate() or summarise(), but does not note this as a global variable with utils::globalVariables("id"). In this case, you got lucky that dplyr exported id(), meaning that you did not need a global variable for "id". Since we have removed dplyr::id(), your package will need this now.

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!

@martinctc
Copy link
Member

Thanks @DavisVaughan - will resolve this and send to CRAN.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses an upcoming breaking change in dplyr by adding "id" to the package's global variables list. The change ensures the package will pass R CMD check after dplyr removes the defunct id() function in its upcoming release on January 31, 2026.

Changes:

  • Added "id" to the utils::globalVariables() declaration in R/globals.R

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@martinctc
Copy link
Member

Package uploaded to CRAN - will merge upon confirmation of acceptance.

@martinctc martinctc self-requested a review January 19, 2026 09:34
@martinctc
Copy link
Member

Final version accepted to CRAN. Merging into main now!

@martinctc martinctc merged commit e8f0f07 into microsoft:main Jan 19, 2026
1 check passed
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