Skip to content

Emphasize S3-S4 difference in recommendation for how to fix class_equals_linter() #4484

Emphasize S3-S4 difference in recommendation for how to fix class_equals_linter()

Emphasize S3-S4 difference in recommendation for how to fix class_equals_linter() #4484

# 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}