From e1659ae2616006a9612623ef8232cddf94453b22 Mon Sep 17 00:00:00 2001 From: jgabry Date: Wed, 1 Aug 2018 13:57:14 -0400 Subject: [PATCH] shorten package check time (requested by CRAN) --- DESCRIPTION | 4 ++-- vignettes/children/SETTINGS-knitr.txt | 3 ++- vignettes/graphical-ppcs.Rmd | 2 ++ vignettes/plotting-mcmc-draws.Rmd | 2 ++ vignettes/visual-mcmc-diagnostics.Rmd | 2 ++ 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 39ceee1d..0a9993c9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: bayesplot Type: Package Title: Plotting for Bayesian Models Version: 1.6.0 -Date: 2018-07-27 +Date: 2018-08-01 Authors@R: c(person("Jonah", "Gabry", role = c("aut", "cre"), email = "jsg2201@columbia.edu"), person("Tristan", "Mahr", role = "aut"), person("Paul-Christian", "Bürkner", role = "ctb"), @@ -18,7 +18,7 @@ License: GPL (>= 3) LazyData: TRUE URL: http://mc-stan.org/bayesplot BugReports: https://github.com/stan-dev/bayesplot/issues/ -SystemRequirements: pandoc +SystemRequirements: pandoc (>= 1.12.3), pandoc-citeproc Depends: R (>= 3.1.0) Imports: diff --git a/vignettes/children/SETTINGS-knitr.txt b/vignettes/children/SETTINGS-knitr.txt index 4ef1ba8a..af8f2aad 100644 --- a/vignettes/children/SETTINGS-knitr.txt +++ b/vignettes/children/SETTINGS-knitr.txt @@ -8,6 +8,7 @@ knitr::opts_chunk$set( fig.width = 5, out.width = "60%", fig.align = "center", - comment = NA + comment = NA, + eval = params$EVAL ) ``` diff --git a/vignettes/graphical-ppcs.Rmd b/vignettes/graphical-ppcs.Rmd index c9043f88..a9d71624 100644 --- a/vignettes/graphical-ppcs.Rmd +++ b/vignettes/graphical-ppcs.Rmd @@ -6,6 +6,8 @@ output: rmarkdown::html_vignette: toc: true toc_depth: 3 +params: + EVAL: !r identical(Sys.getenv("NOT_CRAN"), "true") vignette: > %\VignetteIndexEntry{Graphical posterior predictive checks} %\VignetteEngine{knitr::rmarkdown} diff --git a/vignettes/plotting-mcmc-draws.Rmd b/vignettes/plotting-mcmc-draws.Rmd index 14c6a532..49fa347f 100644 --- a/vignettes/plotting-mcmc-draws.Rmd +++ b/vignettes/plotting-mcmc-draws.Rmd @@ -6,6 +6,8 @@ output: rmarkdown::html_vignette: toc: true toc_depth: 3 +params: + EVAL: !r identical(Sys.getenv("NOT_CRAN"), "true") vignette: > %\VignetteIndexEntry{Plotting MCMC draws} %\VignetteEngine{knitr::rmarkdown} diff --git a/vignettes/visual-mcmc-diagnostics.Rmd b/vignettes/visual-mcmc-diagnostics.Rmd index 186a4cff..e6bb6c59 100644 --- a/vignettes/visual-mcmc-diagnostics.Rmd +++ b/vignettes/visual-mcmc-diagnostics.Rmd @@ -6,6 +6,8 @@ output: rmarkdown::html_vignette: toc: true toc_depth: 3 +params: + EVAL: !r identical(Sys.getenv("NOT_CRAN"), "true") vignette: > %\VignetteIndexEntry{Visual MCMC diagnostics} %\VignetteEngine{knitr::rmarkdown}