Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jan 7, 2024
1 parent 4600b07 commit d01e1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-performance_aic.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ test_that("performance_aic lme4 default", {
expect_equal(performance_aic(m1), AIC(m1), tolerance = 1e-2)
expect_equal(performance_aic(m1, estimator = "ML"), 125.0043, tolerance = 1e-2)
m2 <- lme4::lmer(Sepal.Length ~ Petal.Length + (1 | Species), data = iris, REML = FALSE)
expect_equal(performance_aic(m2, estimator = "REML"), AIC(m2), tolerance = 1e-2)
expect_equal(performance_aic(m2, estimator = "REML"), 128.0054, tolerance = 1e-2)
expect_message(performance_aic(m2), regex = "was not fitted")
})

0 comments on commit d01e1ed

Please sign in to comment.