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