Since StatsModels 0.6.28 (released a few days ago) you should get a more informative error message in these situations
https://github.com/JuliaStats/StatsModels.jl/pull/248
Since StatsModels 0.6.28 (released a few days ago) you should get a more informative error message in these situations
https://github.com/JuliaStats/StatsModels.jl/pull/248