View source: R/retrievePkgVersion.R
locatePkgVersion | R Documentation |
Locate and download/build the exact version of a single package.
locatePkgVersion( name, version, pkg_manifest, param = SwitchrParam(), dir = notrack(repo), repo = NULL )
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 |
The full path to the downloaded file , or NULL if unable to locate the package
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.
Gabriel Becker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.