From a587f2b69ace55e5f1edb1b3ec39daee9d0aad4c Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 11 Aug 2023 11:49:57 +0200 Subject: [PATCH] check if effects pkg is available --- vignettes/plot_marginal_effects.Rmd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vignettes/plot_marginal_effects.Rmd b/vignettes/plot_marginal_effects.Rmd index 5c9b6f51..f7553ab4 100644 --- a/vignettes/plot_marginal_effects.Rmd +++ b/vignettes/plot_marginal_effects.Rmd @@ -30,6 +30,8 @@ options(width = 800, tibble.width = Inf) if (!requireNamespace("sjmisc", quietly = TRUE) || !requireNamespace("splines", quietly = TRUE) || + !requireNamespace("ggeffects", quietly = TRUE) || + !requireNamespace("effects", quietly = TRUE) || !requireNamespace("ggplot2", quietly = TRUE) || !requireNamespace("haven", quietly = TRUE) || !requireNamespace("sjlabelled", quietly = TRUE)) {