Skip to content

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