Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unhelpful error if engine is miss-specified for extension packages #1110

Open
EmilHvitfeldt opened this issue Apr 10, 2024 · 0 comments
Open
Labels
bug an unexpected problem or unintended behavior

Comments

@EmilHvitfeldt
Copy link
Member

EmilHvitfeldt commented Apr 10, 2024

gml instead of glm

library(poissonreg)
#> Loading required package: parsnip

spec <- poisson_reg() %>% 
  set_engine("gml") %>%
  set_mode("regression")

fit(spec, gear ~ ., data = mtcars)
#> Error in `fit()`:
#> ! formula_ is unknown.

Created on 2024-04-09 with reprex v2.1.0

@EmilHvitfeldt EmilHvitfeldt added the bug an unexpected problem or unintended behavior label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant