Skip to content

Commit 7adc4de

Browse files
committed
Move rmarkdown band aid
1 parent 0b1cc37 commit 7adc4de

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

.github/workflows/install/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,12 @@ runs:
7777
sudo ln -s $(which true) /usr/local/bin/qpdf
7878
sudo ln -s $(which true) /usr/local/bin/checkbashisms
7979
shell: bash
80+
81+
- name: "Band aid: install rmarkdown from GitHub in older R"
82+
run: |
83+
try(
84+
if (getRversion() < "3.5" && packageVersion("rmarkdown") < "2.13") {
85+
pak::pak("rstudio/rmarkdown")
86+
}
87+
)
88+
shell: Rscript {0}

.github/workflows/pkgdown-build/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ name: 'Action to build a pkgdown website'
33
runs:
44
using: "composite"
55
steps:
6-
- name: "Band aid: install rmarkdown from GitHub in older R"
7-
run: |
8-
if (getRversion() < "3.5" && packageVersion("rmarkdown") < "2.13") {
9-
pak::pak("rstudio/rmarkdown")
10-
}
11-
shell: Rscript {0}
12-
136
- name: Build site
147
run: |
158
pkgdown::build_site()

.github/workflows/pkgdown-deploy/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ name: 'Action to deploy a pkgdown website'
33
runs:
44
using: "composite"
55
steps:
6-
- name: "Band aid: install rmarkdown from GitHub in older R"
7-
run: |
8-
if (getRversion() < "3.5" && packageVersion("rmarkdown") < "2.13") {
9-
pak::pak("rstudio/rmarkdown")
10-
}
11-
shell: Rscript {0}
12-
136
- name: Deploy site
147
run: |
158
pkgdown::deploy_to_branch(new_process = FALSE)

0 commit comments

Comments
 (0)