yhat.library {yhatr} | R Documentation |
Import one or more libraries and add them to the Yhat model's dependency list
yhat.library(name, src = "CRAN", version = NULL, user = NULL,
install = TRUE)
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. |
## 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)