makeDepGraph | R Documentation |
Given a list of CRAN-style repository URLs, this function creates a
graph
instance representing dependencies between packages in
the repositories.
makeDepGraph(repList, suggests.only = FALSE, type = getOption("pkgType"), keep.builtin = FALSE, dosize = TRUE)
repList |
a character vector of URLs pointing to CRAN-style repositories. |
suggests.only |
logical value indicating whether only the
|
type |
a character vector specifying the type of packages to
search for in the repositories. Must be one of |
keep.builtin |
logical value indicating whether or not packages
that come with a default R installation should be included in the
nodes of the dependency graph. The default, |
dosize |
logical value. When |
A graphNEL-class
instance. If the dosize
argument was
set to TRUE
, then an estimate of the download size of each
package is stored as a node attribute of the graph. A missing value
is used when the download size was not able to be determined as well
as when the RCurl package is not available.
Seth Falcon
## Not run: deps <- makeDepGraph("http://cran.fhcrc.org", type="source") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.