From ca28f720ad498f16a171e27b423af8e166896faa Mon Sep 17 00:00:00 2001 From: Joseph Larmarange Date: Mon, 1 Jul 2024 17:40:50 +0200 Subject: [PATCH] update test --- tests/testthat/test-attach_and_detach.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-attach_and_detach.R b/tests/testthat/test-attach_and_detach.R index 058ecb9b..1aeadbfa 100644 --- a/tests/testthat/test-attach_and_detach.R +++ b/tests/testthat/test-attach_and_detach.R @@ -2,7 +2,7 @@ test_that("Attach and Detach models works", { mod <- lm(Sepal.Length ~ Sepal.Width + Species, data = iris) expect_identical( mod, - mod %>% tidy_and_attach() %>% tidy_get_model() + mod %>% tidy_and_attach(model_matrix_attr = FALSE) %>% tidy_get_model() ) tb <- broom::tidy(mod) @@ -33,3 +33,4 @@ test_that("tidy_and_attach() handles models without exponentiate arguments", { expect_error(mod %>% tidy_and_attach(exponentiate = TRUE)) expect_error(mod %>% tidy_and_attach(), NA) }) +