diff --git a/tests/testthat/test-performance_aic.R b/tests/testthat/test-performance_aic.R index dedfb58b8..b9db63087 100644 --- a/tests/testthat/test-performance_aic.R +++ b/tests/testthat/test-performance_aic.R @@ -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") })