Learn R Programming

yhatr (version 0.15.1)

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

Description

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

Usage

add.dependency(name, importName, src, version, install)

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