We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e9e2ae commit a7665daCopy full SHA for a7665da
R/geom-.R
@@ -227,7 +227,7 @@ Geom <- ggproto("Geom",
227
required_aes <- unlist(strsplit(self$required_aes, '|', fixed = TRUE))
228
}
229
optional_aes <- self$optional_aes
230
- if (length(optional_aes) > 1) {
+ if (length(optional_aes) > 0) {
231
deprecate_soft0(
232
"4.0.0",
233
I("The `optional_aes` field"),
R/stat-.R
@@ -214,7 +214,7 @@ Stat <- ggproto("Stat",
214
215
216
217
218
219
220
0 commit comments