installedVersions: Determine versions all installed packages
Description
This code is adapted from installed.versions.
It will be anywhere from 2x to 10x faster than the
installed.versions function.
This is also many times faster than utils::installed.packages,
especially if only a subset of "all" packages in libPath are desired
(1000x ? for the 1 package case).
Usage
installedVersions(packages, libPath)
Arguments
packages
Character vector of packages to determine which version is
installed in the libPath.
libPath
The library path where all packages should be installed, and looked for to load
(i.e., call library)