forked from andrie/miniCRAN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetCranDescription.Rd
29 lines (25 loc) · 1000 Bytes
/
getCranDescription.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getCranDescription.R
\name{getCranDescription}
\alias{getCranDescription}
\title{Scrape DESCRIPTION from CRAN for each pkg.}
\usage{
getCranDescription(pkg, repos = getOption("repos"), type = "source",
pkgs = pkgDep(pkg, repos = repos, type = type))
}
\arguments{
\item{pkg}{Character vector of packages.}
\item{repos}{URL(s) of the 'contrib' sections of the repositories, e.g. \code{"http://cran.us.r-project.org"}. Passed to \code{\link{available.packages}}}
\item{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 \code{\link{download.packages}}.}
\item{pkgs}{Character vector of packages to download}
}
\description{
Scrape DESCRIPTION from CRAN for each pkg.
}
\examples{
\dontrun{
getCranDescription(c("igraph", "ggplot2", "XML"),
repos = c(CRAN = "http://mran.microsoft.com")
)
}
}