needs_session | R Documentation |
Resolves the dependent packages required to reproduced the current R session, for an installed R package, or a package source tree/tarball.
needs_session(which = c("Depends", "Imports", "LinkingTo")) needs(pkg, which = c("Depends", "Imports", "LinkingTo")) ## S3 method for class 'needs' print(x, ...)
pkg |
character; a package name (currently ignored). |
which |
logical; what dependencies should be looked
for. See argument of same name in
|
x |
an R object of class |
... |
additional arguments passes to
|
TODO
A list of class "needs"
with five components
basePkgs |
a character vector of the base R packages (including recommended ones) dependencies |
depends |
a data frame of packages depended upon, i.e. loaded and attached. |
imports |
a data frame of packages imported, i.e. those packages whose namespaces have been loaded. |
other |
a data frame of additional
dependencies, arising from a recursive search of the
dependencies of packages listed in the |
r |
R version info,
currentl as returned by |
Gavin L. Simpson \
needs() needs(which = "Depends")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.