diff --git a/R/summarize_dcpo_results.R b/R/summarize_dcpo_results.R index e137442..e7d25f6 100644 --- a/R/summarize_dcpo_results.R +++ b/R/summarize_dcpo_results.R @@ -8,7 +8,7 @@ #' @param probs a numeric vector of quantiles of interest; the default is c(.1, .9) #' #' @examples -#' \dontrun{ +#' \donttest{ #' out1 <- dcpo(demsup_data, #' chime = FALSE, #' chains = 1, diff --git a/man/dcpo.Rd b/man/dcpo.Rd index 1734ba4..f3ea580 100644 --- a/man/dcpo.Rd +++ b/man/dcpo.Rd @@ -27,9 +27,10 @@ additional options; \code{stan} defaults reset by \code{dcpo} are \code{seed = 3 \code{cores = min(stan_args$chains, parallel::detectCores()/2),} and \code{control <- list(adapt_delta = 0.99, stepsize = 0.005, max_treedepth = 14)} } \examples{ - +\donttest{ out1 <- dcpo(demsup_data, chains = 1, iter = 300) # 1 chain/300 iterations for example purposes only; use defaults +} } diff --git a/man/summarize_dcpo_results.Rd b/man/summarize_dcpo_results.Rd index f12b15e..2a6a3ed 100644 --- a/man/summarize_dcpo_results.Rd +++ b/man/summarize_dcpo_results.Rd @@ -27,7 +27,7 @@ a tibble \code{summarize_dcpo_results} is a convenience function that produces summary statistics of the main parameters of a DCPO stanfit object along with the relevant identifying information (country, year, question, and cutpoint). } \examples{ -\dontrun{ +\donttest{ out1 <- dcpo(demsup_data, chime = FALSE, chains = 1,