diff --git a/make.R b/make.R index ea40b4e942e0316ea4b02b13a49dc196c4e705f6..36e1696961f7ea33b9c29934c5b6c73fa3112689 100644 --- a/make.R +++ b/make.R @@ -68,7 +68,7 @@ write.table(txt2, "inst/CITATION", row.names=FALSE, col.names=FALSE, quote=FALSE # ---------------------------------------------------------------- # Build the package document() -# Run the "vignettes/make.R" to build the cache +# Run the "vignettes/make.R" to build a cache build(".", vignettes=TRUE) # Install it diff --git a/vignettes/forecast-evaluation.Rmd b/vignettes/forecast-evaluation.Rmd index 1b44e287aec1d5c3985f523cd6c2c1b0249d9d62..723e221be0fb7707d71169efb317ccb832f6c4b6 100644 --- a/vignettes/forecast-evaluation.Rmd +++ b/vignettes/forecast-evaluation.Rmd @@ -106,11 +106,9 @@ not explained, then have a look in the two preceding vignettes to find an explan ## Load forecasts First Load the package, setup the model and calculate the forecasts: -```{r, echo=1:2, purl=1:2} +```{r} # Load the package library(onlineforecast) -#library(devtools) -#load_all(as.package("../../onlineforecast")) ``` Just start by: diff --git a/vignettes/model-selection.Rmd b/vignettes/model-selection.Rmd index 860d2fc8cefb822ccc4cbf4cd412e22acc03d034..df3bbd1eb37cf1c09bcbdd6501b19890f584dd97 100644 --- a/vignettes/model-selection.Rmd +++ b/vignettes/model-selection.Rmd @@ -107,11 +107,9 @@ text, but not explained, then have a look in the two preceding vignettes to find ## Load forecasts First Load the package, setup the model and calculate the forecasts: -```{r, echo=1:2, purl=1:2} +```{r} # Load the package library(onlineforecast) -#library(devtools) -#load_all(as.package("../../onlineforecast")) ``` Just start by taking a rather short data set: