Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(semptools)
  > 
  > test_check("semptools")
  [ FAIL 13 | WARN 0 | SKIP 0 | PASS 8 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-change-node.R:2:1'): (code run outside of `test_that()`) ───────
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-change-node.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-change-node_attribute.R:2:1'): (code run outside of `test_that()`) ──
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-change-node_attribute.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-change-node_named_vector.R:2:1'): (code run outside of `test_that()`) ──
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-change-node_named_vector.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-check_intercepts.R:2:1'): (code run outside of `test_that()`) ──
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-check_intercepts.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-custom-labels.R:2:1'): (code run outside of `test_that()`) ─────
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-custom-labels.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-keep_drop_nodes.R:2:1'): (code run outside of `test_that()`) ───
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-keep_drop_nodes.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-nCharNodes.R:2:1'): (code run outside of `test_that()`) ────────
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-nCharNodes.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-set_cfa_layout_after_change_node.R:2:1'): (code run outside of `test_that()`) ──
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-set_cfa_layout_after_change_node.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-set_curve_bidirectional.R:2:1'): (code run outside of `test_that()`) ──
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-set_curve_bidirectional.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-set_sem_layout_2nd_order.R:2:1'): (code run outside of `test_that()`) ──
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-set_sem_layout_2nd_order.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-set_sem_layout_after_change_node.R:2:1'): (code run outside of `test_that()`) ──
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-set_sem_layout_after_change_node.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-set_sem_layout_single.R:2:1'): (code run outside of `test_that()`) ──
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-set_sem_layout_single.R:2:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-to_list_of_lists.R:39:1'): (code run outside of `test_that()`) ──
  Error: package or namespace load failed for 'semPlot':
   objects 'crossprod', 'tcrossprod' are not exported by 'namespace:Matrix'
  Backtrace:
      ▆
   1. └─base::library(semPlot) at test-to_list_of_lists.R:39:0
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  
  [ FAIL 13 | WARN 0 | SKIP 0 | PASS 8 ]
  Error: Test failures
  Execution halted