diff --git a/tests/testthat/test-check_model.R b/tests/testthat/test-check_model.R index 142e63753..d6c447d9e 100644 --- a/tests/testthat/test-check_model.R +++ b/tests/testthat/test-check_model.R @@ -111,4 +111,5 @@ test_that("`check_model()` no warnings for quasipoisson", { # Run model model1 <- glm(y ~ x + offset(log(z)), family = "quasipoisson", data = mock_data) expect_message(check_model(model1, verbose = TRUE), regex = "Not enough") + expect_silent(check_model(model1)) })