Validates that the value contains whole numbers. By default accepts both
integer and numeric types as long as all values are whole
(x == floor(x)). Set strict = TRUE to require the R integer type.
See also
Other type checks:
require_character(),
require_df(),
require_logical(),
require_numeric()