Code
add_model(workflow(), 1)
Condition
Error in `add_model()`:
! `spec` must be a `model_spec`.
Code
add_model(workflow, mod)
Condition
Error in `add_model()`:
! `spec` must have a known mode.
i Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
Code
add_model(workflow, mod)
Condition
Error in `add_model()`:
! parsnip could not locate an implementation for `bag_tree` regression model specifications.
i The parsnip extension package baguette implements support for this specification.
i Please install (if needed) and load to continue.
Code
workflow(spec = mod)
Condition
Error in `add_model()`:
! parsnip could not locate an implementation for `bag_tree` regression model specifications.
i The parsnip extension package baguette implements support for this specification.
i Please install (if needed) and load to continue.
Code
add_model(workflow, mod)
Condition
Error in `add_model()`:
! A `model` action has already been added to this workflow.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.