Running ‘testthat.R’ [226s/230s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(SCpubr)
  ---------------------------------------------------------------
  SCpubr
  
  If you use SCpubr in your research, please cite it accordingly: 
  Blanco-Carmona, E. Generating publication ready visualizations for Single Cell transcriptomics using SCpubr. bioRxiv (2022) doi:10.1101/2022.02.28.482303.
  
  If the package is useful to you, consider leaving a Star in the GitHub repo: https://github.com/enblacar/SCpubr/stargazers 
  
  Keep track of the package updates on Twitter (@Enblacar) or in https://github.com/enblacar/SCpubr/blob/main/NEWS.md 
  
  To suppress this startup message, use: 
  suppressPackageStartupMessages(library('SCpubr'))
  ---------------------------------------------------------------
  > test_check("SCpubr")
  
  
  [ FAIL 2 | WARN 2 | SKIP 348 | PASS 328 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (348)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-do_EnrichmentHeatmap.R:55'): do_EnrichmentHeatmap: PASS -flavors ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'AUCell'
  Backtrace:
      ▆
   1. ├─SCpubr::do_EnrichmentHeatmap(...) at test-do_EnrichmentHeatmap.R:55:4
   2. │ └─SCpubr:::compute_enrichment_scores(...)
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-utils.R:1124'): utils: compute_enrichment_scores - PASS - checks ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'AUCell'
  Backtrace:
      ▆
   1. ├─SCpubr:::compute_enrichment_scores(...) at test-utils.R:1124:4
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 2 | SKIP 348 | PASS 328 ]
  Error: Test failures
  Execution halted