getRPackageInfo {RGtkViewers}R Documentation

Fetch information about R packages from a repository

Description

This downloads the PACKAGES files from the specified repositories and reads them as a DCF file and returns the information as a list.

Usage

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, ...)

Arguments

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

Value

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.

Author(s)

Duncan Temple Lang <duncan@research.bell-labs.com>

References

http://www.omegahat.org/RGtk, http://www.omegahat.org/RGtkViewer, http://www.omegahat.org/RSDBI http://www.gtk.org

See Also

CRANView

Examples



[Package RGtkViewers version 0.7-4 Index]