Skip to content

Commit 814bb3d

Browse files
committed
reduce example time
1 parent f791f30 commit 814bb3d

8 files changed

+16
-10
lines changed

R/bayesplot-colors.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@
8484
#' y <- example_y_data()
8585
#' yrep <- example_yrep_draws()
8686
#' ppc_stat(y, yrep, stat = "mean") + legend_none()
87-
#'
87+
#' \donttest{
8888
#' color_scheme_set("mix-teal-pink")
8989
#' ppc_stat(y, yrep, stat = "sd") + legend_none()
9090
#' mcmc_areas(x, regex_pars = "beta")
91-
#'
91+
#' }
9292
#' ###########################
9393
#' ### custom color scheme ###
9494
#' ###########################

R/bayesplot-package.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@
8989
#' y <- example_y_data()
9090
#' yrep <- example_yrep_draws()
9191
#' ppc_dens_overlay(y, yrep[1:50, ])
92-
#'
92+
#' \donttest{
9393
#' color_scheme_set("pink")
9494
#' ppc_stat(y, yrep, stat = "median") + grid_lines()
9595
#' ppc_hist(y, yrep[1:8, ])
96+
#' }
9697
#'
9798
NULL

R/mcmc-diagnostics.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,15 @@
6161
#'
6262
#' color_scheme_set("green")
6363
#' mcmc_acf(x, pars = c("alpha", "beta[1]"))
64+
#' \donttest{
6465
#' color_scheme_set("pink")
6566
#' (p <- mcmc_acf_bar(x, pars = c("alpha", "beta[1]")))
6667
#'
6768
#' # add tick marks on y axis and horiztonal dashed line at 0.5
6869
#' p +
6970
#' yaxis_ticks() +
7071
#' hline_at(0.5, linetype = 2, size = 0.15, color = "gray")
71-
#'
72+
#' }
7273
#'
7374
#' # fake rhat values to use for demonstration
7475
#' rhat <- c(runif(100, 1, 1.15))

R/mcmc-distributions.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@
5656
#' # histograms of some parameters
5757
#' color_scheme_set("pink")
5858
#' mcmc_hist(x, pars = c("alpha", "beta[2]"))
59+
#' \donttest{
5960
#' mcmc_hist(x, pars = "sigma", regex_pars = "beta")
60-
#'
61+
#' }
6162
#' # example of using 'transformations' argument to plot log(sigma),
6263
#' # and parsing facet labels (e.g. to get greek letters for parameters)
6364
#' mcmc_hist(x, transformations = list(sigma = "log"),

man/MCMC-diagnostics.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/MCMC-distributions.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/bayesplot-colors.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/bayesplot-package.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)