PkgManifest: PkgManifest

View source: R/AllClasses.R

PkgManifestR Documentation

PkgManifest

Description

Construct a PkgManifest, which can be installed from using install_packages

Usage

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

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.

Value

a PkgManifest object.


switchr documentation built on March 31, 2023, 5:13 p.m.