Skip to content

Workflow file for this run

---
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
name: R-CMD-check-macos πŸ“¦
on:
# 'push' events are triggered when commits
# are pushed to one of these branches
push:
branches:
- main
- cran_mac
tags:
- "v*"
# 'pull_request' events are triggered when PRs are
# created against one of these target branches.
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- main
# 'workflow_dispatch' gives you the ability
# to run this workflow on demand, anytime
workflow_dispatch:
jobs:
check:
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- { os: macOS-14, r: "release" }
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
_R_CHECK_FORCE_SUGGESTS_: FALSE
LC_CTYPE: en_GB.UTF-8
RMPI_TYPE: OPENMPI
R_BROWSER: false
R_PDFVIEWER: false
_R_CHECK_INSTALL_DEPENDS_: true
_R_CHECK_NO_RECOMMENDED_: true
_R_CHECK_TIMINGS_: 10
_R_CHECK_DEPRECATED_DEFUNCT_: true
_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_: true
_R_CHECK_CODE_DATA_INTO_GLOBALENV_: true
_R_CHECK_SCREEN_DEVICE_: warn
_R_CHECK_S3_METHODS_NOT_REGISTERED_: true
_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_: true
_R_CHECK_NATIVE_ROUTINE_REGISTRATION_: true
_R_CHECK_FF_CALLS_: registration
_R_CHECK_PRAGMAS_: true
_R_CHECK_COMPILATION_FLAGS_: true
_R_CHECK_COMPILATION_FLAGS_KNOWN_: "-Wconversion -Wno-sign-conversion"
_R_CHECK_THINGS_IN_TEMP_DIR_: true
_R_CHECK_THINGS_IN_TEMP_DIR_EXCLUDE_: "^(ompi|dsymutil)"
_R_CHECK_MATRIX_DATA_: TRUE
_R_CHECK_ORPHANED_: true
_R_CHECK_BROWSER_NONINTERACTIVE_: true
_R_CHECK_MBCS_CONVERSION_FAILURE_: true
_R_CHECK_RD_VALIDATE_RD2HTML_: true
_R_CHECK_RD_MATH_RENDERING_: true
_R_CHECK_VALIDATE_UTF8_: true
R_DEFAULT_INTERNET_TIMEOUT: 600
NOAWT: 1
RGL_USE_NULL: true
WNHOME: /usr/local/wordnet-3.1
_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_: TRUE
_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_: true
_R_CHECK_TESTS_NLINES_: 0
_R_CHECK_VIGNETTES_NLINES_: 0
if: >
!contains(github.event.commits[0].message, '[skip checks]')
steps:
- name: Checkout repository πŸ›Ž
uses: actions/checkout@v4
- name: Install Pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Setup R πŸ“Š
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
- name: Install R package dependencies πŸ“¦
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
- name: Run R CMD check 🎯
uses: r-lib/actions/check-r-package@v2