Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [61s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("TreeTools", quietly = TRUE, warn.conflicts = FALSE)
  > 
  > suppressPackageStartupMessages(test_check("TreeTools"))
  [ FAIL 10 | WARN 0 | SKIP 6 | PASS 3107 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-tree_display.R:2:3'): SortTree() works ─────────────────────────
  Error in `NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-tree_display.R:2:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─TreeTools::SortTree(as.phylo(10, 6))
   5. └─TreeTools:::SortTree.phylo(as.phylo(10, 6))
   6.   └─TreeTools::Renumber(tree)
   7.     ├─TreeTools::ApePostorder(tree)
   8.     └─TreeTools:::ApePostorder.phylo(tree)
   9.       └─TreeTools::NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)
  ── Error ('test-tree_display.R:49:3'): SortTree.multiPhylo() ───────────────────
  Error in `NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_identical(...) at test-tree_display.R:49:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::structure(list(SortTree(t1), SortTree(t2)), class = "multiPhylo")
    5. ├─TreeTools::SortTree(t1)
    6. └─TreeTools:::SortTree.phylo(t1)
    7.   └─TreeTools::Renumber(tree)
    8.     ├─TreeTools::ApePostorder(tree)
    9.     └─TreeTools:::ApePostorder.phylo(tree)
   10.       └─TreeTools::NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)
  ── Error ('test-tree_generation.R:138:3'): EnforceOutgroup() fails nicely ──────
  Error in `NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test-tree_generation.R:138:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::all.equal(...)
    5. ├─ape::all.equal.phylo(...)
    6. ├─TreeTools::Subtree(...)
    7. ├─TreeTools::Preorder(EnforceOutgroup(letters[1:8], letters[5:6]))
    8. ├─TreeTools::EnforceOutgroup(letters[1:8], letters[5:6])
    9. └─TreeTools:::EnforceOutgroup.character(letters[1:8], letters[5:6])
   10.   └─TreeTools:::.EnforceOutgroup(...)
   11.     ├─TreeTools::RenumberTips(Renumber(result), taxa)
   12.     └─TreeTools::Renumber(result)
   13.       ├─TreeTools::ApePostorder(tree)
   14.       └─TreeTools:::ApePostorder.phylo(tree)
   15.         └─TreeTools::NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)
  ── Error ('test-tree_numbering.R:69:3'): Replacement reorder functions work correctly ──
  Error in `NeworderPruningwise(nTip, nNode, edge[, 1], edge[, 2], nEdge)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-tree_numbering.R:69:2
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─TreeTools::Pruningwise(tree)
   5. └─TreeTools:::Pruningwise.phylo(tree)
   6.   └─TreeTools::NeworderPruningwise(...)
  ── Error ('test-tree_numbering.R:190:3'): Reorder methods work correctly ───────
  Error in `NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─TreeTools (local) Test(ApePostorder, testEdges = FALSE) at test-tree_numbering.R:190:2
   2.   ├─testthat::expect_identical(Method(bal7, ...), Method(list7, ...)[[1]]) at test-tree_numbering.R:177:4
   3.   │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   4.   │   └─rlang::eval_bare(expr, quo_get_env(quo))
   5.   ├─TreeTools (local) Method(bal7, ...)
   6.   └─TreeTools:::ApePostorder.phylo(bal7, ...)
   7.     └─TreeTools::NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)
  ── Error ('test-tree_numbering.R:233:3'): Reorder methods retain edge weights ──
  Error in `NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 1)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-tree_numbering.R:233:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─TreeTools::Preorder(Cladewise(bal7))
   5. ├─TreeTools::Cladewise(bal7)
   6. └─TreeTools:::Cladewise.phylo(bal7)
   7.   └─TreeTools::NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 1)
  ── Error ('test-tree_properties.R:44:3'): Root node can be found ───────────────
  Error in `NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 1)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-tree_properties.R:44:2
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─TreeTools::RootNode(...)
   5. ├─TreeTools::Cladewise(postorder)
   6. └─TreeTools:::Cladewise.phylo(postorder)
   7.   └─TreeTools::NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 1)
  ── Error ('test-tree_rearrange.R:140:3'): root_on_node() works ─────────────────
  Error in `NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. └─TreeTools (local) TipTest(i) at test-tree_rearrange.R:140:2
    2.   ├─testthat::expect_equal(...) at test-tree_rearrange.R:130:4
    3.   │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    4.   │   └─rlang::eval_bare(expr, quo_get_env(quo))
    5.   ├─TreeTools::SortTree(root(tree, i, resolve.root = TRUE))
    6.   └─TreeTools:::SortTree.phylo(root(tree, i, resolve.root = TRUE))
    7.     └─TreeTools::Renumber(tree)
    8.       ├─TreeTools::ApePostorder(tree)
    9.       └─TreeTools:::ApePostorder.phylo(tree)
   10.         └─TreeTools::NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)
  ── Error ('test-tree_rearrange.R:207:3'): RootTree() works ─────────────────────
  Error in `NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test-tree_rearrange.R:207:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::all.equal(...)
    5. ├─TreeTools::EnforceOutgroup(bal8, c("t5", "t6"))
    6. └─TreeTools:::EnforceOutgroup.phylo(bal8, c("t5", "t6"))
    7.   └─TreeTools:::.EnforceOutgroup(tree, outgroup, tree[["tip.label"]])
    8.     ├─TreeTools::RenumberTips(Renumber(result), taxa)
    9.     └─TreeTools::Renumber(result)
   10.       ├─TreeTools::ApePostorder(tree)
   11.       └─TreeTools:::ApePostorder.phylo(tree)
   12.         └─TreeTools::NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)
  ── Error ('test-tree_shape.R:67:3'): Rooted tree shapes calculated ─────────────
  Error in `NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(as.integer64(0L), RootedTreeShape(SortTree(PectinateTree(0:3)))) at test-tree_shape.R:67:2
    2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─TreeTools::RootedTreeShape(SortTree(PectinateTree(0:3)))
    5. ├─TreeTools::SortTree(PectinateTree(0:3))
    6. └─TreeTools:::SortTree.phylo(PectinateTree(0:3))
    7.   └─TreeTools::Renumber(tree)
    8.     ├─TreeTools::ApePostorder(tree)
    9.     └─TreeTools:::ApePostorder.phylo(tree)
   10.       └─TreeTools::NeworderPhylo(nTip, edge[, 1], edge[, 2], nEdge, 2L)
  
  [ FAIL 10 | WARN 0 | SKIP 6 | PASS 3107 ]
  Deleting unused snapshots:
  • RoguePlot/rogueplot-trees2.svg
  • Support/labelsplits-nameless.svg
  • Support/labelsplits-names.svg
  • tree_display/sorted-tree.svg
  Error: Test failures
  Execution halted