tidymodels / multilevelmod

Parsnip wrappers for mixed-level and hierarchical models
https://multilevelmod.tidymodels.org/
Other
74 stars 3 forks source link

`logistic_reg(engine = "gee")` doesn't support dot in formula #64

Open simonpcouch opened 1 month ago

simonpcouch commented 1 month ago
library(multilevelmod)
#> Loading required package: parsnip

mtcars$vs <- as.factor(mtcars$vs)
fit(logistic_reg(engine = "gee"), vs ~ ., mtcars)
#> Error in terms.formula(f, specials = "id_var"): '.' in formula and no 'data' argument

Created on 2024-05-26 with reprex v2.1.0

This seems to be due to a long-standing bug in the engine code.