ggplot2 icon indicating copy to clipboard operation
ggplot2 copied to clipboard

stage() should show a bit friendlier warning when used without after_stat and after_scale

Open yutannihilation opened this issue 3 years ago • 0 comments

library(ggplot2)

ggplot(mpg, aes(class, hwy)) +
  geom_boxplot(aes(fill = stage(class)))
#> Error in uq_expr[[3]]: subscript out of bounds

Created on 2022-06-13 by the reprex package (v2.0.1)

yutannihilation avatar Jun 13 '22 14:06 yutannihilation