From e1747fd726276a4ad31f2fc3ec1fc819f2a2eeb5 Mon Sep 17 00:00:00 2001 From: Benjamin Elbers Date: Tue, 31 Aug 2021 10:05:40 +0200 Subject: [PATCH] update vignette building flow --- .github/workflows/pkgdown.yaml | 1 + vignettes/faq.Rmd | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 803c23a..5961606 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -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 diff --git a/vignettes/faq.Rmd b/vignettes/faq.Rmd index ba282bc..e9e9d17 100644 --- a/vignettes/faq.Rmd +++ b/vignettes/faq.Rmd @@ -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)