mmeierer / REndo

REndo - A R package to control for endogeneity by using internal instrumental variable models
15 stars 4 forks source link

Bugfix: Latest Matrix package update breaks some multilevelIV input checks #74

Closed pschil closed 2 years ago

pschil commented 2 years ago

lme4::lFormula() does no longer fail during input checks for inputs it did before. The input is still illegal but the error only appears when actually fitting lme4::lmer(). It is caught there but the error is not reported with the standard method check_err_msg() but simply with stop(). Replace stop() with check_err_msg() and adapt tests which still checked for the old message.