Skip to content

Commit

Permalink
Update test-cor_sort.R
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Dec 18, 2024
1 parent fde655c commit 44fb782
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/testthat/test-cor_sort.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ test_that("cor_sort", {

# as.matrix(correlation()) ------------------------------------------------
# TODO.
# rez1m <- as.matrix(rez1sort)
m1 <- as.matrix(rez1)
expect_equal(rownames(r1), rownames(m1))

Check warning on line 34 in tests/testthat/test-cor_sort.R

View workflow job for this annotation

GitHub Actions / lint-changed-files / lint-changed-files

file=tests/testthat/test-cor_sort.R,line=34,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=.

# m1sort <- as.matrix(rez1sort)
})

0 comments on commit 44fb782

Please sign in to comment.