Skip to content

Commit c78d2cb

Browse files
committed
update test and description
1 parent 656470e commit c78d2cb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Imports:
1313
doParallel,
1414
parallel,
1515
utils,
16-
foreach
16+
foreach,
17+
bisilhouette
1718
RoxygenNote: 7.3.2
1819
Suggests:
1920
testthat (>= 3.0.0)

tests/testthat/test-resnmtf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ data <- list(
5858
)
5959
test_that("get warning for negative matrix", {
6060
expect_warning(
61-
apply_resnmtf(-data[[1]], k_max = 4),
61+
apply_resnmtf(list(-data[[1]]), k_max = 4),
6262
"Matrix is not non-negative. Has been made non-negative."
6363
)
6464
})

0 commit comments

Comments
 (0)