R/data-frame.R
raw| 1 | #' @export |
| 2 | glance.data.frame <- function(x, ...) { |
| 3 | cli::cli_abort(c( |
| 4 | "There is no {.fn glance} method for data frames.", |
| 5 | "i" = "Did you mean {.fn tibble::glimpse}?" |
| 6 | )) |
| 7 | } |
| 8 | |
| 9 | #' @export |
| 10 | glance.tbl_df <- function(x, ...) { |
| 11 | cli::cli_abort(c( |
| 12 | "There is no glance method for tibbles.", |
| 13 | "i" = "Did you mean {.fn tibble::glimpse}?" |
| 14 | )) |
| 15 | } |