Skip to content

Conversation

teunbrand
Copy link
Collaborator

@teunbrand teunbrand commented Sep 26, 2025

This PR aims to fix #6610.

It does as the title indicates.
In addition to soothing the RStudio code diagnostics, it also ensures we can add or remove arguments in the future.
Adding the ellipsis as first argument also ensures position-based arguments no longer work, which ---as discussed before--- is a good thing.

@teunbrand teunbrand added this to the ggplot2 4.0.1 milestone Oct 7, 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

Merge branch 'main' into theme_sub_ellipses

# Conflicts:
#	R/utilities.R
@teunbrand teunbrand merged commit 276c5a9 into tidyverse:main Oct 20, 2025
13 checks passed
@teunbrand teunbrand deleted the theme_sub_ellipses branch October 20, 2025 11:11
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.

Compatibility between theme_sub_* functions and RStudio’s "Check arguments to R function calls" option

2 participants