Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.data$ has been deprecated for some dplyr functions #306

Closed
dblodgett-usgs opened this issue Oct 16, 2022 · 2 comments
Closed

.data$ has been deprecated for some dplyr functions #306

dblodgett-usgs opened this issue Oct 16, 2022 · 2 comments

Comments

@dblodgett-usgs
Copy link
Collaborator

dblodgett-usgs commented Oct 16, 2022

For some reason, dplyr::select, dplyr::rename, and tidyr::unnest now throw deprecation warnings for the .data$attribute rather than using bare variables. I'm really not clear on all the nuances behind tidyselect but these only need to be changed for select and rename -- arrange, filter, group_by, etc. do not work with the change to surrounding the attribute name in "attribute"

https://community.rstudio.com/t/use-of-data-in-tidyselect-expressions-is-now-deprecated/150092 talks about it a bit and this issue is where it was implemented: r-lib/tidyselect#169

Seems silly, but I guess I'll go through an change all the instances of this to avoid all the warnings that are going to start cropping up for users.

@dblodgett-usgs
Copy link
Collaborator Author

https://dplyr.tidyverse.org/articles/programming.html now describes this situation better -- it appears to have been redeployed in the last few days.

@dblodgett-usgs
Copy link
Collaborator Author

Taken care of in #302

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

No branches or pull requests

1 participant