add.dependency: Private function that adds a package to the list of...

Description Usage Arguments

Description

Private function that adds a package to the list of dependencies that will be installed on the Promote server

Usage

1
2
add.dependency(name, importName, src, version, install, auth_token, ref,
  subdir)

Arguments

name

name of the package to be installed

importName

name under which the package is imported (for a github package, this may be different from the name used to install it)

src

source that the package is installed from (CRAN or github)

version

version of the package

install

whether or not the package should be installed in the model image

auth_token

a personal access token for github or gitlab repositories

ref

The git branch, tag, or SHA of the package to be installed

subdir

The path to the repo subdirectory holding the package to be installed


promote documentation built on May 2, 2019, 2:59 p.m.