Require
While these are not intended to be called manually by users, they may be of some use for advanced users.
getPkgVersions(pkgDT, install = TRUE, verbose = getOption("Require.verbose"))
In general, these functions return a data.table
with various package
information, installation status, version, available version etc.
A pkgDT data.table.
Logical or "force". If FALSE
, this will not try to install
anything. If "force"
, then it will force installation of requested
packages, mimicking a call to e.g., install.packages
. If TRUE
, the
default, then this function will try to install any missing packages or
dependencies.
Numeric or logical indicating how verbose should the function
be. If -1 or -2, then as little verbosity as possible. If 0 or FALSE,
then minimal outputs; if 1
or TRUE, more outputs; 2
even more. NOTE: in
Require
function, when verbose >= 2
, the return object will have an
attribute: attr(.., "Require")
which has lots of information about the
processes of the installs.