-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Next Release: 3.3.2 #3871
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
Comments
Thanks.
Does this mean we are going to release the code based on the current master? |
If we can avoid merging in big new features the next month, then yes. I feel this is obviously simpler and the RC approach is mostly when we don't want to slow down development while ironing out a big release. If the need arise we will move to an RC branch but only if necessary |
Sure, sounds good. I just wondered we might have already merged big features, but it seems not the case. But @clauswilke might want #3659 to be merged earlier. |
No, master is pretty clean atm. There are some big PRs ready, so if there is a strong need to merge them in we’ll switch to the standard RC workflow |
I'm Ok with not merging #3659 for now. I think a minor release is the right approach. Every time we introduce major features (like we did for 3.3.0), we have to assume some things went wrong and we'll need a bug-fix release shortly after. We should just get into this cadence of always preparing for a minor release after a major release. I do want to get #3864 done, though. I feel this fell through the cracks and was not completed for 3.3.0. |
I agree on #3864 - that was an oversight from us |
It seems some v3.3.0 milestones are left open. Don't we need to care about them? |
Hi Team... I've been away from ggplot2 for a while as I've worked on more lower level stuff. I'll be devoting some more time the near future with the goal of getting this patch release out of the door |
Team. I think we are at the point were there are PRs addressing all the tagged issues for 3.1.1. Can everyone look into reviewing their requested PRs and finishing off their own. If we can get this wrapped up I'll run revdepchecks in next week and (assuming nothing pops up) make a release shortly after |
Thanks @thomasp85! If there's anything that still needs a reviewer feel free to tag me. I know I haven't been very active of late, but am happy to help. |
I'll try to finish things off over the weekend. I'm going to tag #4004 for 3.3.1, because it would be best to fix it now as part of the general overhaul of contour plotting. |
All issues has been closed and all PRs merged. I'll start the release process. Thanks to everyone for helping fix regressions from 3.3.0 |
@clauswilke we have a revdepcheck failure related to the GeomFunction rewrite — can you have a look? RBesT
Run Newly broken
In both
|
Taking a look. Their code is really cryptic, so it's a bit of a challenge to figure out what's going on. |
completely agree — let me know if you hit a dead end |
I think this is the problem, and it'll be easy to fix. May not get to it till tomorrow, though. library(ggplot2)
df <- data.frame(x = c(-5, 5), f = "2*x+3")
ggplot(df, aes(x, color = f)) +
stat_function(fun = ~ 2*.x+3) # this should work
ggplot() +
stat_function(aes(x, color = f), fun = ~ 2*.x+3, data = df)
#> Warning: `data` is not used by stat_function()
#> Error in FUN(X[[i]], ...): object 'x' not found Created on 2020-05-20 by the reprex package (v0.3.0) |
No rush if you haven't got time today — I'll be working on the remaining revdepcheck failures anyway |
PR #4016 should fix the RBesT issue. |
@clauswilke there's another geom_function related revdep failure. As far as I can see it the new behaviour is correct, but it brakes two packages. In short, CGPfunctions
Run Newly broken
metagen
Run Newly broken
|
I have set a release date two weeks into the future since there are a couple of reverse dependencies that needs minor fixing in their unit tests. I'll be opening issues in the relevant packages detailing fixes |
@clauswilke the infer failure turns out to also be related to the new function implementation infer
Run Newly broken
It's a bit hidden, but the issue lies in the unexpected |
@thomasp85 CGPfunctions uses a pattern such as the following: x <- rnorm(100)
ggplot() +
aes(x) +
geom_density() +
stat_function(fun = dnorm) I don't think we should encourage that. It's just wrong. They just need to feed in the data as data frame, like so, and everything works fine: ggplot(data.frame(x = x)) +
aes(x) +
geom_density() +
stat_function(fun = dnorm) I'll check the other packages. I'm not sure what the consequence will be of not inheriting aesthetics. It seems right in principle, but it would probably require another revdep check. I'll see if the ggplot2 unit tests pass with that change. |
I agree with your assessment. If the remaining issues also comes from bad practice we’ll just ask them to change it |
The next one is interesting. metagen uses a pattern of the form: qplot(c(0, 1), c(0, 0), geom = "blank") +
stat_function(fun = dnorm) So apparently |
Not inheriting aesthetics makes this unit test fail: ggplot2/tests/testthat/test-stat-function.R Lines 58 to 67 in 323af07
It's such an obscure test that I wonder whether we can sacrifice this behavior? If somebody actually uses this pattern, they could just turn inheriting aesthetics back on. |
Actually, here is why we can't just set library(ggplot2)
df <- data.frame(numbers = 1:100)
ggplot(df, aes(x = numbers)) +
geom_function(fun = identity, inherit.aes = TRUE) ggplot(df, aes(x = numbers)) +
geom_function(fun = identity, inherit.aes = FALSE) Created on 2020-05-25 by the reprex package (v0.3.0) |
Ok, here's my summary of what's going on with
I propose to leave the current |
Sounds great. Can I get you to open issues seeing as you’re the best to describe the problem and a fix? If you are short on time I’ll do it |
Yes, I can do it, no problem. |
Thank you. I'll correct my mistake. Your release is in about 2 weeks? |
@ibecav Yes, two weeks. |
Change made, submitted to CRAN and apparently accepted. Thank you again for the heads-up. |
Just an FYI, I'll be doing Avery minor patch release to CRAN today, fixing the infamous extension site links. This is on request by CRAN. This means that this release will be bumped to 3.3.2 |
I'll begin the release process |
There are still two issues in the reverse dependencies. One of them says that a fix has been submitted, and the other one is a failure on my part to properly inform them. I'll wait until friday and then release. Thanks for all the patience |
Just for information, this change about Rd ref warnings might affect the new submission. r-lib/roxygen2#707 (comment) |
I tried to submit friday but got hit with the issues @yutannihilation mentioned (they didn't show up when checking on win-level so I thought they might have backtracked... We will wait until beginning next week when roxygen2 hopefully have a full fix |
Thomas, what's the status of the current master branch? Is it frozen for release or do you have a release branch and master is open for commits? |
It is frozen for a day or two more (had hoped for releasing Friday but the doc problems got to me). If you have the need you are free to create an rc branch but it should all be over in the beginning of next week |
I too hoped so as CRAN daily check also doesn't show any warnings... |
No problem, I'll refrain from merging anything until after the release. Just wanted to know where we stand. |
@thomasp85
|
If #4062 is good to go lets just merge that. We’ll need to figure out a path forward to make sure we don’t regress until roxygen2 has been updated proper |
Sure. I think #4062 is ready to merge, if the goal is to pass the CRAN check as there's no warnings anymore. But, since r-lib/roxygen2#1109 is not merged yet, we can wait for a while to see if there's any update on the fix. |
ggplot2 v3.3.2 has been released. Thank you everyone for your contributions and work on this and for the patience during the release process. It took a bit longer than anticipated due partly to breaking revdeps and changes in CRAN. We will have a considerable release break now, so at your own leisure it is a good time to work on bigger features or refactors Have a good weekend! |
One thing I forgot to mention. With this release I've taken over as the formal maintainer of ggplot2. This does not mark any change at all to the governance structure of our team, but merely reflects that I'm the one taking care of releases and thus has to communicate with CRAN |
Well-deserved! |
Thanks for all your hard work, Thomas! One issue I wanted to raise for the next release: Should the next version be 4.0 instead of 3.4? With the various major refactorings we have planned, this might be appropriate. |
I think it is too early to say. My experience tells me that not all planned features will make it so let’s just wait and see what state we’re in come release. I have no problem doing a major version bump if it is indeed warranted |
Hi Core team (@hadley, @yutannihilation, @clauswilke, @paleolimbot, @karawoo)
We (me and Hadley) have discussed having a new small release in the not too distant future. This should mainly address regressions in 3.3.0 (probably some issues around bi-directional detection now that it is in the wild), a few performance improvements, and getting the TDD PRs getting folded in.
This means that if we have larger feature PRs we should hold off getting them merged in before a discussion in this thread. If we can avoid working off an RC branch it could be great but if it stands in the way of someones work we'll do that so feature PRs can get merged in...
Please use the new 3.3.1 milestone to tag issues and PRs
The text was updated successfully, but these errors were encountered: