Skip to content

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

Merged
yutannihilation merged 1 commit into
tidyverse:masterfrom
yutannihilation:fix/issue-4237-allow-trailing-commas
Jan 4, 2021
Merged

yutannihilation merged 1 commit into
tidyverse:masterfrom
yutannihilation:fix/issue-4237-allow-trailing-commas

Conversation

@yutannihilation

Copy link
Copy Markdown
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