Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [55s/83s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("TreeSearch")
  > 
  > test_check("TreeSearch")
  Saving _problems/test-TaxonInfluence-9.R
  Saving _problems/test-TaxonInfluence-35.R
  1 + 0 != 10
  [ FAIL 2 | WARN 0 | SKIP 5 | PASS 7340 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-Jackknife.R:27:1', 'test-PlotCharacter.R:1:1',
    'test-PlotCharacter.R:141:1', 'test-PlotCharacter.R:151:1'
  • Sys.getenv("GITHUB_PAT") == "" is TRUE (1): 'test-MaximizeParsimony.R:71:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-TaxonInfluence.R:9:3'): TaxonInfluence() works ─────────────────
  Error in `PairScorer(splits1, splits2, nTip, ...)`: object '_TreeDist_cpp_mutual_clustering' not found
  Backtrace:
       ▆
    1. └─TreeSearch::TaxonInfluence(...) at test-TaxonInfluence.R:9:3
    2.   ├─base::rowSums(as.matrix(Distance(tree)))
    3.   │ └─base::is.data.frame(x)
    4.   ├─base::as.matrix(Distance(tree))
    5.   └─TreeDist (local) Distance(tree)
    6.     └─TreeDist::MutualClusteringInfo(...)
    7.       └─TreeDist::CalculateTreeDistance(...)
    8.         └─TreeDist:::.SplitDistanceAllPairs(...)
    9.           ├─base::structure(...)
   10.           └─base::apply(is, 2, .CliPairDist)
   11.             └─TreeDist (local) FUN(newX[, i], ...)
   12.               └─TreeDist (local) .PairDist(i)
   13.                 └─TreeDist (local) Func(...)
   14.                   └─TreeDist::GeneralizedRF(...)
   15.                     └─TreeDist (local) PairScorer(splits1, splits2, nTip, ...)
  ── Error ('test-TaxonInfluence.R:34:3'): TaxonInfluence() saves intermediate trees ──
  Error in `PairScorer(splits1, splits2, nTip, ...)`: object '_TreeDist_cpp_mutual_clustering' not found
  Backtrace:
       ▆
    1. └─TreeSearch::TaxonInfluence(...) at test-TaxonInfluence.R:34:3
    2.   └─base::vapply(...)
    3.     └─TreeSearch (local) FUN(X[[i]], ...)
    4.       ├─base::matrix(Distance(tree, result), length(result))
    5.       └─TreeDist (local) Distance(tree, result)
    6.         └─TreeDist::MutualClusteringInfo(...)
    7.           └─TreeDist::CalculateTreeDistance(...)
    8.             └─TreeDist:::.SplitDistanceOneMany(...)
    9.               ├─stats::setNames(...)
   10.               ├─base::unlist(...)
   11.               └─base::.mapply(...)
   12.                 └─TreeDist (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
   13.                   └─TreeDist (local) Func(...)
   14.                     └─TreeDist::GeneralizedRF(...)
   15.                       └─TreeDist (local) PairScorer(splits1, splits2, nTip, ...)
  
  [ FAIL 2 | WARN 0 | SKIP 5 | PASS 7340 ]
  Error:
  ! Test failures.
  Execution halted