Learn R Programming

switchr (version 0.14.8)

locatePkgVersion: locatePkgVersion

Description

Locate and download/build the exact version of a single package.

Usage

locatePkgVersion(
  name,
  version,
  pkg_manifest,
  param = SwitchrParam(),
  dir = notrack(repo),
  repo = NULL
)

Value

The full path to the downloaded file , or NULL if unable to locate the package

Arguments

name

package name

version

package version string

pkg_manifest

A manifest containing locations to search for the package

param

A SwitchrParam object

dir

directory to download package into

repo

(optional) GRANRepository object to search

Author

Gabriel Becker