Skip to content

Conversation

teunbrand
Copy link
Contributor

@teunbrand teunbrand commented Jan 30, 2025

Hi there,

Apologies for not posting an issue first.
The ggplot2 package is planning an update for around May 2025 and a reverse dependency test (tidyverse/ggplot2#6287) has shown that the next version of ggplot2 is incompatible with inTextSummaryTable.
This PR makes a few changes that fixes compatibility, which you can test yourself with the development version of ggplot2 (pak::pak("tidyverse/ggplot2")).

Best,
Teun

Comment on lines -154 to -157
sizePoint = GeomPoint$default_aes$size,
sizeLine = GeomLine$default_aes$size,
sizeLabel = GeomText$default_aes$size,
widthErrorBar = GeomErrorbar$default_aes$width,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are now mostly dynamic instead of static values, so you can't read them out directly anymore. The easiest thing is to just put fixed values here.

@teunbrand teunbrand changed the title Compatibility with ggplot2 3.6.0 Compatibility with ggplot2 4.0.0 Jun 16, 2025
@teunbrand
Copy link
Contributor Author

This is just a kind reminder that we intend to release the next version of ggplot2 in a few weeks.

@lcougnaud lcougnaud merged commit 20766cc into openanalytics:master Sep 3, 2025
@lcougnaud
Copy link
Member

Thanks a lot for the update & correction to the code! The fixes will be included in the next version of the package (3.3.4).

@teunbrand
Copy link
Contributor Author

Great, thank you!

@teunbrand teunbrand deleted the update_ggplot_360 branch September 3, 2025 21:23
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.

2 participants