You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the issue! This is indeed a bug. I think we're due for a good push on mgcv docs and infrastructure, hopefully soon than later—a fix for this will come then.
I was able to work around the issue by removing the call to stack_workflow(). That function appears to just create a 'minimal' workflow from an existing workflow, and I think it drops objects for the formula which are required.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
It does not seem to be possible to use a gam model with workflowset.
When using a gam model in a workflowset, the custom formula is specified using the formula argument of
workflowsets::update_workflow_model()
However stack_workflow() only uses extract_spec_parsnip() and extract_preprocessor() so it never saves the custom formula into the candidate.
The text was updated successfully, but these errors were encountered: