Skip to content

Commit

Permalink
retain options on main
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Dec 3, 2024
1 parent e7d20f2 commit 063e552
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test-package-vigilant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ jobs:
- name: Run Tests
run: |
options(crayon.enabled = TRUE)
## --------------------------------------------------------------------
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")
pkgload::load_all()
test_script_paths <- testthat::find_test_scripts("tests/testthat")
test_with_warning_as_error <- function(path) {
Expand Down

0 comments on commit 063e552

Please sign in to comment.