broom 1.0.1
- Improves performance of
tidy.lm()andtidy.glm()for full-rank fits (#1112 by@capnrefsmmat). In some contexts, execution time is halved. With broom 1.0.0:
library(broom)
system.time(
replicate(1000, tidy(lm(dist ~ speed, data = cars)))
)
#> user system elapsed
#> 1.385 0.010 1.396With this release:
system.time(
replicate(1000, tidy(lm(dist ~ speed, data = cars)))
)
#> user system elapsed
#> 0.626 0.011 0.638Created on 2022-08-30 by the reprex package (v2.0.1)
- Moves forward with deprecation of tidiers for sparse matrices outputted from the Matrix package, initially soft-deprecated in broom 0.5.0. The Matrix tidiers were light wrappers around coercion methods that will now be deprecated from Matrix itself in the upcoming 1.4-2 release. The affected methods are
tidy.sparseMatrix(),tidy.dgCMatrix(), andtidy.dgTMatrix(). Note thattidy.confusionMatrix(), for relevant objects outputted from the caret package, is unaffected (#1113). tidy.anova()works again withanovaobjects from thelme4package (broken by addition of thetermscolumn in the previous release)