Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(nLTT) # nolint keep package name non-all-lowercase, due to backwards compatibility
  > 
  > test_check("nLTT")
  
  Generating Chain
  0--------25--------50--------75--------100
  *══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-abc_smc_nltt.R:107:3): abc_smc_nltt abuse ───────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'TreeSim'
  Backtrace:
      █
   1. ├─nLTT:::treesim(c(1, 0)) test-abc_smc_nltt.R:107:2
   2. └─base::loadNamespace(x) test-abc_smc_nltt.R:71:4
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base:::withOneRestart(expr, restarts[[1L]])
   5.       └─base:::doWithOneRestart(return(expr), restart)
  ── Error (test-get_average_nltt.R:51:3): nltts_plot: check data types ──────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'TreeSim'
  Backtrace:
      █
   1. └─base::loadNamespace(x) test-get_average_nltt.R:51:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base:::withOneRestart(expr, restarts[[1L]])
   4.       └─base:::doWithOneRestart(return(expr), restart)
  ── Error (test-get_average_nltt_matrix.R:147:3): data types ────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'TreeSim'
  Backtrace:
      █
   1. └─base::loadNamespace(x) test-get_average_nltt_matrix.R:147:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base:::withOneRestart(expr, restarts[[1L]])
   4.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 3 | WARN 0 | SKIP 3 | PASS 116 ]
  Error: Test failures
  Execution halted