-
Notifications
You must be signed in to change notification settings - Fork 8
/
.lintr
82 lines (82 loc) · 2.85 KB
/
.lintr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
linters:
linters_with_defaults(
# "No visible binding for global variable"
object_usage_linter = NULL,
# "Line should not be more than 80 characters"
line_length_linter(120),
# "Functions should have cyclomatic complexity of less than 15"
cyclocomp_linter(100)
)
exclusions:
list(
"inst/",
"tests/testthat/helper-reference-AHR.R",
"tests/testthat/helper-reference-eAccrual.R",
"tests/testthat/helper-reference-eEvents_df.R",
"tests/testthat/helper-reference-eEvents.R",
"tests/testthat/helper-reference-gridpts_h1_hupdate.R",
"tests/testthat/helper-reference-gs_design_ahr.R",
"tests/testthat/helper-reference-gs_design_npe.R",
"tests/testthat/helper-reference-gs_info_ahr.R",
"tests/testthat/helper-reference-gs_power_ahr.R",
"tests/testthat/helper-reference-gs_power_npe.R",
"tests/testthat/helper-reference-tEvents.R",
"vignettes/articles/story-seven-test-types.Rmd" = list(
object_name_linter = Inf
),
"data-raw/simu_test_gs_design_combo.R" = list(
object_name_linter = Inf,
commented_code_linter = Inf
),
"tests/testthat/helper.R" = list(
object_name_linter = Inf
),
"tests/testthat/helper-ppwe.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent_test_gs_design_wlr.R" = list(
commented_code_linter = Inf
),
"tests/testthat/test-independent_test_gs_info_wlr.R" = list(
object_name_linter = Inf,
commented_code_linter = Inf
),
"tests/testthat/test-independent_test_wlr_weight.R" = list(
object_name_linter = Inf,
commented_code_linter = Inf
),
"tests/testthat/helper-expected_accrual.R" = list(
object_name_linter = Inf
),
"tests/testthat/helper-expected_event.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent-expected_event.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent-expected_time.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent-gs_b.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent-gs_design_combo.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent-gs_design_npe.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent-gs_power_combo.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent-gs_power_npe.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent-h1.R" = list(
object_name_linter = Inf
),
"tests/testthat/test-independent-hupdate.R" = list(
object_name_linter = Inf,
commented_code_linter = Inf
)
)