Skip to content

Commit

Permalink
suppress remaining message
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Mar 31, 2023
1 parent 69c0ca0 commit 1ff1e20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-check_convergence.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ if (requiet("lme4")) {
cbpp$x <- rnorm(nrow(cbpp))
cbpp$x2 <- runif(nrow(cbpp))

model <- suppressWarnings(glmer(
model <- suppressMessages(suppressWarnings(lme4::glmer(
cbind(incidence, size - incidence) ~ period + x + x2 + (1 + x | herd),
data = cbpp,
family = binomial()
))
)))

test_that("check_convergence", {
expect_true(check_convergence(model))
Expand Down

0 comments on commit 1ff1e20

Please sign in to comment.