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
41on :
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
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 :
6149 uses : r-lib/actions/check-r-package@v2
6250 with :
6351 upload-snapshots : true
64- build-vignettes : true
0 commit comments