Skip to content

let try #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
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
98 changes: 98 additions & 0 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
---
# 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_RD_VALIDATE_RD2HTML_: true

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