Skip to content

Commit 5239c5f

Browse files
authored
Update R-CMD-check.yaml
Signed-off-by: Jessica Ikechukwu <Jessica.Ikechukwu@uwe.ac.uk>
1 parent 98a479f commit 5239c5f

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

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

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2-
# Need help debugging build failures?
3-
# Start at https://github.com/r-lib/actions#where-to-find-help
41
on:
52
push:
63
branches: [main, master]
@@ -15,20 +12,17 @@ jobs:
1512
fail-fast: false
1613
matrix:
1714
include:
18-
# default everything
1915
- { os: "ubuntu-latest", python: "3.13", r: "release" }
2016
- { os: "windows-latest", python: "3.13", r: "release" }
2117
- { os: "macOS-latest", python: "3.13", r: "release" }
22-
# older R versions
2318
- { os: "ubuntu-latest", python: "3.10", r: "oldrel-1" }
2419
- { os: "ubuntu-latest", python: "3.10", r: "oldrel-2" }
2520
- { os: "ubuntu-latest", python: "3.10", r: "oldrel-3" }
2621
env:
2722
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2823
R_KEEP_PKG_SOURCE: yes
29-
# set matplotlib backend because Windows CI errors with:
30-
# "This probably means that Tcl wasn't installed properly."
31-
MPLBACKEND: Agg # https://github.com/orgs/community/discussions/26434
24+
MPLBACKEND: Agg
25+
RETICULATE_PYTHON_ENV: ${{ matrix.python }}
3226
steps:
3327
- name: Checkout ACRO
3428
uses: actions/checkout@v4
@@ -46,12 +40,6 @@ jobs:
4640
- name: Install Python ACRO
4741
run: python -m pip install acro
4842

49-
- name: Configure reticulate Python
50-
run: |
51-
python -c "import sys; print(sys.executable)" > python_path.txt
52-
echo "RETICULATE_PYTHON=$(cat python_path.txt)" >> $GITHUB_ENV
53-
shell: bash
54-
5543
- name: Install R dependencies
5644
uses: r-lib/actions/setup-r-dependencies@v2
5745
with:
@@ -61,4 +49,3 @@ jobs:
6149
uses: r-lib/actions/check-r-package@v2
6250
with:
6351
upload-snapshots: true
64-
build-vignettes: true

0 commit comments

Comments
 (0)