Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(vsp)
  > 
  > test_check("vsp")
  Loading required package: Matrix
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-centering-and-scaling.R:130:3'): vsp.Matrix TFFF ───────────────
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-centering-and-scaling.R:130:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─vsp::vsp(...)
   10. ├─vsp:::vsp.dgCMatrix(...)
   11. │ ├─RSpectra::svds(L, k = rank, nu = rank, nv = rank)
   12. │ └─sparseLRMatrix:::svds.sparseLRMatrix(...)
   13. │   ├─RSpectra::svds(...)
   14. │   └─RSpectra:::svds.function(...)
   15. │     └─RSpectra:::svds_real_gen(...)
   16. └─sparseLRMatrix (local) `<fn>`(`<dbl>`, `<sprsLRMt[,1682]>`)
  ── Error ('test-centering-and-scaling.R:157:3'): vsp.Matrix TFTF ───────────────
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-centering-and-scaling.R:157:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─vsp::vsp(...)
   10. └─vsp:::vsp.dgCMatrix(...)
   11.   └─invertiforms::RegularizedLaplacian(L, tau_row = tau_row, tau_col = tau_col)
  ── Error ('test-centering-and-scaling.R:170:3'): vsp.Matrix TFTT ───────────────
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-centering-and-scaling.R:170:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─vsp::vsp(...)
   10. └─vsp:::vsp.dgCMatrix(...)
   11.   └─invertiforms::RegularizedLaplacian(L, tau_row = tau_row, tau_col = tau_col)
  ── Error ('test-centering-and-scaling.R:183:3'): vsp.Matrix TTFF ───────────────
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-centering-and-scaling.R:183:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─vsp::vsp(...)
   10. ├─vsp:::vsp.dgCMatrix(...)
   11. │ ├─RSpectra::svds(L, k = rank, nu = rank, nv = rank)
   12. │ └─sparseLRMatrix:::svds.sparseLRMatrix(...)
   13. │   ├─RSpectra::svds(...)
   14. │   └─RSpectra:::svds.function(...)
   15. │     └─RSpectra:::svds_real_gen(...)
   16. └─sparseLRMatrix (local) `<fn>`(`<dbl>`, `<sprsLRMt[,1682]>`)
  ── Error ('test-centering-and-scaling.R:210:3'): vsp.Matrix TTTF ───────────────
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-centering-and-scaling.R:210:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─vsp::vsp(...)
   10. └─vsp:::vsp.dgCMatrix(...)
   11.   └─invertiforms::RegularizedLaplacian(L, tau_row = tau_row, tau_col = tau_col)
  ── Error ('test-centering-and-scaling.R:223:3'): vsp.Matrix TTTT ───────────────
  Error: 'tcrossprod' is not an exported object from 'namespace:Matrix'
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-centering-and-scaling.R:223:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─vsp::vsp(...)
   10. └─vsp:::vsp.dgCMatrix(...)
   11.   └─invertiforms::RegularizedLaplacian(L, tau_row = tau_row, tau_col = tau_col)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 16 ]
  Error: Test failures
  Execution halted