Skip to content

Commit 634cd51

Browse files
authored
Merge pull request #4032 from quarto-dev/updated-renv
Update renv.lock to R 4.2.2 and using newer packages
2 parents 89e6070 + 642a886 commit 634cd51

File tree

5 files changed

+469
-211
lines changed

5 files changed

+469
-211
lines changed

.github/workflows/test-smokes.yml

Lines changed: 8 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
@@ -95,6 +95,9 @@ jobs:
9595
popd
9696
9797
- name: Smoke Test Head
98+
env:
99+
# Useful as TinyTeX latest release is checked in run-test.sh
100+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98101
if: github.event.before == ''
99102
run: |
100103
pushd tests

0 commit comments

Comments
 (0)