R/assertions.R
assert_single_value.Rd
Check variable only has one unique value.
assert_single_value(x, label = deparse(substitute(x)))
value vector.
(string) label of input.
string
invisible NULL or an error message if the criteria are not fulfilled.
NULL