assert_unit: Checks if unit or number 0-1
Description
Checks if unit or number 0-1
Assert that its a string or number
Assert valid color
Usage
assert_unit(var, allow_missing = TRUE)assert_label(var, allow_missing = TRUE)
assert_just(var, allow_missing = TRUE)
Arguments
- var
Variable 2 check
- allow_missing
Allow missing variables