Strip by of tokens before attempting removal #1791
lint-changed-files.yaml
on: pull_request
lint-changed-files
/
lint-changed-files
4m 6s
Annotations
1 error and 8 warnings
|
lint-changed-files / lint-changed-files
Process completed with exit code 31.
|
|
lint-changed-files / lint-changed-files:
tests/testthat/test-get_datagrid.R#L1110
file=tests/testthat/test-get_datagrid.R,line=1110,col=38,[nested_ifelse_linter] Don't use nested ifelse() calls; instead, try (1) data.table::fcase; (2) dplyr::case_when; or (3) using a lookup table.
|
|
lint-changed-files / lint-changed-files:
tests/testthat/test-get_datagrid.R#L134
file=tests/testthat/test-get_datagrid.R,line=134,col=7,[duplicate_argument_linter] Avoid duplicate arguments in function calls.
|
|
lint-changed-files / lint-changed-files:
tests/testthat/test-get_datagrid.R#L133
file=tests/testthat/test-get_datagrid.R,line=133,col=7,[duplicate_argument_linter] Avoid duplicate arguments in function calls.
|
|
lint-changed-files / lint-changed-files:
tests/testthat/test-get_datagrid.R#L132
file=tests/testthat/test-get_datagrid.R,line=132,col=7,[duplicate_argument_linter] Avoid duplicate arguments in function calls.
|
|
lint-changed-files / lint-changed-files:
R/get_datagrid.R#L1453
file=R/get_datagrid.R,line=1453,col=3,[if_switch_linter] Prefer switch() statements over repeated if/else equality tests, e.g., switch(x, a = 1, b = 2) over if (x == "a") 1 else if (x == "b") 2.
|
|
lint-changed-files / lint-changed-files:
R/get_datagrid.R#L1015
file=R/get_datagrid.R,line=1015,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this expression from 53 to at most 40. Consider replacing high-complexity sections like loops and branches with helper functions.
|
|
lint-changed-files / lint-changed-files:
R/get_datagrid.R#L542
file=R/get_datagrid.R,line=542,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 123 characters.
|
|
lint-changed-files / lint-changed-files:
R/get_datagrid.R#L307
file=R/get_datagrid.R,line=307,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this expression from 63 to at most 40. Consider replacing high-complexity sections like loops and branches with helper functions.
|