lib.package_version_loaded: Check the versions of an already loaded package.

View source: R/package_version_management.R

lib.package_version_loadedR Documentation

Check the versions of an already loaded package.

Description

This works for both packages within the R_MV_library (which are loaded) and for packages outside the library.

Usage

lib.package_version_loaded(packageNames, exclude_not_loaded = TRUE)

Arguments

packageNames

The name or a vector of names of the packages for which to obtain the version.

exclude_not_loaded

If true, the default, it will not try to find a 'loaded version' of a package that is not loaded.

Value

A named character vector with the package name(s) and it's version that is loaded.


multiversion documentation built on March 22, 2022, 1:07 a.m.