diff --git a/R/estimate_contrasts.R b/R/estimate_contrasts.R index f5aed15b..6832cb28 100644 --- a/R/estimate_contrasts.R +++ b/R/estimate_contrasts.R @@ -58,7 +58,7 @@ #' data <- mtcars #' data$cyl <- as.factor(data$cyl) #' data$am <- as.factor(data$am) -#' \dontrun{ +#' \donttest{ #' model <- stan_glm(mpg ~ cyl * am, data = data, refresh = 0) #' estimate_contrasts(model) #' estimate_contrasts(model, fixed = "am") diff --git a/R/visualisation_recipe.estimate_slopes.R b/R/visualisation_recipe.estimate_slopes.R index 8c327244..028e981b 100644 --- a/R/visualisation_recipe.estimate_slopes.R +++ b/R/visualisation_recipe.estimate_slopes.R @@ -20,7 +20,7 @@ #' x <- estimate_slopes(model, at = c("Sepal.Width", "Species")) #' plot(visualisation_recipe(x)) #' } -#' \dontrun{ +#' \donttest{ #' # TODO: fails with latest emmeans (1.8.0) #' if (require("mgcv")) { #' data <- iris diff --git a/man/estimate_contrasts.Rd b/man/estimate_contrasts.Rd index 250bf016..4a3ea4b2 100644 --- a/man/estimate_contrasts.Rd +++ b/man/estimate_contrasts.Rd @@ -164,7 +164,7 @@ library(rstanarm) data <- mtcars data$cyl <- as.factor(data$cyl) data$am <- as.factor(data$am) -\dontrun{ +\donttest{ model <- stan_glm(mpg ~ cyl * am, data = data, refresh = 0) estimate_contrasts(model) estimate_contrasts(model, fixed = "am") diff --git a/man/visualisation_recipe.estimate_predicted.Rd b/man/visualisation_recipe.estimate_predicted.Rd index 67082639..ed31185f 100644 --- a/man/visualisation_recipe.estimate_predicted.Rd +++ b/man/visualisation_recipe.estimate_predicted.Rd @@ -271,7 +271,7 @@ if (require("ggplot2")) { x <- estimate_slopes(model, at = c("Sepal.Width", "Species")) plot(visualisation_recipe(x)) } -\dontrun{ +\donttest{ # TODO: fails with latest emmeans (1.8.0) if (require("mgcv")) { data <- iris