More syntax fixes
This commit is contained in:
parent
1b99104cb4
commit
8b0d1c3cc3
1 changed files with 2 additions and 1 deletions
3
.github/workflows/r.yml
vendored
3
.github/workflows/r.yml
vendored
|
|
@ -100,6 +100,7 @@ jobs:
|
|||
- name: Linting package
|
||||
run: |
|
||||
install.packages("lintr")
|
||||
library(lintr)
|
||||
style_rules <- list(
|
||||
assignment_linter, closed_curly_linter, commas_linter,
|
||||
todo_comment_linter, equals_na_linter,
|
||||
|
|
@ -111,7 +112,7 @@ jobs:
|
|||
trailing_blank_lines_linter, trailing_whitespace_linter,
|
||||
undesirable_function_linter, undesirable_operator_linter
|
||||
) # TODO: expand style rules as package matures
|
||||
lintr::lint_package(linters = style_rules)
|
||||
lint_package(linters = style_rules)
|
||||
shell: Rscript {0}
|
||||
|
||||
# Uploading check results -------------------------------- #
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue