#' @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}?"
))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.