Closed
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")