In trying to solve amices/mice#237 I found that broom 0.7.0.9000 produces an expected result when the model contains only an intercept.
library(broom)
# normal operation
fit1 <- lm(mpg ~ disp, data = mtcars)
glance(fit1)
# intercept only throws error: Error in eval_tidy(xs[[j]], mask) : object 'fstatistic' not found
fit0 <- lm(mpg ~ 1, data = mtcars)
glance(fit0)
Is this normal behaviour?
In trying to solve amices/mice#237 I found that
broom 0.7.0.9000produces an expected result when the model contains only an intercept.Is this normal behaviour?