previous commit broke checks while trying to fix an R-devel CRAN check #145
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
# 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 | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
workflow_dispatch: | |
name: R-CMD-check | |
jobs: | |
R-CMD-check: | |
runs-on: ${{ matrix.config.os }} | |
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} | |
- {os: ubuntu-latest, r: 'release'} | |
- {os: ubuntu-20.04, r: '4.1.0'} | |
- {os: macOS-latest, r: 'release'} | |
- {os: windows-latest, r: 'release'} | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
R_KEEP_PKG_SOURCE: yes | |
_R_CHECK_DEPENDS_ONLY_: false | |
_R_CHECK_ALL_NON_ISO_C_: true | |
_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_: true | |
_R_CHECK_CODE_ATTACH_: true | |
_R_CHECK_CODE_DATA_INTO_GLOBALENV_: true | |
_R_CHECK_CODE_USAGE_VIA_NAMESPACES_: true | |
_R_CHECK_DEPRECATED_DEFUNCT_: true | |
_R_CHECK_EXECUTABLES_EXCLUSIONS_: false | |
_R_CHECK_INSTALL_DEPENDS_: true | |
_R_CHECK_NO_RECOMMENDED_: true | |
_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_: true | |
_R_CHECK_REPLACING_IMPORTS_: true | |
_R_CHECK_S3_METHODS_NOT_REGISTERED_: true | |
_R_CHECK_SCREEN_DEVICE_: stop | |
_R_CHECK_SRC_MINUS_W_IMPLICIT_: true | |
_R_CHECK_SRC_MINUS_W_UNUSED_: true | |
_R_CHECK_SUGGESTS_ONLY_: true | |
_R_CHECK_TOPLEVEL_FILES_: true | |
_R_CHECK_VC_DIRS_: true | |
_R_CHECK_WALL_FORTRAN_: true | |
_R_CHECK_USE_CODETOOLS_: true | |
_R_CHECK_CODETOOLS_PROFILE_: "suppressLocalUnused=FALSE,suppressPartialMatchArgs=FALSE,suppressParamUnused=TRUE,suppressUndefined=FALSE" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: r-lib/actions/setup-tinytex@v2 | |
- run: | | |
tlmgr --version | |
tlmgr update --self | |
tlmgr install titlesec | |
tlmgr install pdfpages | |
tlmgr install pdflscape | |
tlmgr install ae | |
tlmgr list --only-installed | |
- 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 | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: | | |
any::rcmdcheck | |
kingaa/pomp | |
- uses: r-lib/actions/check-r-package@v2 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.config.os }}-${{ matrix.config.r }}-results | |
path: check |