From ffedf6e52d441e65af9af4fb5cea551081c922c0 Mon Sep 17 00:00:00 2001 From: Edzer Pebesma Date: Sat, 5 Nov 2022 13:07:01 +0100 Subject: [PATCH] use dev="png" for all stars vignettes; #573 --- vignettes/stars1.Rmd | 3 +-- vignettes/stars3.Rmd | 4 +--- vignettes/stars4.Rmd | 3 +-- vignettes/stars5.Rmd | 5 ++--- vignettes/stars6.Rmd | 3 +-- vignettes/stars7.Rmd | 2 +- vignettes/stars8.Rmd | 2 +- 7 files changed, 8 insertions(+), 14 deletions(-) diff --git a/vignettes/stars1.Rmd b/vignettes/stars1.Rmd index 1c49d8308..cf044c808 100644 --- a/vignettes/stars1.Rmd +++ b/vignettes/stars1.Rmd @@ -15,8 +15,7 @@ vignette: > --- ```{r setup, include=FALSE} -knitr::opts_chunk$set(echo = TRUE) -knitr::opts_chunk$set(collapse = TRUE) +knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, dev = "png") ev = suppressWarnings(require(starsdata, quietly = TRUE)) ``` diff --git a/vignettes/stars3.Rmd b/vignettes/stars3.Rmd index 35af4671e..acb8044b6 100644 --- a/vignettes/stars3.Rmd +++ b/vignettes/stars3.Rmd @@ -15,9 +15,7 @@ vignette: > --- ```{r setup, include=FALSE} -knitr::opts_chunk$set(echo = TRUE) -knitr::opts_chunk$set(collapse = TRUE) -#ev = FALSE +knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, dev = "png") ev = TRUE ``` diff --git a/vignettes/stars4.Rmd b/vignettes/stars4.Rmd index a2d087bcd..0dbe98aef 100644 --- a/vignettes/stars4.Rmd +++ b/vignettes/stars4.Rmd @@ -15,8 +15,7 @@ vignette: > --- ```{r setup, include=FALSE} -knitr::opts_chunk$set(echo = TRUE) -knitr::opts_chunk$set(collapse = TRUE) +knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, dev = "png") set.seed(13579) ``` diff --git a/vignettes/stars5.Rmd b/vignettes/stars5.Rmd index 326e92f34..07838d5b9 100644 --- a/vignettes/stars5.Rmd +++ b/vignettes/stars5.Rmd @@ -15,10 +15,9 @@ vignette: > --- ```{r setup, include=FALSE} -knitr::opts_chunk$set(echo = TRUE) -knitr::opts_chunk$set(collapse = TRUE) +knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, dev = "png") suppressPackageStartupMessages(library(sf)) -ev = sf_extSoftVersion()["GDAL"] >= "2.4.0" +ev = TRUE ``` This vignette shows how `stars` object can be moved from vector diff --git a/vignettes/stars6.Rmd b/vignettes/stars6.Rmd index bdda65486..70372110b 100644 --- a/vignettes/stars6.Rmd +++ b/vignettes/stars6.Rmd @@ -15,8 +15,7 @@ vignette: > --- ```{r, include = FALSE} -knitr::opts_chunk$set(echo = FALSE, collapse = TRUE, comment = "#>") - +knitr::opts_chunk$set(echo = FALSE, collapse = TRUE, comment = "#>", dev = "png") suppressPackageStartupMessages(library(dplyr)) ``` diff --git a/vignettes/stars7.Rmd b/vignettes/stars7.Rmd index 79c67e893..59ba45eb2 100644 --- a/vignettes/stars7.Rmd +++ b/vignettes/stars7.Rmd @@ -15,7 +15,7 @@ vignette: > --- ```{r, include = FALSE} -knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, comment = "#>") +knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, comment = "#>", dev = "png") suppressPackageStartupMessages(library(dplyr)) EVAL = suppressWarnings(require(starsdata, quietly = TRUE)) ``` diff --git a/vignettes/stars8.Rmd b/vignettes/stars8.Rmd index 98a4813b5..39d297c36 100644 --- a/vignettes/stars8.Rmd +++ b/vignettes/stars8.Rmd @@ -15,7 +15,7 @@ vignette: > --- ```{r, include = FALSE} -knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, comment = "#>") +knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, comment = "#>", dev = "png") suppressPackageStartupMessages(library(dplyr)) EVAL = suppressWarnings(require(starsdata, quietly = TRUE)) ```