Skip to content

Commit

Permalink
function name change
Browse files Browse the repository at this point in the history
  • Loading branch information
topepo committed Oct 19, 2024
1 parent 55f6ad5 commit 1f28395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/checks.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ check_value_order <- function(low, high, target = NULL, call) {
invisible(NULL)
}

is_vector_args <- function(values, d, call) {
check_vector_args <- function(values, d, call) {
if (!is.vector(values) || !is.numeric(values)) {
cli::cli_abort("{.arg values} should be a numeric vector.", call = call)
}
Expand Down
2 changes: 1 addition & 1 deletion R/computations.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
range [0, 1].", call = call)
}
check_numeric(x, call = call)
is_vector_args(values, d, call = call)
check_vector_args(values, d, call = call)

ord <- order(values)
values <- values[ord]
Expand Down

0 comments on commit 1f28395

Please sign in to comment.