Skip to content

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