DesiQuintans / librarian

Install, Update, Load Packages from CRAN, Bioconductor, and GitHub in One Step.
GNU General Public License v3.0
54 stars 1 forks source link

Possible feature: Install/load package from local directory #28

Open martinzuba opened 3 years ago

martinzuba commented 3 years ago

It would be great if librarian would allow for installation from local directories. This would facilitate management of personal packages that are not uploaded to github.

DesiQuintans commented 3 years ago

Any package that is already installed in R can be loaded by librarian. Your personal package can be loaded by name because you've already installed it while developing it. Librarian looks on your disk for matching packages before trying to install a package from online sources.

martinzuba commented 3 years ago

Hi. Thank you for your reply.

Yes, I'm aware that the personal package can be loaded by name if it is already installed. However it does not work if it is not yet installed.

I share a personal package with others, and it would be nice to be able to stock or reshelf it from (shared) local directories without uploading it to Github.

martinzuba commented 3 years ago

Would you consider a pull request that implements this feature?