Skip to content

Rename internal functions sensibly #278

Rename internal functions sensibly

Rename internal functions sensibly #278

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
#
# R CMD Check will fail on NOTE.
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
schedule:
# * is a special character in YAML so you have to quote this string
# Trigger once a week at 00:00 on Sunday
- cron: "0 0 * * SUN"
name: R-CMD-check-strict
jobs:
R-CMD-check-strict:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
# CRAN does not provide macOS binaries for R-devel, so some packages
# need to be built from source. To avoid that, use R-release.
- { os: macos-latest, r: "release" }
- { os: windows-latest, r: "devel" }
- { os: ubuntu-latest, r: "devel" }
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
_R_CHECK_CRAN_INCOMING_REMOTE_: true
_R_CHECK_CRAN_INCOMING_: false
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.1.12.1"
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
needs: check
extra-packages: |
any::rcmdcheck
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
upload-results: true
error-on: '"note"'