Skip to content

Commit 8882049

Browse files
authored
Update r.yml
1 parent 410f608 commit 8882049

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/r.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ jobs:
2626

2727
steps:
2828
- uses: actions/checkout@v2
29-
30-
- name: Install Pandoc
31-
run: |
32-
sudo apt-get update -q
33-
sudo apt-get install -y pandoc
34-
shell: bash
3529

3630
- name: Set up R ${{ matrix.r-version }}
3731
uses: r-lib/actions/setup-r@v2-branch
@@ -40,9 +34,10 @@ jobs:
4034

4135
- name: Install dependencies
4236
run: |
43-
install.packages(c("remotes", "rcmdcheck"))
44-
remotes::install_deps(dependencies = TRUE)
45-
shell: Rscript {0}
37+
R -e "install.packages(c('remotes', 'rcmdcheck'), repos = 'https://cloud.r-project.org')"
38+
R -e "remotes::install_deps(dependencies = TRUE)"
39+
shell: bash
40+
4641
- name: Check
47-
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
48-
shell: Rscript {0}
42+
R -e "rcmdcheck::rcmdcheck(args = '--no-manual', error_on = 'error')"
43+
shell: bash

0 commit comments

Comments
 (0)