Skip to content

Add type argument to plot_jn() (#126) #796

Add type argument to plot_jn() (#126)

Add type argument to plot_jn() (#126) #796

Workflow file for this run

name: R-CMD-CHECK
on:
push:
branches: [ main, test-workflow ]
pull_request:
branches: [ main, test-workflow ]
jobs:
# Linux via your container (unchanged semantics)
R-CMD-CHECK-Linux:
name: linux (container)
runs-on: ubuntu-latest
container:
image: ghcr.io/kss2k/container-modsem:latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: R CMD CHECK (devtools)
shell: Rscript {0}
run: |
devtools::check(error_on = "warning")
# Native macOS + Windows (no container)
R-CMD-CHECK-Native:
name: ${{ matrix.os }} (R ${{ matrix.r }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-latest, windows-latest ]
r: [ 'release' ]
steps:
- name: Check out the repository
uses: actions/checkout@v4
# Needed if you build vignettes or rely on pandoc in checks
- name: Set up Pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r }}
use-public-rspm: true # speeds up deps (mainly on Linux/macOS)
rtools: true # no-op on macOS; installs RTools on Windows
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
needs: check # ensures Suggests needed for checks are installed
extra-packages: |
any::devtools
any::rcmdcheck
- name: R CMD CHECK (devtools)
shell: Rscript {0}
env:
# Optional: make remote fetches quieter/robuster during check
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
devtools::check(error_on = "warning")