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

Test broken with upcoming ggplot2 #129

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Test broken with upcoming ggplot2 #129

merged 1 commit into from
Jan 18, 2024

Conversation

teunbrand
Copy link
Contributor

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 tidyterra.

The gist of the breakage is that we've added layout in a different way to plots that breaks a plot equality test in tidyterra. In this PR, we remove the layouts before testing for equality.

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 tidyterra get out a fix if necessary.

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d011f4d) 99.57% compared to head (deb87c9) 99.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #129   +/-   ##
=======================================
  Coverage   99.57%   99.57%           
=======================================
  Files          44       44           
  Lines        2575     2575           
=======================================
  Hits         2564     2564           
  Misses         11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dieghernan
Copy link
Owner

Thanks for the PR, I would try to send a new release to CRAN early next week.

@dieghernan dieghernan merged commit 39c4f79 into dieghernan:main Jan 18, 2024
14 checks passed
@teunbrand teunbrand deleted the ggplot2_3.5.0 branch January 18, 2024 14:23
@teunbrand
Copy link
Contributor Author

Thanks for the prompt response!

@dieghernan
Copy link
Owner

Just to confirm, running on my machine

remotes::install_github("tidyverse/ggplot2", ref = remotes::github_pull("5592"))
devtools::check(cran = TRUE, manual = TRUE)

gives

── R CMD check results ─────────────────────────── tidyterra 0.5.1.9000 ────
Duration: 13m 9.2s

0 errors ✔ | 0 warnings ✔ | 0 notes ✔

@teunbrand
Copy link
Contributor Author

Good, that soothes the soul :)

@dieghernan dieghernan mentioned this pull request Jan 19, 2024
16 tasks
@dieghernan
Copy link
Owner

HI @teunbrand

tidyterra 0.5.2 is already on CRAN, I checked once again and no hiccups:

remotes::install_github("tidyverse/ggplot2", ref = remotes::github_pull("5592"))
devtools::check(cran = TRUE, manual = TRUE)

@teunbrand
Copy link
Contributor Author

Awesome, that is quick!

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