Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/debian-cran-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# CRAN Debian incoming checks
# Uses the official Debian-based CRAN check environment
name: Debian CRAN Check

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
check-cran-debian:
runs-on: ubuntu-latest
permissions:
contents: read
container:
image: ghcr.io/r-devel/rcheckserver/debian:latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install package dependencies
run: |
R -e 'install.packages("remotes", repos = "https://cloud.r-project.org")'
R -e 'remotes::install_deps(dependencies = TRUE)'

- name: Run R CMD check with --as-cran
run: |
cd ..
R CMD build --no-manual ${GITHUB_REPOSITORY#*/}
R CMD check --as-cran ${GITHUB_REPOSITORY#*/}*.tar.gz
Loading