dbosak01 / libr

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

Adding engine="rda" to LIBNAME function, engine="Rdata" does not work for .rda files #131

Closed Mia-data closed 1 year ago

Mia-data commented 1 year ago

It is an ENHANCENT request rather than an issue but I have not idea how to change a label on Github (I am a newbe, any tips?).

To the point - could you add "rda" value to engine argument of the libname function, please? I mean: libname(name, directory_path, engine="rda") Theare are multiple extension of the same file such as: rda, RDA, Rdata. It would be great if the engine argument could accept all of them (handling case sensitity).

I tried to use engine="Rdata" to load my rda files but it didn't work. It doesn't see any items. Thank you in advance! {libr} is an awesome package taht wouls help a lot in my projects.

dbosak01 commented 1 year ago

Thanks for your feedback. It is a simple change. I'll put this in the next release.

Mia-data commented 1 year ago

Awesome! Thank you

dbosak01 commented 1 year ago

This is done and will be on CRAN by Sept 10th. In the meantime, you can download from GitHub.

devtools::install_github('https://github.com/dbosak01/libr')