Checks if the input object only contains numeric values.
all_are_numeric(x, .xname = get_name_in_parent(x))assert_all_are_numeric(x, severity = getOption("assertive.severity",
"stop"))
An R object or expression.
Not intended to be used directly.
How severe should the consequences of the assertion be?
Either "stop", "warning", "message", or "none".
all_are_numeric returns TRUE if x contains only
numeric values.The assert_* function throws an error on failure.