You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating a plot recently, I accidentally left out the mapping. When running the code, I got an uninformative error indicating that the mapping was missing. Can the errors for missing mappings be improved to indicate something similar to "No mapping provided for required aesthetic 'x'" (and similar)?
library(ggplot2)
ggplot(data.frame(A=1)) +
geom_line()
#> Error in order(data$PANEL, data$group, data$x): argument 3 is not a vector