From b7eef6a70e23e51475310aa740b46c3f8ca0ee6c Mon Sep 17 00:00:00 2001 From: "Mattan S. Ben-Shachar" Date: Wed, 18 Dec 2024 08:46:34 +0200 Subject: [PATCH] fix test --- tests/testthat/test-marginaleffects.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-marginaleffects.R b/tests/testthat/test-marginaleffects.R index 1f5fe7642..fa5463d35 100644 --- a/tests/testthat/test-marginaleffects.R +++ b/tests/testthat/test-marginaleffects.R @@ -26,7 +26,7 @@ withr::with_environment( ) expect_true(all(c("term", "contrast") %in% colnames(results))) - expect_equal(results[setdiff(colnames(results), c("term", "contrast"))], + expect_equal(results[setdiff(colnames(results), c("term", "contrast", "am"))], results_draws[setdiff(colnames(results_draws), "Parameter")], ignore_attr = TRUE )