-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Following this twitter thread.
labs()
uses ...
, but the name of the arguments are not checked, so this can lead to errors when passing tile =
instead of title
, or any other typo.
It would be nice for the user to have at least a warning (or an error) here:
library(ggplot2)
ggplot(iris, aes(Sepal.Length, Sepal.Width)) +
geom_point() +
labs(tile = "Title has a typo")