Skip to content

Commit

Permalink
fix vign build issues on pkg check
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyhanson committed Sep 4, 2021
1 parent e9b5520 commit 42f4351
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vignettes/surveyvoi.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,19 @@ vignette: >
---

```{r, include = FALSE}
# figure sizes
h <- 3.5
w <- 3.5
# detect if vignette being built under package check
is_check <- ("CheckExEnv" %in% search()) || any(c("_R_CHECK_TIMINGS_",
"_R_CHECK_LICENSE_") %in% names(Sys.getenv()))
# set default chunk settings
knitr::opts_chunk$set(fig.align = "center", eval = !is_check)
# define variables
best_conventional_approach <- "ERROR"
```

```{r, include = FALSE}
Expand Down

0 comments on commit 42f4351

Please sign in to comment.