We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7d3010 commit 1b57deeCopy full SHA for 1b57dee
1 file changed
.github/workflows/rhub-cran.yml
@@ -0,0 +1,31 @@
1
+name: rhub-check
2
+
3
+on:
4
+ push:
5
+ branches: [CRAN]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ rhub:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
17
+ - name: Setup R
18
+ uses: r-lib/actions/setup-r@v2
19
20
+ - name: Install system dependencies
21
+ run: |
22
+ sudo apt-get update
23
+ sudo apt-get install -y libxml2-dev libssl-dev libcurl4-openssl-dev
24
25
+ - name: Install R packages
26
27
+ R -e "install.packages(c('remotes','rhub'), repos='https://cloud.r-project.org')"
28
29
+ - name: Run rhub check for CRAN
30
31
+ R -e "rhub::check_for_cran(path = '.', show_status = TRUE)"
0 commit comments