dbosak01 / libr

An R package to create data libraries and data dictionaries.
27 stars 1 forks source link

Allow libname() to accept a variable as library name #92

Closed dbosak01 closed 3 years ago

dbosak01 commented 3 years ago

User requests that the libname() function can accept a variable as a library name. It doesn't work because it is doing deparse(substitute()) on the name parameter. Will probably have to add a new parameter to allow the user to pass a variable instead of the actual name.

dbosak01 commented 3 years ago

Added parameter standard_eval to libname() and lib_copy() functions. Added code to each of the other library manipulation function to detect if the user is passing a string or a library and handle it appropriately.