Emphasize S3-S4 difference in recommendation for how to fix class_equals_linter() #4484
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
# based on test-coverage, running testthat with options(warn = 2) to fail on test warnings | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
name: test-package | |
jobs: | |
test-package: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: local::. | |
- name: Run Tests | |
run: | | |
## -------------------------------------------------------------------- | |
options( | |
crayon.enabled = TRUE, | |
warn = 2L, | |
warnPartialMatchArgs = TRUE, | |
warnPartialMatchAttr = TRUE, | |
warnPartialMatchDollar = TRUE | |
) | |
if (Sys.getenv("_R_CHECK_FORCE_SUGGESTS_", "") == "") Sys.setenv("_R_CHECK_FORCE_SUGGESTS_" = "false") | |
testthat::test_dir("tests") | |
shell: Rscript {0} |