From ef7ccf68e086bac3e75858bd4b97e3a2c6872aa1 Mon Sep 17 00:00:00 2001
From: Johannes Ranke <jranke@uni-bremen.de>
Date: Tue, 28 Jun 2016 00:44:48 +0200
Subject: Avoid multicore fits in vignettes for passing CRAN checks

Also a small fix to the FOCUS Z vignette, and an update
of the static documentation generated by staticdocs.
---
 vignettes/FOCUS_L.Rmd | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'vignettes/FOCUS_L.Rmd')

diff --git a/vignettes/FOCUS_L.Rmd b/vignettes/FOCUS_L.Rmd
index 387c8fc7..ed480643 100644
--- a/vignettes/FOCUS_L.Rmd
+++ b/vignettes/FOCUS_L.Rmd
@@ -196,7 +196,8 @@ have to be passed in a list, in this case a named list holding only
 the L3 dataset prepared above.
 
 ```{r fig.height = 8}
-mm.L3 <- mmkin(c("SFO", "FOMC", "DFOP"), 
+# Only use one core here, not to offend the CRAN checks
+mm.L3 <- mmkin(c("SFO", "FOMC", "DFOP"), cores = 1,
                list("FOCUS L3" = FOCUS_2006_L3_mkin), quiet = TRUE)
 plot(mm.L3)
 ```
@@ -246,7 +247,8 @@ FOCUS_2006_L4_mkin <- mkin_wide_to_long(FOCUS_2006_L4)
 Fits of the SFO and FOMC models, plots and summaries are produced below:
 
 ```{r fig.height = 6}
-mm.L4 <- mmkin(c("SFO", "FOMC"), 
+# Only use one core here, not to offend the CRAN checks
+mm.L4 <- mmkin(c("SFO", "FOMC"), cores = 1,
                list("FOCUS L4" = FOCUS_2006_L4_mkin), 
                quiet = TRUE)
 plot(mm.L4)
-- 
cgit v1.2.1

