Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 15, 2024
1 parent 6d37157 commit d3ba94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-estimate_means.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d3ba94f

Please sign in to comment.