R: Reads available packages from CRAN repository.

pkgAvail {miniCRAN} | R Documentation

## Reads available packages from CRAN repository.

### Description

This is a thin wrapper around `utils::available.packages()`. If the argument `path` is supplied, then the function attempts to read from a local repository, otherwise attempts to read from a CRAN mirror at the `repos` url.

### Usage

    pkgAvail(repos = getOption("repos"), type = "source",
      Rversion = R.version, quiet = FALSE)

### Arguments

`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()`.
`Rversion` | Version of R. Can be specified as a character string with the two digit R version, e.g. "3.1". Defaults to R.version
`quiet` | If TRUE, suppresses warnings

### See Also

`pkgDep()`

[Package miniCRAN version 0.2.10 Index]