Skip to content

Commit 8c96819

Browse files
committed
GHA: stop manually configuring RSPM
1 parent 40fc7ac commit 8c96819

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ jobs:
5757
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
5858

5959
steps:
60-
- name: Configure RSPM
61-
if: runner.os == 'Linux'
62-
shell: bash
63-
run: |
64-
RSPM="https://packagemanager.rstudio.com/all/__linux__/$(lsb_release -cs)/latest"
65-
echo "RSPM=$RSPM" >> $GITHUB_ENV
6660

6761
- uses: actions/checkout@v2
6862

@@ -71,7 +65,7 @@ jobs:
7165
with:
7266
r-version: ${{ matrix.r }}
7367
Ncpus: '2L'
74-
crayon.enabled: 'TRUE'
68+
use-public-rspm: true
7569

7670
- uses: r-lib/actions/setup-pandoc@v2
7771

0 commit comments

Comments
 (0)