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}?"
  ))
}
tidyverse/broom documentation built on Nov. 9, 2024, 4:24 a.m.