Passed vector error with select_

Hey R Users,

I have been using this select_ command using following syntax select_(df,"'independent_variable'").It worked perfectly fine.

Now, it started to throw me the following error:

Error in set names(x,value) :
Passed a vector  of type 'integer'. Needs to be type 'character'

Any ideas folks?

Thanks in advance.

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one: