Skip to content

Allow trailing commas in guides() and labs() #4240

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

Conversation

yutannihilation
Copy link
Member

Fix #4237

devtools::load_all("~/repo/ggplot2")
#> Loading ggplot2

labs(x = "x", )
#> $x
#> [1] "x"
#> 
#> attr(,"class")
#> [1] "labels"
guides(x = "x", )
#> $x
#> [1] "x"
#> 
#> attr(,"class")
#> [1] "guides"

Created on 2020-10-15 by the reprex package (v0.3.0)

@yutannihilation yutannihilation merged commit c70ef2a into tidyverse:master Jan 4, 2021
@yutannihilation yutannihilation deleted the fix/issue-4237-allow-trailing-commas branch January 4, 2021 05:18
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.

labs should ignore trailing comma
2 participants