From d3ba94fbf1ee84695e6ec5e4fc3625016626e931 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 15 Dec 2024 18:24:37 +0100 Subject: [PATCH] fix --- tests/testthat/test-estimate_means.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-estimate_means.R b/tests/testthat/test-estimate_means.R index bd32d692..d0346b91 100644 --- a/tests/testthat/test-estimate_means.R +++ b/tests/testthat/test-estimate_means.R @@ -145,7 +145,7 @@ test_that("estimate_means() - lm", { expect_equal(estim1$CI_low, estim2$CI_low, tolerance = 1e-3) estim1 <- suppressMessages(estimate_means(model, by = "Sepal.Width=c(2, 4)")) - estim1 <- suppressMessages(estimate_means(model, by = "Sepal.Width=c(2, 4)"), backend = "marginaleffects") + estim1 <- suppressMessages(estimate_means(model, by = "Sepal.Width=c(2, 4)", backend = "marginaleffects")) expect_identical(dim(estim1), c(2L, 5L)) expect_identical(dim(estim2), c(2L, 5L)) expect_equal(estim1$Mean, estim2$Mean, tolerance = 1e-4)