
Check Numeric Values
check_numbers(x, expected = c("positive", "whole", "odd", "even"), ...)check_constant(x)
A numeric
object to be checked.
An appropriate expected value.
Throw an error, if any.
Other check: check-attribute
,
check-graph
, check-matrix
,
check-missing
, check-type