You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
libPaths
are not properly parsed into the rscript's library calls when using anrenv
project.The function
list_loaded_pkgs
attempts to parse package directory information passed fromsessionInfo()
, 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?The text was updated successfully, but these errors were encountered: