.installed.pkgs | R Documentation |
installed.packages
This reads the DESCRIPTION files only, so can only access fields that are
available in the DESCRIPTION file. This is different than installed.packages
which has many other fields, like "Built", "NeedsCompilation" etc. If those
fields are needed, then this function will return an empty column in the returned
character matrix.
.installed.pkgs(
lib.loc = .libPaths(),
which = c("Depends", "Imports", "LinkingTo"),
other = NULL,
purge = getOption("Require.purge", FALSE),
packages = NULL,
collapse = FALSE
)
lib.loc |
character vector describing the location of R library trees to
search through, or |
which |
a character vector listing the types of dependencies, a subset
of |
other |
Can supply other fields; the only benefit here is that a user
can specify |
purge |
Logical. Should all caches be purged? Default is
Internally, there are calls to |
packages |
Character vector. If |
collapse |
Logical. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.