Fix partial matching #32
lint-changed-files.yaml
on: pull_request
lint-changed-files
/
lint-changed-files
2m 9s
Annotations
1 error and 7 warnings
lint-changed-files / lint-changed-files
Process completed with exit code 31.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-correlation.R#L16
file=tests/testthat/test-correlation.R,line=16,col=54,[unnecessary_concatenation_linter] Remove unnecessary c() of a constant.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-correlation.R#L30
file=tests/testthat/test-correlation.R,line=30,col=54,[unnecessary_concatenation_linter] Remove unnecessary c() of a constant.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-correlation.R#L64
file=tests/testthat/test-correlation.R,line=64,col=3,[expect_comparison_linter] expect_lt(x, y) is better than expect_true(x < y).
|
lint-changed-files / lint-changed-files:
tests/testthat/test-correlation.R#L73
file=tests/testthat/test-correlation.R,line=73,col=54,[unnecessary_concatenation_linter] Remove unnecessary c() of a constant.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-correlation.R#L114
file=tests/testthat/test-correlation.R,line=114,col=5,[implicit_assignment_linter] Avoid implicit assignments in function calls. For example, instead of `if (x <- 1L) { ... }`, write `x <- 1L; if (x) { ... }`.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-correlation.R#L176
file=tests/testthat/test-correlation.R,line=176,col=20,[sample_int_linter] sample.int(n, m, ...) is preferable to sample(1:n, m, ...).
|
lint-changed-files / lint-changed-files:
tests/testthat/test-misc.R#L28
file=tests/testthat/test-misc.R,line=28,col=3,[expect_identical_linter] Use expect_identical(x, y) by default; resort to expect_equal() only when needed, e.g. when setting ignore_attr= or tolerance=.
|