| pkgAvail {miniCRAN} | R Documentation |
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.
pkgAvail(repos = getOption("repos"), type = "source",
Rversion = R.version, quiet = FALSE)
repos |
URL(s) of the 'contrib' sections of the repositories, e.g. |
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 |
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 |