yhat.library: Import one or more libraries and add them to the Yhat model's...

Description Usage Arguments Examples

View source: R/yhatR.R

Description

Import one or more libraries and add them to the Yhat model's dependency list

Usage

1
2
yhat.library(name, src = "CRAN", version = NULL, user = NULL,
  install = TRUE)

Arguments

name

name of the package to be added

src

source from which the package will be installed on ScienceOps (github or CRAN)

version

version of the package to be added

user

Github username associated with the package

install

Whether the package should also be installed into the model on the ScienceOps server; this is typically set to False when the package has already been added to the ScienceOps base image.

Examples

1
2
3
4
5
6
7
8
## Not run: 
yhat.library("MASS")
yhat.library(c("wesanderson", "stringr"))
yhat.library("cats", src="github", user="hilaryparker")
yhat.library("hilaryparker/cats")
yhat.library("my_proprietary_package", install=FALSE)

## End(Not run)

yhatr documentation built on May 30, 2017, 8:12 a.m.

Related to yhat.library in yhatr...