Skip to content

Commit 2a7ca74

Browse files
authored
Fix typo (#5340)
Add `ymax` instead of `ymin` twice
1 parent 23508b3 commit 2a7ca74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/position-stack.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ stack_var <- function(data) {
256256
"y"
257257
} else {
258258
cli::cli_warn(c(
259-
"Stacking requires either the {.field ymin} {.emph and} {.field ymin} or the {.field y} aesthetics",
259+
"Stacking requires either the {.field ymin} {.emph and} {.field ymax} or the {.field y} aesthetics",
260260
"i" = "Maybe you want {.code position = \"identity\"}?"
261261
))
262262
NULL

0 commit comments

Comments
 (0)