We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46089cb commit 6a16914Copy full SHA for 6a16914
.github/workflows/pkgdown.yaml
@@ -49,6 +49,7 @@ jobs:
49
any::spdep
50
any::StanHeaders
51
any::knitr
52
+ any::withr
53
needs: website
54
55
# - uses: actions/cache@v4
@@ -58,11 +59,14 @@ jobs:
58
59
60
- name: Build site
61
run: |
- pkgdown::build_site_github_pages(
62
- lazy = TRUE,
63
- install = TRUE,
64
- run_dont_run = TRUE,
65
- new_process = TRUE
+ withr::with_envvar(
+ c("NOT_CRAN" = "true"),
+ pkgdown::build_site_github_pages(
+ lazy = FALSE, # change to TRUE if runner times out.
66
+ install = TRUE,
67
+ run_dont_run = TRUE,
68
+ new_process = TRUE
69
+ )
70
)
71
shell: Rscript {0}
72
0 commit comments