> vars_rename(letters, A = TRUE)
Error: Must rename columns with a valid subscript vector.
x 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 Can't convert from <double> to <integer> due to loss of precision.

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

