Skip to content

Commit

Permalink
Update r-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsyrgkanis authored Jul 2, 2024
1 parent 62c4e2b commit e282245
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/r-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ jobs:

- name: Lint R scripts and notebooks in ${{ matrix.folder }}
run: |
R -e 'lintr::lint_dir("${{ matrix.folder }}", linters = lintr::with_defaults())'
R -e 'files <- list.files("${{ matrix.folder }}", pattern = "\\.(R|r|Rmd|rmd|irnb)$", full.names = TRUE);
linters <- lintr::with_defaults(line_length_linter = lintr::line_length_linter(119));
lapply(files, lintr::lint, linters = linters);'
continue-on-error: true

0 comments on commit e282245

Please sign in to comment.