diff --git a/DESCRIPTION b/DESCRIPTION index b532e8613..b9c45864f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -91,6 +91,7 @@ Suggests: lavaan, lme4, logspline, + marginaleffects, MASS, mclogit, mclust, diff --git a/tests/testthat/test-plot.estimate_contrasts.R b/tests/testthat/test-plot.estimate_contrasts.R index b9e88e856..bd9855059 100644 --- a/tests/testthat/test-plot.estimate_contrasts.R +++ b/tests/testthat/test-plot.estimate_contrasts.R @@ -1,6 +1,7 @@ test_that("`plot.see_estimate_contrasts()` works", { skip_if_not_installed("rstanarm") skip_if_not_installed("emmeans") + skip_if_not_installed("marginaleffects") model <- stan_glm(Sepal.Width ~ Species, data = iris, refresh = 0) contrasts <- modelbased::estimate_contrasts(model, contrast = "Species")