-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix ggplot2 update #252
Fix ggplot2 update #252
Conversation
You should be fine if you set 3.4.0 as the minimum required version for ggplot2 in Line 50 in 5b6cd5f
|
My concern would be that it forces people to update to the newest version without a fundamental need. Do you think that is a problem? |
1 similar comment
My concern would be that it forces people to update to the newest version without a fundamental need. Do you think that is a problem? |
No, I think it's perfectly fine. There is a fundamental need to update: to stop using deprecated options. This is very different from the case where we require a minimum R version. Updating an R package shouldn't be problem for most users while updating R is almost impossible in some very restricted environments. |
Makes sense. Warning (test-plot_predictions.R:93): plot_predictions() works without median But I think that is an issue with ggdist and I guess we just have to wait for them to address it. This is our call to geom_lineribbon, and I don't see any usage of
|
Codecov Report
@@ Coverage Diff @@
## master #252 +/- ##
=======================================
Coverage 91.32% 91.32%
=======================================
Files 22 22
Lines 1361 1361
=======================================
Hits 1243 1243
Misses 118 118
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
huh, interesting - they fail on my machine, but not in CI. well then.. Merging! |
version 3.4.0 of ggplot2 deprecated the use of "size" in
geom_line()
and similar.The problem is that I think in older version you can't use linewidth and it will error. So not sure when the best moment is to switch.
Also I think the tests generate lots of warnings due to the same issue in the ggdist pacakge. @Bisaloo do you have an idea about what the best thing forward would be?