Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 559 Bytes
context("storing warnings, convergence status, etc.")
test_that("storewarning", {
gCtrl <- glmerControl(optimizer = "Nelder_Mead",
optCtrl = list(maxfun=3))
expect_warning(gm1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd),
data=cbpp, family=binomial, control=gCtrl),
"failure to converge in 3")
expect_equal(gm1@optinfo$warnings[[1]],"failure to converge in 3 evaluations")
## FIXME: why is conv==0 here?
You can’t perform that action at this time.