pkgsnap (version 1.0.0)

cran_file: Get a list of candidate URLs for a certain version of a package

Description

Get a list of candidate URLs for a certain version of a package

Usage

cran_file(package, version, type = get_pkg_type(),
  r_minor = r_minor_version(), cran_mirror = default_cran_mirror)

Arguments

package

Name of the package, e.g. jsonlite.

version

Version number of the package, as a string, e.g. 1.0.0.

type

Package type, e.g. binary, source, etc. See the type argument of utils::install.packages.

r_minor

The minor R version to search for packages for. Defaults to the currently running R version.

Value

Character vector or URLs.