Description Usage Arguments Details Value
Builds a package from your pipeline
1 2 3 4 | build_model_package(trained_pipeline, package_name = "deploymodel",
libraries = names(utils::sessionInfo()$otherPkgs),
tar_file = "deploy.tar.gz", extra_variables = character(0),
may_overwrite_tar_file = F, verbose = F)
|
trained_pipeline |
The model function from |
package_name |
The name of the package |
libraries |
A list of library names required by the package. Defaults to all loaded non-base packages |
tar_file |
The name and path of the final tarred package |
extra_variables |
A character vector of variables names to be included in the package. Used to include extra fuctions and variables in the packages
that are not contained in any of the packages listed in |
may_overwrite_tar_file |
Flag indicating if, when |
verbose |
Flag indicating if devtools functions should print anything. |
A tip for finding out which libraries you need: start with just datapiper, build the package and check the output of building the package. It will display which functions you use that aren't included yet.
A logical: TRUE for success and FALSE for failure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.