Learn R Programming

miniCRAN (version 0.2.4)

getCranDescription: Scrape DESCRIPTION from CRAN for each pkg.

Description

Scrape DESCRIPTION from CRAN for each pkg.

Usage

getCranDescription(pkg, repos = getOption("repos"), type = "source", path,
  pkgs = pkgDep(pkg, repos = repos, type = type))

Arguments

pkg
Character vector of packages.
repos
URL(s) of the 'contrib' sections of the repositories, e.g. "http://cran.us.r-project.org". Passed to available.packages
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 download.packages.
path
Destination download path. This path is the root folder of your new repository.
pkgs
Character vector of packages to download

Examples

Run this code
getCranDescription(c("igraph", "ggplot2", "XML"), 
  repos=c(CRAN="http://cran.revolutionanalytics.com")
)

Run the code above in your browser using DataLab