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

object 'fstatistic' not found when model contains intercept only #865

stefvanbuuren opened this issue May 29, 2020 · 2 comments


Copy link

stefvanbuuren commented May 29, 2020

In trying to solve amices/mice#237 I found that broom produces an expected result when the model contains only an intercept.


# normal operation
fit1 <- lm(mpg ~ disp, data = mtcars)

# intercept only throws error: Error in eval_tidy(xs[[j]], mask) : object 'fstatistic' not found
fit0 <- lm(mpg ~ 1, data = mtcars)

Is this normal behaviour?

Copy link

simonpcouch commented May 29, 2020

Thanks for the issue! This shouldn't be the case, no. Will get started on a fix and update tests to check for this in the future.

Copy link

github-actions bot commented Mar 8, 2021

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

No branches or pull requests

2 participants