Workflow Target
tar_workflow(name, ..., tar_args = list())
name | Name of target |
---|---|
... | Functions piped to from |
tar_args | Arguments passed to |
A tar_target
object.
if (FALSE) { list( # `x` is some template data frame tar_recipe( make_recipe, V1 ~ V2 + V3, data = x ), # Creating a model tar_model( make_model_rf, rand_forest, set_mode("regression"), set_engine("ranger"), tar_args = list(format = "qs") ), # Creating the workflow tar_workflow( make_workflow_rf, workflows::add_model(make_model_rf), workflows::add_recipe(make_recipe) ) ) }