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

Fix tests in advance of next ggplot2 release #42

Merged
merged 10 commits into from
Oct 13, 2022
Merged

Fix tests in advance of next ggplot2 release #42

merged 10 commits into from
Oct 13, 2022

Conversation

kelly-sovacool
Copy link
Member

@kelly-sovacool kelly-sovacool commented Oct 11, 2022

Issues

Change(s) made

  • Updated unit tests of theme_* functions to prevent test failures anticipated with ggplot2 v3.4.0. They now directly test the elements changed by our custom themes, instead of the entire theme object. This should make the tests more robust to any future changes in the ggplot2 API.
  • Currently, printing a box plot fails with tidyverse/ggplot2@v3.4.0-rc. Their unit tests also fail with the same problem, so I'm confident it'll be fixed before the release.

Checklist

(Strikethrough any points that are not applicable.)

  • [ ] Write unit tests for any new functionality.
  • [ ] Update roxygen comments & vignettes if there are any API changes.
  • [ ] Update NEWS.md if this includes any user-facing changes.
  • The check workflow succeeds on your most recent commit.

@kelly-sovacool kelly-sovacool marked this pull request as ready for review October 11, 2022 17:46
@kelly-sovacool kelly-sovacool requested review from a team and courtneyarmour and removed request for a team October 13, 2022 03:48
@kelly-sovacool kelly-sovacool merged commit 28a5e3c into main Oct 13, 2022
@kelly-sovacool kelly-sovacool deleted the iss-41 branch October 13, 2022 19:47
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.

Issues with next version of ggplot2
2 participants