Validates that x is a single non-negative integer value (>= 0). NA values are rejected.
Usage
assert_non_negative_integer(x, arg = deparse(substitute(x)))Validates that x is a single non-negative integer value (>= 0). NA values are rejected.
assert_non_negative_integer(x, arg = deparse(substitute(x)))