Running ‘test-all.R’ [16s/210s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("treeman")
  Loading required package: treeman
  [4] in treelst is not a TreeMan object
  These nodes are invalid:
  n4, n7, t10
   
  These nodes are invalid:
  n3
   
  Root node `x` not in ndlst
   
  These nodes are invalid:
  n5
   
  These nodes are invalid:
  n2, n5
   
  Formal class 'TreeMan' [package "treeman"] with 17 slots
    ..@ ndlst       :List of 19
    ..@ nds         : chr [1:9] "n1" "n2" "n3" "n4" ...
    ..@ nnds        : int 9
    ..@ tips        : chr [1:10] "t1" "t10" "t2" "t3" ...
    ..@ ntips       : int 10
    ..@ all         : chr [1:19] "n1" "n2" "n3" "n4" ...
    ..@ nall        : int 19
    ..@ pd          : num 9.39
    ..@ wspn        : logi TRUE
    ..@ wtxnyms     : logi FALSE
    ..@ ply         : logi FALSE
    ..@ updtd       : logi TRUE
    ..@ ndmtrx      : NULL
    ..@ tinds       : int [1:10] 10 11 12 13 14 15 16 17 18 19
    ..@ prinds      : num [1:19] 1 1 2 3 2 5 4 6 8 5 ...
    ..@ root        : chr "n1"
    ..@ othr_slt_nms: logi(0) 
  [1] "TreeMan Object of [10] tips"
  Tree (TreeMan Object):
    + 10 tips
    + 9 internal nodes
    + Binary
    + PD 10.7
    + Root node is "n1"
  Node (internal node):
    + ID: "n7"
    + prid: "n6"
    + ptid: "t4", "t5"
    + nkids: 2
    + spn: 0.13
    + predist: 0.73
    + pd: 0.58
  Tree (TreeMan Object):
    + 10 tips
    + 9 internal nodes
    + With node matrix
    + Binary
    + PD 10.1
    + Root node is "n1"
    + With additional node slots:
      [binary_val]
  Tree (TreeMan Object):
    + 10 tips
    + 9 internal nodes
    + With node matrix
    + Binary
    + PD 10.9
    + Root node is "n1"
  [1] "TreeMen Object of [3] trees"
  TreeMen Object of [3] trees---- Connection failed: trying again in [2s]----
  ---- Connection failed: trying again in [4s]----
  ---- Connection failed: trying again in [8s]----
  ---- Connection failed: trying again in [16s]----
  ---- Connection failed: trying again in [32s]----
  ── 1. Error: taxaResolve([basic]) works (@test_server_methods.R#53)  ───────────
  no input has determined the number of cases
  1: complete.cases(res) at testthat/test_server_methods.R:53
  
  ---- Connection failed: trying again in [2s]----
  ---- Connection failed: trying again in [4s]----
  ---- Connection failed: trying again in [8s]----
  ---- Connection failed: trying again in [16s]----
  ---- Connection failed: trying again in [32s]----
  ---- Connection failed: trying again in [2s]----
  ---- Connection failed: trying again in [4s]----
  ---- Connection failed: trying again in [8s]----
  ---- Connection failed: trying again in [16s]----
  ---- Connection failed: trying again in [32s]----
  ── 2. Failure: searchTxnyms([basic]) works (@test_server_methods.R#71)  ────────
  nd_labels[["p_Unknown_homo_sp"]] == "Homininae" isn't true.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 245 SKIPPED: 7 FAILED: 2
  1. Error: taxaResolve([basic]) works (@test_server_methods.R#53) 
  2. Failure: searchTxnyms([basic]) works (@test_server_methods.R#71) 
  
  Error: testthat unit tests failed
  Execution halted