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

Outdated stat_regline_equation? #623

Open
hinkyisme opened this issue Jan 15, 2025 · 0 comments
Open

Outdated stat_regline_equation? #623

hinkyisme opened this issue Jan 15, 2025 · 0 comments

Comments

@hinkyisme
Copy link

When plotting Population by Year, using what ggplot2 seems to consider an old syntax, this is the message I get. It seems we just need to have the new label for reglines updated. Thanks for everything!

ggscatter(water, x = "Population", y = "Year", add = "reg.line", ylab = "Population Size (millions)", main = "Population by Year") + stat_regline_equation(aes(label = paste(..adj.rr.label.., sep = "~~~~")))
Warning message:
The dot-dot notation (..adj.rr.label..) was deprecated in ggplot2 3.4.0.
ℹ Please use after_stat(adj.rr.label) instead.
ℹ The deprecated feature was likely used in the ggpubr package.
Please report the issue at https://github.com/kassambara/ggpubr/issues.
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