Skip to contents

Check variable only has one unique value.

Usage

assert_single_value(x, label = deparse(substitute(x)))

Arguments

x

value vector.

label

(string) label of input.