Skip to content

CRAN: add rhub workflow; include test regex fixes and C++ tidy #1

CRAN: add rhub workflow; include test regex fixes and C++ tidy

CRAN: add rhub workflow; include test regex fixes and C++ tidy #1

Workflow file for this run

name: rhub-check
on:
push:
branches: [CRAN]
pull_request:
branches: [CRAN]
workflow_dispatch:
jobs:
rhub:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup R
uses: r-lib/actions/setup-r@v2
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libxml2-dev libssl-dev libcurl4-openssl-dev
- name: Install R packages
run: |
R -e "install.packages(c('remotes','rhub'), repos='https://cloud.r-project.org')"
- name: Run rhub check for CRAN
run: |
R -e "rhub::check_for_cran(path = '.', show_status = TRUE)"