tests/testthat/test-robust-glmrob.R

test_that("augment.glmRob errors informatively", {
  x <- structure(1L, class = "glmRob")
  expect_snapshot(error = TRUE, augment(x))
})
tidymodels/broom documentation built on Nov. 11, 2024, 7:34 a.m.