[Feature] cor_sort() can deal with non-square matrices #54
Annotations
1 error and 7 warnings
Extract and lint files changed by this PR
Process completed with exit code 31.
|
Extract and lint files changed by this PR:
R/cor_sort.R#L81
file=R/cor_sort.R,line=81,col=5,[spaces_left_parentheses_linter] Place a space before left parenthesis, except in a function call.
|
Extract and lint files changed by this PR:
tests/testthat/test-cor_sort.R#L3
file=tests/testthat/test-cor_sort.R,line=3,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=.
|
Extract and lint files changed by this PR:
tests/testthat/test-cor_sort.R#L7
file=tests/testthat/test-cor_sort.R,line=7,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=.
|
Extract and lint files changed by this PR:
tests/testthat/test-cor_sort.R#L11
file=tests/testthat/test-cor_sort.R,line=11,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=.
|
Extract and lint files changed by this PR:
tests/testthat/test-cor_sort.R#L15
file=tests/testthat/test-cor_sort.R,line=15,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=.
|
Extract and lint files changed by this PR:
tests/testthat/test-cor_sort.R#L15
file=tests/testthat/test-cor_sort.R,line=15,col=3,[expect_true_false_linter] expect_false(x) is better than expect_equal(x, FALSE)
|
Extract and lint files changed by this PR:
tests/testthat/test-cor_sort.R#L17
file=tests/testthat/test-cor_sort.R,line=17,col=3,[trailing_blank_lines_linter] Add a terminal newline.
|
Loading