Skip to content

Commit

Permalink
allow vignette compilation without suggsts
Browse files Browse the repository at this point in the history
  • Loading branch information
topepo committed Oct 22, 2024
1 parent ed9518c commit 9112801
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion vignettes/forge.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ editor_options:
---

```{r, include = FALSE}
if (rlang::is_installed(c("modeldata", "recipes", "Matrix"))) {
run <- TRUE
} else {
run <- FALSE
}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
comment = "#>",
eval = run
)
options(rlang_backtrace_on_error = "none")
Expand Down
9 changes: 8 additions & 1 deletion vignettes/mold.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ editor_options:
---

```{r, include = FALSE}
if (rlang::is_installed(c("modeldata", "recipes", "Matrix"))) {
run <- TRUE
} else {
run <- FALSE
}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
comment = "#>",
eval = run
)
options(rlang_backtrace_on_error = "none")
Expand Down
9 changes: 8 additions & 1 deletion vignettes/package.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ editor_options:
---

```{r, include = FALSE}
if (rlang::is_installed(c("modeldata", "recipes", "Matrix"))) {
run <- TRUE
} else {
run <- FALSE
}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
comment = "#>",
eval = run
)
options(rlang_backtrace_on_error = "none")
Expand Down

0 comments on commit 9112801

Please sign in to comment.