Hard-errors if the combination of key columns is duplicated. A small
composable primitive used by check_schema and reusable by bespoke
checkers (e.g. a conjoint check_conjoint).
See also
Other schema assertions:
assert_no_labelled(),
assert_schema(),
check_schema()
Examples
assert_key_unique(data.frame(resp_id = 1:3), key = "resp_id")