Skip to content

Commit

Permalink
update vignette building flow
Browse files Browse the repository at this point in the history
  • Loading branch information
elbersb committed Aug 31, 2021
1 parent 449c489 commit e1747fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CENSUS_API_KEY: ${{ secrets.CENSUS_API_KEY }}
BUILD_VIGNETTE: ${{ secrets.BUILD_VIGNETTE }}
steps:
- uses: actions/checkout@v2

Expand Down
3 changes: 1 addition & 2 deletions vignettes/faq.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ knitr::opts_chunk$set(
comment = "#>"
)
# skip this vignette on CRAN
library("testthat")
# skip this vignette on CRAN etc.
BUILD_VIGNETTE <- identical(Sys.getenv("BUILD_VIGNETTE"), "true")
knitr::opts_chunk$set(eval = BUILD_VIGNETTE)
Expand Down

0 comments on commit e1747fd

Please sign in to comment.