Skip to content

Commit

Permalink
Fix typo (#5340)
Browse files Browse the repository at this point in the history
Add `ymax` instead of `ymin` twice
  • Loading branch information
fkohrt authored Jun 29, 2023
1 parent 23508b3 commit 2a7ca74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/position-stack.R
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ stack_var <- function(data) {
"y"
} else {
cli::cli_warn(c(
"Stacking requires either the {.field ymin} {.emph and} {.field ymin} or the {.field y} aesthetics",
"Stacking requires either the {.field ymin} {.emph and} {.field ymax} or the {.field y} aesthetics",
"i" = "Maybe you want {.code position = \"identity\"}?"
))
NULL
Expand Down

0 comments on commit 2a7ca74

Please sign in to comment.