Running ‘spelling.R’
  Running ‘testthat.R’ [26s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clustree)
  Loading required package: ggraph
  Loading required package: ggplot2
  > 
  > test_check("clustree")
  ── 1. Error: SingleCellExperiment interface works (@test-clustree-overlay.R#46) 
  no slot of name "reducedDims" for this object of class "SingleCellExperiment"
  1: expect_is(clustree_overlay(sce, prefix = "sc3_", suffix = "_clusters", x_value = "TSNE1", 
         y_value = "TSNE2", red_dim = "TSNE"), c("gg", "ggplot")) at testthat/test-clustree-overlay.R:46
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: clustree_overlay(sce, prefix = "sc3_", suffix = "_clusters", x_value = "TSNE1", y_value = "TSNE2", 
         red_dim = "TSNE")
  5: clustree_overlay.SingleCellExperiment(sce, prefix = "sc3_", suffix = "_clusters", 
         x_value = "TSNE1", y_value = "TSNE2", red_dim = "TSNE")
  6: red_dim %in% names(x@reducedDims)
  
  ── 2. Failure: SCE red_dim check works (@test-clustree-overlay.R#88)  ──────────
  `clustree_overlay(...)` threw an error with unexpected message.
  Expected match: "red_dim must be the name of"
  Actual message: "no slot of name \"reducedDims\" for this object of class \"SingleCellExperiment\""
  
  ── 3. Failure: SCE x_value y_value check works (@test-clustree-overlay.R#97)  ──
  `clustree_overlay(...)` threw an error with unexpected message.
  Expected match: "No data identified for x_value or y_value"
  Actual message: "no slot of name \"reducedDims\" for this object of class \"SingleCellExperiment\""
  
  ── 4. Failure: SCE x_value y_value check works (@test-clustree-overlay.R#102)  ─
  `clustree_overlay(...)` threw an error with unexpected message.
  Expected match: "No data identified for x_value or y_value"
  Actual message: "no slot of name \"reducedDims\" for this object of class \"SingleCellExperiment\""
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 51 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: SingleCellExperiment interface works (@test-clustree-overlay.R#46) 
  2. Failure: SCE red_dim check works (@test-clustree-overlay.R#88) 
  3. Failure: SCE x_value y_value check works (@test-clustree-overlay.R#97) 
  4. Failure: SCE x_value y_value check works (@test-clustree-overlay.R#102) 
  
  Error: testthat unit tests failed
  Execution halted