Skip to content

retire tidy.summaryDefault and glance.summaryDefault #1259

@bastistician

Description

@bastistician

5 years ago, in version 0.7.0, broom's methods for "summaryDefault" objects were deprecated in favor of skimr::skim(). I think now is a good time for the next step as these methods are likely to break in R-devel soon, when a fix for PR#18948 is committed that will change the misspelled name "NA's".
Specifically, example(summary_tidiers) will fail at

  > v2 <- c(v,NA)
  > tidy(summary(v2))
  Warning in tidy.summaryDefault(summary(v2)) :
    `tidy.summaryDefault()` is deprecated. Please use `skimr::skim()` instead.
  Error in `purrr::set_names()`:
  ! The size of `nm` (6) must be compatible with the size of `x` (7).

because the function tests for the name "NA's" (rather than the length).

Metadata

Metadata

Assignees

No one assigned

    Labels

    upkeepmaintenance, infrastructure, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions