-
Notifications
You must be signed in to change notification settings - Fork 42
33 lines (31 loc) · 998 Bytes
/
R-CMD-check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on: [push, pull_request]
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Install macOS system dependencies
if: runner.os == 'macOS'
run: |
brew install imagemagick@6
brew install libgit2
curl -O https://mac.r-project.org/tools/gfortran-12.0.1-20220312-is-darwin20-arm64.tar.xz
sudo tar fxz gfortran-12.0.1-20220312-is-darwin20-arm64.tar.xz -C /
export PATH=$PATH:/opt/R/arm64/gfortran/bin
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: 4.2.3
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
bioc::GENESIS
any::rcmdcheck
needs: |
website
coverage
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}