File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2- # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3- #
4- # NOTE: The {pkgdown} workflow in "noSuggests" mode makes sure that the vignettes or
5- # examples evaluated only on the website are also using soft dependencies conditionally.
6-
71on :
8- push :
9- branches : [main, master]
102 pull_request :
113 branches : [main, master]
124
135name : pkgdown-no-suggests
146
157jobs :
168 pkgdown-no-suggests :
17- runs-on : ubuntu-latest
18-
19- env :
20- GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
21- R_KEEP_PKG_SOURCE : yes
22-
23- steps :
24- - uses : actions/checkout@v5
25-
26- # Always try to use the latest pandoc version
27- # https://github.com/jgm/pandoc/releases
28- - uses : r-lib/actions/setup-pandoc@v2
29- with :
30- pandoc-version : " 2.19.2"
31-
32- - uses : r-lib/actions/setup-r@v2
33- with :
34- r-version : " release"
35- http-user-agent : " release"
36- use-public-rspm : true
37-
38- - uses : r-lib/actions/setup-r-dependencies@v2
39- with :
40- pak-version : devel
41- dependencies : ' "hard"'
42- cache : false
43- extra-packages : |
44- any::knitr
45- any::rmarkdown
46- any::correlation
47- r-lib/pkgdown
48- local::.
49- needs : website
50-
51- - name : Build site
52- run : |
53- options(crayon.enabled = TRUE)
54- pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
55- shell : Rscript {0}
9+ uses : easystats/workflows/.github/workflows/pkgdown-no-suggests.yaml@main
You can’t perform that action at this time.
0 commit comments