Skip to content

Commit

Permalink
Update R/encode_unit.R
Browse files Browse the repository at this point in the history
  • Loading branch information
hfrick authored Sep 20, 2024
1 parent 44ea368 commit 65b7796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/encode_unit.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ encode_unit.quant_param <- function(x, value, direction, original = TRUE, ...) {
}

if (!is.numeric(value) || is.matrix(value)) {
cli::cli_abort("`value` should be a numeric vector.")
cli::cli_abort("{.arg value} should be a numeric vector.")
}

param_rng <- x$range$upper - x$range$lower
Expand Down

0 comments on commit 65b7796

Please sign in to comment.