librarian icon indicating copy to clipboard operation
librarian copied to clipboard

Support for Renv

Open systemnova opened this issue 1 year ago • 3 comments

Really enjoying the shelf verb for package install & load. Is there any chance of deeper support to work in tandem with renv? For example some way of ensuring changes made by Librarian are picked up by renv and stored in the lockfile?

systemnova avatar Sep 17 '23 02:09 systemnova

Second this, I'm also trying to use renv and suddenly librarian is crapping itself, not finding version.

Error in eval(quote({ : object '..version..' not found
Calls: source ... local -> eval.parent -> eval -> eval -> eval -> eval

Mylaur5 avatar Sep 26 '23 16:09 Mylaur5

I will have to see if I can integrate it better with renv. My own usage of librarian has stopped because the code I write for my job has to avoid as many layers of dependencies as possible, but I recognise that this is useful for others.

DesiQuintans avatar Sep 27 '23 02:09 DesiQuintans

Update on my personal problem: it seems renv is woring fine with librarian for when I switched R project, using a classic project with R scripts.

It did not work with an RMarkdown project and I'm not sure the issue is due to renv, librarian interacting with renv or something else in my project...

Mylaur5 avatar Sep 27 '23 16:09 Mylaur5