File tree 2 files changed +4
-10
lines changed
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,11 @@ jobs:
22
22
use-public-rspm : true
23
23
24
24
- name : Install lintr
25
- run : |
26
- install.packages("lintr")
27
- install.packages("devtools")
25
+ run : install.packages("lintr")
28
26
shell : Rscript {0}
29
27
30
- # we must use devtools::load_all to all lintr to not consider
31
- # all of the internal non exported functions as non declared globals
32
- # https://github.com/r-lib/lintr/issues/1137#issuecomment-1127828843
33
28
- name : Lint root directory
34
- run : |
35
- devtools::load_all()
36
- lintr::lint_dir()
29
+ run : lintr::lint_dir()
37
30
shell : Rscript {0}
38
31
env :
39
32
LINTR_ERROR_ON_LINT : true
Original file line number Diff line number Diff line change 1
1
linters: linters_with_defaults(
2
2
line_length_linter(120),
3
- commented_code_linter = NULL
3
+ commented_code_linter = NULL,
4
+ object_usage_linter = NULL
4
5
)
5
6
You can’t perform that action at this time.
0 commit comments