Skip to content

Commit 952196e

Browse files
authored
Merge pull request #11320 from quarto-dev/tests/renv-update
2 parents a50d6bb + f06da4c commit 952196e

File tree

6 files changed

+465
-416
lines changed

6 files changed

+465
-416
lines changed

.github/workflows/test-ff-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set up R
4848
uses: r-lib/actions/setup-r@v2
4949
with:
50-
r-version: "4.3.2"
50+
r-version: "4.4.2"
5151
use-public-rspm: true
5252
# required to avoid rtools bin in path
5353
windows-path-include-rtools: false

.github/workflows/test-smokes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Set up R
6969
uses: r-lib/actions/setup-r@v2
7070
with:
71-
r-version: "4.3.2"
71+
r-version: "4.4.2"
7272
use-public-rspm: true
7373
# required to avoid rtools bin in path
7474
windows-path-include-rtools: false

tests/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Tests are running through `Deno.test()` framework, adapted for our Quarto projec
2323

2424
Here are what is expected in the environment for the tests :
2525

26-
- R should be installed and in PATH - [**rig**](https://github.com/r-lib/rig) is a good tool to manage R versions.
26+
- R should be installed and in PATH - [**rig**](https://github.com/r-lib/rig) is a good tool to manage R versions. e.g `rig install 4.4.2` and `rig default 4.4.2` to install and set the version to 4.4.2
2727
- On Windows, Rtools should be too (for source package installation)
2828
- Python should be installed and in PATH - [**pyenv**](https://github.com/pyenv/pyenv) is a good option to manage Python versions.
2929
- On Windows, it will be [`pyenv-win`](https://pyenv-win.github.io/pyenv-win/) to manage versions. Otherwise or install from https://www.python.org/ manually or using `winget`.
@@ -53,6 +53,8 @@ Our project is using [explicit dependencies discovery](https://rstudio.github.io
5353

5454
See [documentation](https://rstudio.github.io/renv/) if you need to tweak the R environment.
5555

56+
After a dependency update, you can run `configure-test-env.sh` or `configure-test-env.ps1` to update the environment, or manually run `renv::restore()` to recreate the environment with new versions. Be sure to update your R version if needed.
57+
5658
#### Python
5759

5860
We use [**pipenv**](https://pipenv.pypa.io/en/latest/) to manage dependencies and recreate easily on all OS. `pipenv` will be installed as part of the configuration if not already.

0 commit comments

Comments
 (0)