Running ‘spelling.R’
  Running ‘testthat.R’ [97s/100s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("TreeSearch")
  > 
  > test_check("TreeSearch")
  [ FAIL 4 | WARN 1 | SKIP 4 | PASS 7246 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (3)
  • Sys.getenv("GITHUB_PAT") == "" is TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-PolEscapa.R:27:3'): LengthAdded() ────────────────────────────
  pe10["Neopilina"] not equal to c(Neopilina = 1).
  1/1 mismatches
  [1] 0.986 - 1 == -0.0137
  ── Failure ('test-PolEscapa.R:28:3'): LengthAdded() ────────────────────────────
  sum(pe10) not equal to 1.
  1/1 mismatches
  [1] -0.0822 - 1 == -1.08
  ── Error ('test-PolEscapa.R:31:3'): LengthAdded() ──────────────────────────────
  <<not available>/C++Error/error/condition>
  Error: Not compatible with requested type: [type=NULL; target=integer].
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-PolEscapa.R:31:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─TreeSearch::LengthAdded(trees[[1]], dataset[, 10])
    5.   ├─TreeTools::RootTree(trees, 1)
    6.   └─TreeTools:::RootTree.multiPhylo(trees, 1)
    7.     └─TreeTools:::RootTree.list(tree, outgroupTips)
    8.       └─base::lapply(tree, RootTree, outgroupTips)
    9.         ├─TreeTools (local) FUN(X[[i]], ...)
   10.         └─TreeTools:::RootTree.phylo(X[[i]], ...)
   11.           ├─TreeTools::Preorder(tree)
   12.           └─TreeTools:::Preorder.phylo(tree)
   13.             └─TreeTools::RenumberTree(parent, child)
  ── Error ('test-QuartetResolution.R:2:3'): QuartetResolution() ─────────────────
  <<not available>/C++Error/error/condition>
  Error: Not compatible with requested type: [type=NULL; target=integer].
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-QuartetResolution.R:2:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─TreeSearch::QuartetResolution(...)
    5.   ├─base::vapply(...)
    6.   ├─base::lapply(as.Splits(KeepTip(trees, tips), tips), PolarizeSplits)
    7.   ├─TreeTools::as.Splits(KeepTip(trees, tips), tips)
    8.   └─TreeTools::KeepTip(trees, tips)
    9.     ├─TreeTools::DropTip(tree, keep, preorder, check)
   10.     └─TreeTools:::DropTip.multiPhylo(tree, keep, preorder, check)
   11.       └─base::lapply(tree, DropTip, tip, preorder)
   12.         ├─TreeTools (local) FUN(X[[i]], ...)
   13.         └─TreeTools:::DropTip.phylo(X[[i]], ...)
   14.           ├─TreeTools::Preorder(tree)
   15.           └─TreeTools:::Preorder.phylo(tree)
   16.             └─TreeTools::RenumberTree(parent, child)
  
  [ FAIL 4 | WARN 1 | SKIP 4 | PASS 7246 ]
  Deleting unused snapshots:
  • PlotCharacter/plotchar-000011110000.svg
  • PlotCharacter/plotchar-000011qqqq00.svg
  • PlotCharacter/plotchar-011iiqii0011.svg
  • PlotCharacter/plotchar-01iii1010101.svg
  • PlotCharacter/plotchar-01iiii010101.svg
  • PlotCharacter/plotchar-01iiiiii0101.svg
  • PlotCharacter/plotchar-023iiqq1ii32.svg
  • PlotCharacter/plotchar-023iqqq1ii32.svg
  • PlotCharacter/plotchar-10101iiiii01.svg
  • PlotCharacter/plotchar-10iiii11iii1.svg
  • PlotCharacter/plotchar-1100iiii1100.svg
  • PlotCharacter/plotchar-110iiqiii100.svg
  • PlotCharacter/plotchar-110iiqqii100.svg
  • PlotCharacter/plotchar-11ii1000001i.svg
  • PlotCharacter/plotchar-11ii1qqii111.svg
  • PlotCharacter/plotchar-11iiii111111.svg
  • PlotCharacter/plotchar-11iiiiiii100.svg
  • PlotCharacter/plotchar-11iiqqqqii11.svg
  • PlotCharacter/plotchar-1234d45baacgttt.svg
  • PlotCharacter/plotchar-1iii1111iii1.svg
  • PlotCharacter/plotchar-1iiii1iiii1i.svg
  • PlotCharacter/plotchar-1qqiiqqii100.svg
  • PlotCharacter/plotchar-210210iiiiii.svg
  • PlotCharacter/plotchar-210ii100ii21.svg
  • PlotCharacter/plotchar-21ii1iiii012.svg
  • PlotCharacter/plotchar-21ii3qqii032.svg
  • PlotCharacter/plotchar-230iiqq1ii32.svg
  • PlotCharacter/plotchar-23ii1iiii032.svg
  • PlotCharacter/plotchar-23ii1q1ii023.svg
  • PlotCharacter/plotchar-23ii1qqdi0bid01b32.svg
  • PlotCharacter/plotchar-23qq1qqqq032.svg
  • PlotCharacter/plotchar-320iiqq3ii21.svg
  • PlotCharacter/plotchar-i1i1i1ii1i1i.svg
  • PlotCharacter/plotchar-iiii1010iiii.svg
  • PlotCharacter/plotchar-iiii1111iii1.svg
  • PlotCharacter/plotchar-iiii1111iiii.svg
  • PlotCharacter/plotchar-iiiiii11iii1.svg
  • PlotCharacter/plotchar-iiiiiiii0101.svg
  • PlotCharacter/plotchar-iiiiiiiiiiii.svg
  • PlotCharacter/plotchar-iiiiiiiqqqqq.svg
  • PlotCharacter/plotchar-qqqqiiii1qqq.svg
  • PlotCharacter/plotchar-qqqqqqqqqqqq.svg
  Error: Test failures
  Execution halted