Skip to content

Commit 6b9107c

Browse files
committed
Try pkgdown in action
1 parent abe9f8b commit 6b9107c

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

.github/workflows/pkgdown.yaml

+21-9
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,27 @@ jobs:
2828

2929
- uses: r-lib/actions/setup-pandoc@v2
3030

31-
- uses: r-lib/actions/setup-r@v2
32-
with:
33-
use-public-rspm: true
34-
35-
- uses: r-lib/actions/setup-r-dependencies@v2
36-
with:
37-
extra-packages: any::pkgdown, local::.
38-
needs: website
39-
31+
#- uses: r-lib/actions/setup-r@v2
32+
# with:
33+
# use-public-rspm: true
34+
35+
#- uses: r-lib/actions/setup-r-dependencies@v2
36+
# with:
37+
# extra-packages: any::pkgdown, local::.
38+
# needs: website
39+
40+
- name: Setup r2u
41+
uses: eddelbuettel/github-actions/r2u-setup@master
42+
43+
- name: Install remotes and pkgdown
44+
run: Rscript -e 'install.packages(c("remotes", "pkgdown"))'
45+
46+
- name: Install all Dependencies
47+
run: Rscript -e 'remotes::install_deps(".", dependencies=TRUE)'
48+
49+
- name: Install package itself
50+
run: R CMD INSTALL .
51+
4052
- name: Build site
4153
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
4254
shell: Rscript {0}

0 commit comments

Comments
 (0)