Skip to content

broom 1.0.0

Compare
Choose a tag to compare
@simonpcouch simonpcouch released this 01 Jul 11:45
· 111 commits to main since this release
507cacd

broom 1.0.0 is the first "production" release of the package, and includes a number of notable changes to both functionality and governance.

As of this release, the broom team will be following a set of guidelines that clarify the scope of further development on the package. Given the package's wide use and long history, these guidelines prioritize backward compatibility over internal consistency and completeness. You can read those guidelines here!

We've also made notable changes to error handling in this release:

  • Adds minimal ellipsis checking to warn on commonly misspecified arguments passed through ellipses. Notably:
    • tidy() methods will now warn when supplied an exponentiate argument if it will be ignored.
    • augment() methods will now warn when supplied a newdata argument if it will be ignored.
  • The warning regarding tidiers only maintained via dispatch to lm and glm
    is now displayed only once per session, per unique dispatch. That is,
    if a class_a object is tidied using a (g)lm method, broom will not
    warn when tidying class_a objects for the rest of the session, but if a
    class_b object is tidied using a (g)lm method in the same session, broom
    will warn again (#1101).

Other fixes and improvements:

  • Add exponentiate argument to tidy.boot() (#1039).
  • Update in tidy.htest() converting matrix-columns to vector-columns (#1081).
  • Address failures in tidy.glht() with conf.int = TRUE (#1103).
  • Address failures in tidy.zoo() when input data does not have colnames
    (#1080).
  • Transition tidiers for bivariate linear or spline-based interpolation---using
    list tidiers to interface with objects from the akima package is now
    considered off-label. See the interp package for a FOSS alternative.
  • Address failures in tidy.svyolr() when p.values = TRUE. Instead of aliasing
    tidy.polr() directly, tidy.svyolr() lightly wraps that method and
    warns if p.values is supplied (#1107).
  • Adds a term column and introduces support for car::lht() output in
    tidy.anova() (#1106 by @grantmcdermott).
  • Adds a dedicated glance.anova method (which previously dispatched to the
    deprecated glance.data.frame() tidier, #1106 by @grantmcdermott).

As always, thanks to the broom community for their contributions and feedback! 🧹