Confirm that a value is greater than another value
Usage
assert_number_between(
x,
...,
na.ok = FALSE,
len = 1,
.var.name = checkmate::vname(x)
)Arguments
- x
[
any]
Object to check.- ...
Passed to
assert_numeric_between()- na.ok
[
logical(1)]
Are missing values allowed? Default isFALSE.- len
Ignored (must be 1)
- .var.name
[
character(1)]
Name of the checked object to print in assertions. Defaults to the heuristic implemented invname.