Check for duplicates in a vector

.check_dups(x, name = "")

Arguments

x

the vector

name

the name of the object to print in an error message if duplicates are found