getRPackageInfo {RGtkViewers} | R Documentation |
This downloads the PACKAGES files from the specified repositories and reads them as a DCF file and returns the information as a list.
getRPackageInfo(mirrors = c(CRAN = contrib.url(CRAN), Omegahat = "http://www.omegahat.org/download/R/packages", BioConductor = "http://www.bioconductor.org/packages/release/distrib", ), CRAN = getOption("CRAN"), full = FALSE, ...)
mirrors |
the named list of repository URLs. These names are used to index the results |
CRAN |
the location of the CRAN mirror which is used in the default value
of mirrors . |
full |
if TRUE , this fetches all the fields from the DCF.
Otherwise, just the fields returned by CRAN.packages . |
... |
additional arguments that are passed to
download.file if full is TRUE |
A list with elements correpsonding to those
in the mirrors
argument, i.e. with the same names as that vector.
Each element is a character vector containing the lines
from the PACKAGES file for that repository.
Duncan Temple Lang <duncan@research.bell-labs.com>
http://www.omegahat.org/RGtk, http://www.omegahat.org/RGtkViewer, http://www.omegahat.org/RSDBI http://www.gtk.org