> vars_rename(letters, A = TRUE)
Error: Must rename columns with a valid subscript vector.
x The subscript has the wrong type `logical`.
i It must be numeric or character.

> vars_rename(letters, A = 1.5)
Error: Must rename columns with a valid subscript vector.
x Lossy cast from <double> to <integer>.

> vars_rename(letters, A = list())
Error: Must rename columns with a valid subscript vector.
x The subscript has the wrong type `list`.
i It must be numeric or character.

