joinToAvailablePackages {Require} | R Documentation |
Join a data.table with a Package
column to available.packages
Description
Will join available.packages()
with pkgDT
, if pkgDT
does not already have
a column named Depends
, which would be an indicator that this had already
happened.
Usage
joinToAvailablePackages(pkgDT, repos, type, which, verbose)
Arguments
pkgDT |
A |
repos |
is used for |
type |
See |
which |
a character vector listing the types of dependencies, a subset
of |
verbose |
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 |
Value
The returned data.table
will have most of the columns from
available.packages
appended to the pkgDT
, including Depends
, Imports
,
Suggests
. It will change the column name that is normally
returned from available.packages
as Version
to VersionOnRepos
.