Skip to content

Commit

Permalink
create models dir in correct location from children subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
mjskay committed Sep 17, 2024
1 parent 89df29a commit fb49436
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 1 deletion.
1 change: 0 additions & 1 deletion vignettes/children/chunk_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ if (capabilities("cairo") && Sys.info()[['sysname']] != "Darwin") {
dev.args = list(png = list(type = "cairo"))
)
}
dir.create("models", showWarnings = FALSE)
```
5 changes: 5 additions & 0 deletions vignettes/tidy-brms.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ vignette: >
%\VignetteEncoding{UTF-8}
---

```{r models_dir, include = FALSE}
# must be created from inside the vignette dir, not the children subdir
dir.create("models", showWarnings = FALSE)
```

```{r, child="children/chunk_options.txt"}
```

Expand Down
5 changes: 5 additions & 0 deletions vignettes/tidy-posterior.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ vignette: >
%\VignetteEncoding{UTF-8}
---

```{r models_dir, include = FALSE}
# must be created from inside the vignette dir, not the children subdir
dir.create("models", showWarnings = FALSE)
```

```{r, child="children/chunk_options.txt"}
```

Expand Down
5 changes: 5 additions & 0 deletions vignettes/tidy-rstanarm.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ vignette: >
%\VignetteEncoding{UTF-8}
---

```{r models_dir, include = FALSE}
# must be created from inside the vignette dir, not the children subdir
dir.create("models", showWarnings = FALSE)
```

```{r, child="children/chunk_options.txt"}
```

Expand Down
5 changes: 5 additions & 0 deletions vignettes/tidybayes-residuals.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ vignette: >
%\VignetteEncoding{UTF-8}
---

```{r models_dir, include = FALSE}
# must be created from inside the vignette dir, not the children subdir
dir.create("models", showWarnings = FALSE)
```

```{r, child="children/chunk_options.txt"}
```

Expand Down
5 changes: 5 additions & 0 deletions vignettes/tidybayes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ vignette: >
%\VignetteEncoding{UTF-8}
---

```{r models_dir, include = FALSE}
# must be created from inside the vignette dir, not the children subdir
dir.create("models", showWarnings = FALSE)
```

```{r, child="children/chunk_options.txt"}
```

Expand Down

0 comments on commit fb49436

Please sign in to comment.