prior_install: Install prior version of a package.

Description Usage Arguments Value See Also Examples

Description

prior_install will install a prior version of a package from source. prior_install will first check that the version supplied exists by querying for the tar.gz file from the CRAN archive. If the tar.gz file exists, it will attempt to install it.

Usage

1
prior_install(pkg, pkg_version, cainfo = NULL, ...)

Arguments

pkg

Character vector of the package to install.

pkg_version

Character vector of the package version to install.

cainfo

Character vector of the file path to a CA file, e.g., ca-bundle.crt.

...

List of options to pass install.packages.

Value

There is no return as the function is called for its side effects.

See Also

Examples

1
2
3
4
## Not run: 
prior_install(pkg = "pkgKitten", pkg_version = "0.1.0")

## End(Not run)

curtisalexander/CRAmisc documentation built on May 14, 2019, 12:52 p.m.