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

Update for new ggplot2 release #309

Merged
merged 3 commits into from Jan 17, 2024
Merged

Update for new ggplot2 release #309

merged 3 commits into from Jan 17, 2024

Conversation

teunbrand
Copy link
Contributor

@teunbrand teunbrand commented Jan 16, 2024

Hello there,

We have been preparing a new release of ggplot2 and during a reverse dependency check, it became apparent that the prospective ggplot2 3.5.0 would break bayesplot.

This PR updates the legend_move() function to deal with the incoming changes.
Additionally, it removes the deprecated use of legend.text.align and facet_grid(facet = ...).

To test the code changes with the release candidate, you can install it with the code below:

remotes::install_github("tidyverse/ggplot2", ref = remotes::github_pull("5592"))

The release of ggplot2 3.5.0 is scheduled for the 12th of February. The progress of the release can be tracked in tidyverse/ggplot2#5588. We hope that this PR might help bayesplot get out a fix if necessary.

@avehtari avehtari requested a review from jgabry January 17, 2024 08:14
@jgabry
Copy link
Member

jgabry commented Jan 17, 2024

Thank you for the heads up and the pull request!

@jgabry
Copy link
Member

jgabry commented Jan 17, 2024

These changes look good and everything is passing for me locally (using both the current ggplot2 and the release candidate). The GHA failures are unrelated so I will go ahead and merge this. Thanks again!

@jgabry jgabry merged commit b1ef699 into stan-dev:master Jan 17, 2024
0 of 6 checks passed
@teunbrand
Copy link
Contributor Author

Thanks for the swift response!

@jgabry
Copy link
Member

jgabry commented Jan 30, 2024

I just submitted the bayesplot update to CRAN. If there are no issues (and I didn't find any issues checking reverse dependencies) then it should be on CRAN in plenty of time to avoid anything breaking with the ggplot2 release.

@teunbrand
Copy link
Contributor Author

Great, thanks for checking 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

Successfully merging this pull request may close these issues.

None yet

2 participants