Learn R Programming

switchr (version 0.14.8)

makePkgCheckout: Create a checkout of a package and all it's dependencies from a manifest

Description

Create a checkout of a package and all it's dependencies from a manifest

Usage

makePkgCheckout(
  pkgs,
  pkg_manifest,
  dir,
  get_suggests = c("none", "first", "all"),
  param = SwitchrParam(),
  scm_auths = list(bioconductor = c("readonly", "readonly")),
  repos = defaultRepos()
)

Value

a character vector of all packages (incl. recursive dependnecies) checked out into dir

Arguments

pkgs

character - The packages you will be working on

pkg_manifest

Pkgmanifest|SessionManifest - The manifest containing the pkgs and dependencies to checkout

dir

character - The directory in which to place the checkouts of packages

get_suggests

character - Should 'Suggests' dependencies be retrieved? Options are "none" (never), "first" (for packages in pkgs but not for dependencies, or "all" (always).

param

SwitchrParam - The SwitchrParam to use during the checkout process,

scm_auths

list - A named list of user-password pairs to use during the checkout process

repos

character - The package repositories to retrieve dependnecy information from for pkgs/dependnecies which do not appear in pkg_manifest