R/data-frame.R

Defines functions glance.tbl_df glance.data.frame

Documented in glance.data.frame

#' @export
glance.data.frame <- function(x, ...) {
  cli::cli_abort(c(
    "There is no {.fn glance} method for data frames.",
    "i" = "Did you mean {.fn tibble::glimpse}?"
  ))
}

#' @export
glance.tbl_df <- function(x, ...) {
  cli::cli_abort(c(
    "There is no glance method for tibbles.",
    "i" = "Did you mean {.fn tibble::glimpse}?"
  ))
}

Try the broom package in your browser

Any scripts or data that you put into this service are public.

broom documentation built on Aug. 8, 2025, 6:44 p.m.