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

🚑 Give default value to Guides$build(theme) #6304

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix an issue identified in #6287.

Briefly, some packages implement ggplot_build() methods. We added a theme argument to Guides$build(), which is now causing complaints about missing arguments in reverse dependencies. This PR provides a fallback for when the extension's ggplot_build() method does not support the new guide building yet.

@teunbrand teunbrand changed the title Give default value to Guides$build(theme) 🚑 Give default value to Guides$build(theme) Jan 23, 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 6e0664b into tidyverse:main Jan 28, 2025
13 checks passed
@teunbrand teunbrand deleted the fallback_guide_build_theme branch January 28, 2025 13:21
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