check-current #335
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ==================================================================== # | |
# TITLE # | |
# cleaner: Fast and Easy Data Cleaning # | |
# # | |
# SOURCE # | |
# https://github.com/msberends/cleaner # | |
# # | |
# LICENCE # | |
# 2019-2024 Berends MS ([email protected]) # | |
# # | |
# This R package is free software; you can freely use and distribute # | |
# it for both personal and commercial purposes under the terms of the # | |
# GNU General Public License version 2.0 (GNU GPL-2), as published by # | |
# the Free Software Foundation. # | |
# # | |
# This R package was publicly released in the hope that it will be # | |
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. # | |
# ==================================================================== # | |
on: | |
pull_request: | |
# run in each PR in this repo | |
branches: '**' | |
push: | |
branches: '**' | |
schedule: | |
# run a schedule everyday at 1 AM. | |
# this is to check that all dependencies are still available (see R/zzz.R) | |
- cron: '0 1 * * *' | |
name: check-current | |
jobs: | |
R-code-check: | |
runs-on: ${{ matrix.config.os }} | |
continue-on-error: ${{ matrix.config.allowfail }} | |
name: ${{ matrix.config.os }} (R-${{ matrix.config.r }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- {os: macOS-latest, r: 'devel', allowfail: false} | |
- {os: macOS-latest, r: 'release', allowfail: false} | |
- {os: macOS-latest, r: 'oldrel', allowfail: false} | |
- {os: ubuntu-latest, r: 'devel', allowfail: false} | |
- {os: ubuntu-latest, r: 'release', allowfail: false} | |
- {os: ubuntu-latest, r: 'oldrel', allowfail: false} | |
- {os: windows-latest, r: 'devel', allowfail: false} | |
- {os: windows-latest, r: 'release', allowfail: false} | |
- {os: windows-latest, r: 'oldrel', allowfail: false} | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
R_KEEP_PKG_SOURCE: yes | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: r-lib/actions/setup-pandoc@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: ${{ matrix.config.r }} | |
# use RStudio Package Manager to quickly install packages | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: any::rcmdcheck | |
needs: check | |
- uses: r-lib/actions/check-r-package@v2 | |
env: | |
_R_CHECK_LENGTH_1_CONDITION_: verbose | |
_R_CHECK_LENGTH_1_LOGIC2_: verbose |