Running ‘testthat.R’ [10s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(treestats) # nolint keep package name non-all-lowercase, due to backwards compatibility
  Loading required package: Rcpp
  > 
  > test_check("treestats")
  Failed with error:  'there is no package called 'apTreeshape''
  Failed with error:  'there is no package called 'apTreeshape''
  Failed with error:  'there is no package called 'DDD''
  Failed with error:  'there is no package called 'geiger''
  Failed with error:  'there is no package called 'geiger''
  Failed with error:  'there is no package called 'DDD''
  Failed with error:  'there is no package called 'geiger''
  Failed with error:  'there is no package called 'apTreeshape''
  [ FAIL 3 | WARN 1 | SKIP 13 | PASS 643 ]
  
  ══ Skipped tests (13) ══════════════════════════════════════════════════════════
  • On CRAN (8): 'test-allstats.R:4:3', 'test-brts_stats.R:4:3',
    'test-colless_corr.R:33:3', 'test-colless_quad.R:33:3', 'test-rpanda.R:4:3',
    'test-rquartet.R:43:3', 'test-style.R:3:3', 'test-topology_stats.R:4:3'
  • empty test (5): 'test-beta.R:3:1', 'test-colless.R:3:1', 'test-gamma.R:5:1',
    'test-l2phylo.R:3:1', 'test-l2phylo.R:51:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-make_unbalanced_tree.R:12:7'): usage ───────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'DDD'
  Backtrace:
      ▆
   1. ├─treestats::make_unbalanced_tree(...) at test-make_unbalanced_tree.R:12:7
   2. │ └─treestats:::make_any(ltab_in, unbal_steps, selection_method)
   3. │   └─treestats:::make_unbalanced_tree_random(ltab_in, unbal_steps)
   4. └─base::loadNamespace(x)
   5.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   6.     └─base (local) withOneRestart(expr, restarts[[1L]])
   7.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-phylo2l.R:7:3'): usage ─────────────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'DDD'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-phylo2l.R:7:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-treeness.R:7:3'): usage ────────────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'DDD'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-treeness.R:7:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 3 | WARN 1 | SKIP 13 | PASS 643 ]
  Error: Test failures
  Execution halted