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 for revdep problem with adding NULL to theme #6296

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #6291.

Briefly it circumvents the + dispatch by using add_theme() directly.
In addition, contains a small failsafe for when theme(legend.position) is not recognised.

@teunbrand teunbrand changed the title Package box theme add Use add_theme() in Guides$package_box() Jan 22, 2025
@teunbrand teunbrand changed the title Use add_theme() in Guides$package_box() Fix for revdep problem with adding NULL to theme Jan 22, 2025
@teunbrand teunbrand changed the title Fix for revdep problem with adding NULL to theme 🚑 Fix for revdep problem with adding NULL to theme Jan 22, 2025
Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

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

LGTM

@teunbrand teunbrand merged commit aeaed9a into tidyverse:main Jan 28, 2025
13 checks passed
@teunbrand teunbrand deleted the package_box_theme_add branch January 28, 2025 12:26
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.

Adding NULL to a theme
2 participants