diff --git a/vignettes/bayestestR.Rmd b/vignettes/bayestestR.Rmd index b755f4ca0..fe351ac4c 100644 --- a/vignettes/bayestestR.Rmd +++ b/vignettes/bayestestR.Rmd @@ -18,7 +18,8 @@ knitr::opts_chunk$set( message = FALSE ) -if (!requireNamespace("bayestestR", quietly = TRUE) || +if (requireNamespace("bayestestR", quietly = TRUE) || + !requireNamespace("httr", quietly = TRUE) || # needed for `insight::download_model()` !requireNamespace("rstanarm", quietly = TRUE) || !requireNamespace("ggplot2", quietly = TRUE) || !requireNamespace("brms", quietly = TRUE) || diff --git a/vignettes/parameters.Rmd b/vignettes/parameters.Rmd index c8296ce90..78ef25d1e 100644 --- a/vignettes/parameters.Rmd +++ b/vignettes/parameters.Rmd @@ -22,7 +22,7 @@ knitr::opts_chunk$set( if (!requireNamespace("factoextra", quietly = TRUE) || !requireNamespace("NbClust", quietly = TRUE) || !requireNamespace("mclust", quietly = TRUE) || - !requireNamespace("httr", quietly = TRUE) || + !requireNamespace("httr", quietly = TRUE) || # needed for `insight::download_model()` !requireNamespace("glmmTMB", quietly = TRUE) || !requireNamespace("lme4", quietly = TRUE) || !requireNamespace("brms", quietly = TRUE) ||