When providing an obviously dumb name for a new column containing rownames, .name_repair doesn't appear to check the name of the new column against existing columns
as_tibble(data.frame(a = 1:5), rownames = "a", .name_repair = "unique")
# A tibble: 5 × 2
a a
<chr> <int>
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
To my understanding, this should spit the following message and output as the names
vctrs::vec_as_names(c("a", "a"), repair = "unique")
New names:
* a -> a...1
* a -> a...2
[1] "a...1" "a...2"