Skip to content

Commit 485f99c

Browse files
committed
Update test workflow to R 4.2.2
1 parent 5988c51 commit 485f99c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test-smokes.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set up R
3030
uses: r-lib/actions/setup-r@v2
3131
with:
32-
r-version: "4.1.0"
32+
r-version: "4.2.2"
3333

3434
- name: Install node (for Playwright)
3535
uses: actions/setup-node@v3
@@ -53,11 +53,11 @@ jobs:
5353
${{ runner.os }}-1-renv-
5454
5555
- name: Restore packages
56+
working-directory: tests
5657
run: |
57-
pushd tests
58-
Rscript -e "if (!requireNamespace('renv', quietly = TRUE)) install.packages('renv')"
59-
Rscript -e "renv::restore()"
60-
popd
58+
if (!requireNamespace('renv', quietly = TRUE)) install.packages('renv')
59+
renv::restore()
60+
shell: Rscript {0}
6161

6262
- name: Set up Python
6363
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)