Private function that adds a package to the list of dependencies that will be installed on the ScienceOps server
1 | add.dependency(name, importName, src, version, install)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.