Help fail tidy
gracefully if model is intercept only
#702
Labels
good first issue
Good for newcomers
tidy
gracefully if model is intercept only
#702
Fitting an intercept only model, e.g.,
"Y ~ 1 | f1 + f2"
will make thetidy
method fail ungracefully because of an error inget_inference
:ValueError: diag requires an array of at least two dimensions
It would be nice to catch the intercept-only case at an earlier stage in
tidy
(or maybeget_inference
?) to avoid throwing hard-to-understand errors inget_inference
.Minimal working example:
The text was updated successfully, but these errors were encountered: