Skip to content

Commit

Permalink
fix check problems with vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmbarrett committed Mar 5, 2024
1 parent fc3aea1 commit 3ae2471
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
7 changes: 6 additions & 1 deletion vignettes/bias-structures.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ vignette: >
---

```{r setup, include = FALSE}
if (identical(Sys.getenv("IN_PKGDOWN"), "true")) {
dpi <- 320
} else {
dpi <- 72
}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.width = 7,
fig.height = 5,
fig.align = "center",
fig.dpi = 320,
fig.dpi = dpi,
warning = FALSE,
message = FALSE
)
Expand Down
9 changes: 7 additions & 2 deletions vignettes/intro-to-dags.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,24 @@ author: "Malcolm Barrett"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{An Introduction to DAGs}
%\VignetteIndexEntry{An Introduction to Directed Acyclic Graphs}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r setup, include = FALSE}
if (identical(Sys.getenv("IN_PKGDOWN"), "true")) {
dpi <- 320
} else {
dpi <- 72
}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.width = 7,
fig.height = 4,
fig.align = "center",
fig.dpi = 320,
fig.dpi = dpi,
warning = FALSE,
message = FALSE
)
Expand Down
7 changes: 6 additions & 1 deletion vignettes/intro-to-ggdag.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ vignette: >
---

```{r setup, include = FALSE}
if (identical(Sys.getenv("IN_PKGDOWN"), "true")) {
dpi <- 320
} else {
dpi <- 72
}
knitr::opts_chunk$set(
fig.align = "center",
fig.dpi = 320,
fig.dpi = dpi,
fig.height = 5,
fig.width = 5,
message = FALSE,
Expand Down

0 comments on commit 3ae2471

Please sign in to comment.