Skip to content

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

Open
@EmilHvitfeldt

Description

@EmilHvitfeldt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions