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

El uso de .data[[var]] está obsoleto #5

Open
sebollin opened this issue Jul 27, 2023 · 0 comments
Open

El uso de .data[[var]] está obsoleto #5

sebollin opened this issue Jul 27, 2023 · 0 comments

Comments

@sebollin
Copy link

Felicitaciones por este paquete!!
Buscando una forma de hacer referencia a variables contenidas en un vector de caracteres, recibí la sugerencia de fijarme en ech.
Noté que en algunas funciones se utiliza .data[[var]] para el mismo fin y al querer utilizarlo, R arroja un warning que indica que está expresión se encuentra obsoleta y que en su lugar se puede utilizar all_of(var) o any_of(var).

Warning message:
Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0.
ℹ Please use `all_of(var)` (or `any_of(var)`) instead of `.data[[var]]`
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
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