Closed
Description
If you omit the ()
at the end of a geom, you get the following error:
library(ggplot2)
ggplot(mtcars, aes(y = mpg, group = vs)) +
geom_boxplot
#> Error: Don't know how to add geom_boxplot to a plot
I think the error would be more informative if it continued on to say "Did you mean geom_boxplot()
?"
Metadata
Metadata
Assignees
Labels
No labels