tests/testthat/test-data-frame.R

test_that("glance.tbl_df errors informatively", {
  expect_snapshot(error = TRUE, glance.tbl_df(tibble::tibble(x = 1)))
})

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.