Learn R Programming

switchr (version 0.14.8)

PkgManifest: PkgManifest

Description

Construct a PkgManifest, which can be installed from using install_packages

Usage

PkgManifest(
  manifest = ManifestRow(...),
  dep_repos = defaultRepos(),
  ...,
  dl_method
)

Value

a PkgManifest object.

Arguments

manifest

The manifest (data.frame) of packages and their locations

dep_repos

A list of traditional pkg repositories which can contain dependencies for the packages listed in manifest.

...

Arguments passed to ManifestRow if manifest is not specified

dl_method

Download method. Ignored unless manifest is a character scalar containing a URL to a serialized manifest

Details

If a package is found in both the manifest dataf.frame and the dependency repositories, the version in the manifest will always take precidence within the switchr framework.