Closed vincentarelbundock closed 4 years ago
This should be fixed in 88ff386d; feel free to re-install and check. The problem was that there wasn't a sigma.brmsfit
method, so the sigma
call fell through to sigma.default()
, which is bogus but produces a harmless NULL
rather than an error when the model has random effects ...
Works great! Thanks a lot of the super quick fix!
This issue was first noted by @andrewheiss on Twitter.
A recent commit allowed
tidy.brmsfit
to work with models without group effects: https://github.com/bbolker/broom.mixed/commit/cd22fbd652fed8b8661e7fcbbe5cfcbdd79a8143Unfortunately,
glance.brmsfit
still does not work in github master as of https://github.com/bbolker/broom.mixed/commit/3d120888ccc54bf71518b83512d741264e3c351cThe
sigma
function fromstats
is called byglance_stan
when it is fed abrmsfit
object, but it produces the same error:In turn,
stats::sigma
seems to trigger this method, which again produces the same error message:Do you have a sense of what the best strategy to fix this would be?
Thanks!