pkgAvail | 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 (only used if
|
quiet |
If TRUE, suppresses warnings |
pkgDep()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.