Skip to content

Commit

Permalink
Fix bug, missing call to arg_match()
Browse files Browse the repository at this point in the history
  • Loading branch information
aphalo committed Feb 19, 2023
1 parent dee70fd commit d15cced
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/geom-quadrant-lines.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ geom_quadrant_lines <- function(mapping = NULL,
inherit.aes = FALSE,
...) {

pool.along <- rlang::arg_match(pool.along)

stopifnot("'xintercept' must have length == 1L" = length(xintercept) <= 1,
"'yintercept' must have length == 1L" = length(yintercept) <= 1)

Expand Down

0 comments on commit d15cced

Please sign in to comment.