Skip to content

Commit

Permalink
Trying something else to upgrade warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed Sep 18, 2024
1 parent 6e0cc0d commit 1db7d1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:

- name: Picking on the coding style
run: |
options(warn = 2)
library(lintr)
excluded_files <- list(
"vignettes/Sampling_and_ML_estimation.Rmd" = 29,
Expand All @@ -59,4 +58,7 @@ jobs:
unnecessary_concatenation_linter()
)
lint_package(linters = style_rules, exclusions = excluded_files)
if (length(lint_result) > 0) {
stop("Linting failed with warnings or errors")
}
shell: Rscript {0}

0 comments on commit 1db7d1a

Please sign in to comment.