-
Notifications
You must be signed in to change notification settings - Fork 31
Description
In a setting where I have two package libraries, one with sessioninfo (and its dependencies) installed (A) and another (B) with an arbitrary set of packages installed (which might include some packages that are also included in A, but potentially in differing versions), I would now like to run sessioninfo::package_info(pkgs = "installed") but only on library B.
This distinction between "host" library (A) and "client" library (B) currently is unsupported because lib.loc passed on to utils::packageDescription() is fixed to .libPaths() in
Line 63 in ec1ebd1
| desc <- lapply(pkgs$package, pkg_desc, lib.loc = .libPaths()) |
Would you be open to maybe exposing this as an argument to sessioninfo::package_info()? Or is this besides the point for what sessioninfo is intended to provide? This might also require some thought as to what this means exactly for pkgs != "installed", and flags "P" and "V".