Closed shabbychef closed 1 year ago
Thanks for the excellent bug report. I was able to reproduce the error you saw. I had not tested the methods with weighted models, so I'm glad you caught it.
I committed a fix and associated tests (73c9fda4be6e0f44641f7d5df6ee0f2e4e272972). You can try the development version of the package now with devtools::install_github("bertcarnell/tornado")
or wait for me to post to CRAN. It usually takes multiple days for me to go through the whole release process, so I recommend trying the development version.
Submitted to CRAN today and tagged as v0.1.2
First, thanks for the package.
When attempting to use
importance
with weighted glms, I get an error claiming an "Unexpected Internal error". A MWE:Looking in the debugging trace, it seems the problem is in
.create_tab_summary
, wherevar_final
has valuec("disp", "(weights)")
, whereasrownames(model_add1) = c("<none>", "disp")
.