locatePkgVersion {switchr} | R Documentation |
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
)
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 |
Value
The full path to the downloaded file , or NULL if unable to locate the package
Note
Locating and attempting to install a non-current version of a single
will not work in general, due to dependency issues. In most cases a
Just-in-Time repository should be created and used instead, e.g. via
install_packages
This function is called internally during the construction of Just-in-Time repositories and during the installation of specific package versions.
Author(s)
Gabriel Becker
[Package switchr version 0.14.8 Index]