> vec_as_names(c("x", "x"), repair = "unique")
Message: New names:
* x -> x...1
* x -> x...2

[1] "x...1" "x...2"

> vec_as_names(c("x", "x"), repair = "unique", quiet = TRUE)
[1] "x...1" "x...2"

> vec_as_names(c("x", "x"), repair = "check_unique", repair_arg = "repair")
Error: Names must be unique.
x These names are duplicated:
  * "x" at locations 1 and 2.
i Use argument `repair` to specify repair strategy.

