We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1194de0 commit 7e2ba4dCopy full SHA for 7e2ba4d
5 files changed
.github/workflows/R-CMD-BioCheck.yaml
@@ -0,0 +1,34 @@
1
+name: R-CMD-BiocCheck
2
+
3
+on:
4
+ push:
5
+ branches: [main, master]
6
+ pull_request:
7
+ workflow_dispatch:
8
9
+jobs:
10
+ R-CMD-BiocCheck:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - uses: r-lib/actions/setup-r@v2
16
+ with:
17
+ use-public-rspm: true
18
19
+ - name: Install dependencies
20
+ run: |
21
+ Rscript -e 'install.packages("remotes")'
22
+ Rscript -e 'remotes::install_deps(dependencies = TRUE)'
23
24
+ - name: Install renv
25
+ run: Rscript -e 'install.packages("renv")'
26
27
+ - name: Restore project environment from renv.lock
28
+ run: Rscript -e 'renv::restore()'
29
30
+ - name: Build package
31
+ run: R CMD build .
32
33
+ - name: Check package
34
+ run: R CMD BiocCheck *.tar.gz
.github/workflows/run_test_covr.yaml
0 commit comments