From 226c07eaeee8172efc59a9ce43198139b236d5fe Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Sat, 9 Dec 2023 11:42:07 -0500 Subject: [PATCH] marginaleffects() was renamed slopes() --- 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 2548a98c2..92305fdd6 100644 --- a/tests/testthat/test-marginaleffects.R +++ b/tests/testthat/test-marginaleffects.R @@ -62,7 +62,7 @@ test_that("comparisons()", { chains = 1 ) ) - m <- marginaleffects::marginaleffects( + m <- marginaleffects::slopes( x, newdata = insight::get_datagrid(x, at = "Species"), variables = "Petal.Length"