Fix max count for subregions #66
Workflow file for this run
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
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
name: R-CMD-check | |
jobs: | |
R-CMD-check: | |
runs-on: ubuntu-latest | |
env: | |
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true | |
_R_CHECK_FORCE_SUGGESTS_: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup R using R2U | |
uses: eddelbuettel/github-actions/r2u-setup@master | |
- uses: r-lib/actions/setup-pandoc@v2 | |
- name: Install dependencies | |
run: | | |
install.packages(c("remotes", "rcmdcheck")) | |
remotes::install_deps(dependencies = TRUE) | |
install.packages(c("stringi", "stringr", "knitr")) | |
shell: Rscript {0} | |
- name: Session info | |
run: | | |
options(width = 100) | |
pkgs <- installed.packages()[, "Package"] | |
sessioninfo::session_info(pkgs, include_base = TRUE) | |
shell: Rscript {0} | |
- name: Build and check | |
uses: r-lib/actions/check-r-package@v2 | |
with: | |
args: 'c("--no-manual", "--as-cran")' | |
error-on: '"error"' | |
check-dir: '"check"' | |
- name: Upload check results | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ubuntu-latest-results | |
path: check |