From 196e5592ecbe725946747d44476a3dfbab875aee Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Wed, 22 Jan 2025 08:45:46 +0100 Subject: [PATCH] add missing dep --- DESCRIPTION | 1 + tests/testthat/test-plot.estimate_contrasts.R | 1 + 2 files changed, 2 insertions(+) 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")