Releases: tidymodels/broom
broom 1.0.10
- Resolves an R CMD check WARNING related to namespacing on
r-devel (pre-4.6.0, #1255).
broom 1.0.9
-
Increased minimum required R verison to 4.1.
-
Resolved errors with the 2.0.85 update of the epiR package.
broom 1.0.8
Deprecations
- Removed tidiers for objects from the orcutt package as it was archived from
CRAN 4 months prior to the package release.
Minor Improvements
-
tidy.coeftestnow returns non-NAvalues forconf.lowandconf.highfor
a model fitted with only a constant term and cluster robust std errors
computed usingvcovCLfromsandwich(#1227). -
Added support for new column name in lme4 ANOVA output. (lme4 tidiers are
technically supplied by broom.mixed, but intermediate output is routed through
broom'stidy.anova()method) (#1239).
Miscellaneous
broom 1.0.7
-
Corrected
nobsentries inglance.coxph()output: the package used to
returnlength(object$linear.predictors)(equal tonrather thannevent)
and now uses survival's method (#1224). -
Corrected confidence interval values in
tidy.boot()and addressed errors
when bootstrapping confidence intervals for multiple terms (#1212). -
Reverted deprecation of tidiers for objects from the margins package
now that the package is back on CRAN (#1220). -
Addressed failure in
tidy.anova()ahead of upcoming car
release (#1215). -
Clarified documentation for a number of cases where dots were
documented as unused but actually passed to internal functions
(#1214). -
Addressed error in
augment.betareg()andaugment.betamfx()
withdata = NULLand non-nullnewdata(#1216, #1218). -
glance.lm()now returns non-NAvalues forstatistic,p.value, anddf
for models fitted with a single predictor and no intercept (@jrob95, #1209).
broom 1.0.6
New Features
-
Added support for
conf.levelinaugment.lm()(#1191 by@zietzm). -
Added support for columns
adj.r.squaredandnparinglance()method for objects outputted frommgcv::gam()(#1172).
Deprecations
-
Soft-deprecated tidiers for margins objects, as the package was archived from CRAN in April 2024. In the case that the package is back on CRAN before the next package release, broom will once again Suggest and test support for the package (#1200).
-
Moved forward with deprecation of tidiers for objects from the sp package. See resources linked in tidymodels/broom#1142 for more information on migration from retiring spatial packages.
Bug Fixes
-
While this broom release contains no changes to the
tidy.survfit()method for objects from the survival package, the package has bumped the minimum required version for survival. Before survival 3.6-4,tidy.survfit()propagated "inconsistent"n.censorvalues from survival for multi-state models (#1195). -
Corrected confidence interval values for precision components in
tidy.betareg()output (#1169). -
Fixed bug in tidier for
car::linearHypothesis()output with long formulas (#1171). -
Corrected coefficient values in
tidy.varest()output (#1174).
broom 1.0.5
-
tidy.coxph()will now pass its ellipses...tosummary()internally (#1151 by@ste-tuf). -
Transitioned the deprecation of the
regionargument totidy.SpatialPolygonsDataFramefrom a warn- to a hard-deprecation (#1142). -
Removed maptools and rgeos as Suggested packages ahead of their retirement. sp tidiers will be removed from a future release of the package (#1142).
-
Addressed bug in mlogit tidiers where
augment.mlogit()would fail if supplied a model fitted with a non-defaultdfidx()(#1156 by@gregmacfarlane). -
Addressed bug in ANOVA tidiers where
tidy.anova()would fail if passed a model with many predictors (#1159 by@jwilliman). -
Addressed warnings in ANOVA tidiers for unrecognized column names
Resid..Df,Resid..Dev, andDeviance; those columns will be renameddf.residual,residual.deviance, anddeviance, respectively (#1159 by@jwilliman).
broom 1.0.4
- Added an
interceptargument totidy.aov(), a logical indicating whether to include information on the intercept as the first row of results (#1144 by@victor-vscn). - Moved forward with soft-deprecation of tidiers for objects from the sp package ahead of the retirement of the rgeos and maptools packages later this year. sp tidiers will be removed from a future release of the package (#1142).
- Fixed bug in
augment.glm()where the.std.residcolumn always contained standardized deviance residuals regardless of the value passed to thetype.residualsargument (#1147).
broom 1.0.3
- Addressed test failures on R-devel.
- Fixed bug in
tidy.multinom()where theconf.levelargument would be ignored.
broom 1.0.2
- Fixed a bug where
augment()results would not include residuals when the response term included a function call (#1121, #946, #937, #124). - The default
dataargument foraugment.coxph()andaugment.survreg()has been transitioned fromNULLtomodel.frame(x)(#1126 by@capnrefsmmat). - Migrated 'ggplot2' from strong to weak dependency, i.e. moved from
ImportstoSuggests.
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)