R/tibble_shim.R

Defines functions as_tibble

# Avoid depending on tibble but provide nice printing for people who have it
as_tibble <- function(x) {
  class(x) <- c('tbl_df', 'tbl', class(x))
  x
}
thomasp85/lime documentation built on Aug. 19, 2022, 5 p.m.