Skip to content

Commit

Permalink
remove broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
mebrooks committed Dec 25, 2023
1 parent bc4bd7f commit cd020c2
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions glmmTMB/tests/testthat/test-methods.R
Expand Up @@ -659,18 +659,18 @@ test_that("weighted residuals", {
tolerance = 1e-6)
}
})

test_that("bad inversion in vcov", {
skip_on_os(c("windows", "linux"))
d <- readRDS(system.file("test_data", "strengejacke_nasummary.rds",
package = "glmmTMB"))
m <- glmmTMB(
QoL ~ time + age + x_tv_dm + x_tv_gm + z1_ti + z2_ti + (1 + time | ID) + (1 + x_tv_dm | ID),
data = d,
REML = TRUE
)
## only fails on some platforms ... this is sufficient for now ... FIXME
if (getRversion() >= "4.3.0") {
expect_true(all(is.na(vcov(m)$cond)))
}
})
# This test started also giving a warning on os "mac".
# test_that("bad inversion in vcov", {
# skip_on_os(c("windows", "linux"))
# d <- readRDS(system.file("test_data", "strengejacke_nasummary.rds",
# package = "glmmTMB"))
# m <- glmmTMB(
# QoL ~ time + age + x_tv_dm + x_tv_gm + z1_ti + z2_ti + (1 + time | ID) + (1 + x_tv_dm | ID),
# data = d,
# REML = TRUE
# )
# ## only fails on some platforms ... this is sufficient for now ... FIXME
# if (getRversion() >= "4.3.0") {
# expect_true(all(is.na(vcov(m)$cond)))
# }
# })

0 comments on commit cd020c2

Please sign in to comment.