diff --git a/tests/testthat/test_normlaplacian.R b/tests/testthat/test_normlaplacian.R index 0bc498a2..8ccdc811 100644 --- a/tests/testthat/test_normlaplacian.R +++ b/tests/testthat/test_normlaplacian.R @@ -32,7 +32,7 @@ test_that("normalized laplacian", { # 115: ensure irlba code path gets tested if we can avoid Matrix ABI issue if (exists("Matrix.Version", envir = asNamespace("Matrix")) && - Matrix::Matrix.Version()$package >= "1.6.3") { + Matrix::Matrix.Version()$package >= "1.7.0") { res <- irlba_tsvd_normalized_laplacian_init(sparse_m) expect_equal(abs(res), abs_expected_norm_lap, tolerance = 0.2) diff --git a/tests/testthat/test_output.R b/tests/testthat/test_output.R index 741dabaa..96c133d5 100644 --- a/tests/testthat/test_output.R +++ b/tests/testthat/test_output.R @@ -311,7 +311,7 @@ expect_ok_matrix(res, nc = 1) # enforce irlba for spectral initialization even if RSpectra is present # 115: ensure irlba code path gets tested if we can avoid Matrix ABI issue if (exists("Matrix.Version", envir = asNamespace("Matrix")) && - Matrix::Matrix.Version()$package >= "1.6.3") { + Matrix::Matrix.Version()$package >= "1.7.0") { res <- umap(iris10, n_components = 1, n_neighbors = 4, n_epochs = 2, n_threads = 1, verbose = FALSE, init = "irlba_spectral"