View source: R/getCranDescription.R
getCranDescription | R Documentation |
This is a wrapper around tools::CRAN_package_db
and may be
deprecated in future versions of the package.
getCranDescription(
pkg,
repos = getOption("repos"),
type = "source",
pkgs = pkgDep(pkg, repos = repos, type = type)
)
pkg |
Character vector of packages. |
repos |
URL(s) of the 'contrib' sections of the repositories, e.g.
|
type |
Possible values are (currently) "source", "mac.binary" and
"win.binary": the binary types can be listed and downloaded but not
installed on other platforms. Passed to |
pkgs |
Character vector of packages to download |
if (interactive()) {
getCranDescription(c("igraph", "ggplot2", "XML"),
repos = c(CRAN = getOption("minicran.mran"))
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.