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

Replace deprecated ggplot2::aes_string() #629

Open
pawelru opened this issue Feb 2, 2024 · 1 comment
Open

Replace deprecated ggplot2::aes_string() #629

pawelru opened this issue Feb 2, 2024 · 1 comment

Comments

@pawelru
Copy link
Contributor

pawelru commented Feb 2, 2024

Error:
! `aes_string()` was deprecated in ggplot2 3.0.0.
ℹ Please use tidy evaluation idioms with `aes()`.
ℹ See also `vignette("ggplot2-in-packages")` for more
  information.

https://github.com/search?q=repo%3Ainsightsengineering%2Fteal.modules.general%20aes_string&type=code

@pawelru
Copy link
Contributor Author

pawelru commented Mar 8, 2024

yet another one:
trans argument of sec_axis() had been renamed into transform in 3.5.0 (this is relatively new as of date of this comment)

sec.axis = sec_axis(
trans = ~ . / nrow(data.frame(var = var)),
labels = scales::percent,
name = "proportion (in %)"
)

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