File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : BiocCheck
2+
3+ on :
4+ push :
5+ branches : [main, master]
6+ pull_request :
7+ branches : [main, master]
8+
9+ jobs :
10+ BiocCheck :
11+ runs-on : ubuntu-latest
12+
13+ env :
14+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - uses : r-lib/actions/setup-r@v2
20+ with :
21+ r-version : ' devel'
22+ use-public-rspm : true
23+
24+ - uses : r-lib/actions/setup-pandoc@v2
25+
26+ - name : Install dependencies
27+ run : |
28+ install.packages(c("remotes", "BiocManager"))
29+ BiocManager::install(c("BiocCheck"), ask = FALSE, update = TRUE)
30+ remotes::install_deps(dependencies = TRUE)
31+ shell : Rscript {0}
32+
33+ - name : BiocCheck
34+ run : |
35+ BiocCheck::BiocCheck(".", `quit-with-status` = TRUE, `no-check-bioc-help` = TRUE)
36+ shell : Rscript {0}
Original file line number Diff line number Diff line change 1+ name : R-CMD-check
2+
3+ on :
4+ push :
5+ branches : [main, master]
6+ pull_request :
7+ branches : [main, master]
8+
9+ jobs :
10+ R-CMD-check :
11+ runs-on : ${{ matrix.config.os }}
12+ name : ${{ matrix.config.os }} (${{ matrix.config.r }})
13+
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ config :
18+ - {os: macos-latest, r: 'release'}
19+ - {os: windows-latest, r: 'release'}
20+ - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
21+ - {os: ubuntu-latest, r: 'release'}
22+ - {os: ubuntu-latest, r: 'oldrel-1'}
23+
24+ env :
25+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
26+ R_KEEP_PKG_SOURCE : yes
27+
28+ steps :
29+ - uses : actions/checkout@v4
30+
31+ - uses : r-lib/actions/setup-pandoc@v2
32+
33+ - uses : r-lib/actions/setup-r@v2
34+ with :
35+ r-version : ${{ matrix.config.r }}
36+ http-user-agent : ${{ matrix.config.http-user-agent }}
37+ use-public-rspm : true
38+
39+ - uses : r-lib/actions/setup-r-dependencies@v2
40+ with :
41+ extra-packages : any::rcmdcheck
42+ needs : check
43+
44+ - uses : r-lib/actions/check-r-package@v2
45+ with :
46+ upload-snapshots : true
You can’t perform that action at this time.
0 commit comments