diff --git a/R/estimate_predicted.R b/R/estimate_predicted.R index 6cf92133..038c4620 100644 --- a/R/estimate_predicted.R +++ b/R/estimate_predicted.R @@ -176,7 +176,9 @@ #' # Bayesian models #' \donttest{ #' if (require("rstanarm")) { -#' model <- rstanarm::stan_glm(mpg ~ wt, data = mtcars, refresh = 0, iter = 200) +#' model <- suppressWarnings(rstanarm::stan_glm( +#' mpg ~ wt, data = mtcars, refresh = 0, iter = 200 +#' )) #' estimate_response(model) #' estimate_relation(model) #' } diff --git a/man/estimate_expectation.Rd b/man/estimate_expectation.Rd index f7a220bd..663b76df 100644 --- a/man/estimate_expectation.Rd +++ b/man/estimate_expectation.Rd @@ -236,7 +236,9 @@ if (require("lme4")) { # Bayesian models \donttest{ if (require("rstanarm")) { - model <- rstanarm::stan_glm(mpg ~ wt, data = mtcars, refresh = 0, iter = 200) + model <- suppressWarnings(rstanarm::stan_glm( + mpg ~ wt, data = mtcars, refresh = 0, iter = 200 + )) estimate_response(model) estimate_relation(model) }