-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
libPaths are not properly parsed into the rscript's library calls when using an renv project.
The function list_loaded_pkgs attempts to parse package directory information passed from sessionInfo(), which for renv projects using a cache is the base directory of the cache (which does not have a library tree structure), rather than the project specific renv libPath (which is a library tree with symlinks to the cached packages).
Is there a particular reason why the libPaths variable is not respected when loading packages from the parent environment?
I have forked the repo and made a change here to ensure that the library calls always respect the specified libPaths variable. Is there a situation where this is not desirable?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels