Running ‘test-all.R’ [16s/27s]
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, n9, t9
   
  These nodes are invalid:
  n5
   
  Root node `x` not in ndlst
   
  These nodes are invalid:
  n4
   
  These nodes are invalid:
  n2, n4
   
  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 6.59
    ..@ 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 1 2 4 4 3 5 8 6 ...
    ..@ root        : chr "n1"
    ..@ othr_slt_nms: logi(0) 
  [1] "TreeMan Object of [10] tips"
  Tree (TreeMan Object):
    + 10 tips
    + 9 internal nodes
    + Binary
    + PD 8.81
    + Root node is "n1"
  Node (internal node):
    + ID: "n2"
    + prid: "n1"
    + ptid: "n3", "n4"
    + nkids: 9
    + spn: 0.27
    + predist: 0.27
    + pd: 6
  [1] "TreeMen Object of [3] trees"
  TreeMen Object of [3] trees══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (8)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-calc-methods.R:10:3): calc_Blnc() works ─────────────────────────
  Error in `.preCtest(id, prinds)`: 1 or more arguments are of the wrong type
  Backtrace:
       █
    1. └─treeman::calcNdsBlnc(tree, tree["nds"]) test-calc-methods.R:10:2
    2.   └─plyr::mdply(...)
    3.     └─plyr::adply(...)
    4.       └─plyr::ldply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (tree, id) ...
   11.                 └─treeman::getNdKids(tree, id)
   12.                   └─treeman:::.getNdKidsFrmLst(...)
   13.                     └─treeman:::.getNdPtidsFrmLst(ndlst, prinds, id)
   14.                       └─treeman:::.preCtest(id, prinds)
  ── Error (test-calc-methods.R:15:3): calcDstTrp() works ────────────────────────
  Error in `tree@ndlst[[i]]`: recursive indexing failed at level 3
  
  Backtrace:
      █
   1. └─treeman::setNdsID(tree_1, tree_1["tips"], sample(tree_1["tips"])) test-calc-methods.R:15:2
   2.   └─plyr::mlply(l_data, .fun = .reset, .parallel = parallel, .progress = progress)
   3.     └─plyr::alply(...)
   4.       └─plyr::llply(...)
   5.         ├─plyr:::loop_apply(n, do.ply)
   6.         └─(function (i) ...
   7.           └─plyr:::.fun(piece, ...)
   8.             ├─base::do.call(flat, c(args, list(...)))
   9.             └─(function (i) ...
  ── Error (test-calc-methods.R:25:3): calcOvrlp() works ─────────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::calcOvrlp(...) test-calc-methods.R:25:2
    2.   └─treeman::getNdsSlt(...)
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (i) ...
   11.                 └─treeman::getNdSlt(tree, slt_nm, ids[i])
  ── Error (test-calc-methods.R:53:3): calcPhyDv() works ─────────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::calcPhyDv(tree, tips) test-calc-methods.R:53:2
    2.   └─treeman::getCnnctdNds(tree, tids)
    3.     ├─base::unlist(getNdsPrids(tree, tids))
    4.     └─treeman::getNdsPrids(tree, tids)
    5.       └─treeman:::.getNdsPridsFrmLst(...)
    6.         └─plyr::mlply(...)
    7.           └─plyr::alply(...)
    8.             └─plyr::llply(...)
    9.               ├─plyr:::loop_apply(n, do.ply)
   10.               └─(function (i) ...
   11.                 └─plyr:::.fun(piece, ...)
   12.                   ├─base::do.call(flat, c(args, list(...)))
   13.                   └─(function (ndlst, prinds, id) ...
  ── Error (test-calc-methods.R:59:3): calcFrPrp() works ─────────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
      █
   1. └─treeman::calcFrPrp(tree, tree["tips"]) test-calc-methods.R:59:2
   2.   └─plyr::m_ply(...)
   3.     └─plyr::a_ply(...)
   4.       └─plyr::l_ply(...)
   5.         └─plyr:::do.ply(i)
   6.           └─plyr:::.fun(piece, ...)
   7.             ├─base::do.call(flat, c(args, list(...)))
   8.             └─(function (i) ...
   9.               └─treeman::getNdSlt(tree, "spn", id)
  ── Error (test-calc-methods.R:66:3): calcPrtFrPrp() works ──────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
      █
   1. └─treeman::calcPrtFrPrp(tree, tids, ignr = ignr) test-calc-methods.R:66:2
   2.   └─plyr::m_ply(...)
   3.     └─plyr::a_ply(...)
   4.       └─plyr::l_ply(...)
   5.         └─plyr:::do.ply(i)
   6.           └─plyr:::.fun(piece, ...)
   7.             ├─base::do.call(flat, c(args, list(...)))
   8.             └─(function (i) ...
   9.               └─treeman::getNdSlt(tree, "spn", id)
  ── Error (test-calc-methods.R:78:3): calcDstMtrx() works ───────────────────────
  Error in `(function (id_1, id_2) 
  {
      if (id_1 == id_2) {
          return(0)
      }
      path <- getPath(tree, from = id_1, to = id_2)
      path_spns <- unlist(lapply(tree@ndlst[path], function(n) n[["spn"]]))
      sum(path_spns)
  })(id_1 = c("n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", 
  "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10", 
  "n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", "t1", "t2", 
  "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10", "n1", "n2", 
  "n3", "n4", "n5", "n6", "n7", "n8", "n9", "t1", "t2", "t3", "t4", 
  "t5", "t6", "t7", "t8", "t9", "t10", "n1", "n2", "n3", "n4", 
  "n5", "n6", "n7", "n8", "n9", "t1", "t2", "t3", "t4", "t5", "t6", 
  "t7", "t8", "t9", "t10", "n1", "n2", "n3", "n4", "n5", "n6", 
  "n7", "n8", "n9", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", 
  "t9", "t10", "n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", 
  "n9", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10", 
  "n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", "t1", "t2", 
  "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10", "n1", "n2", 
  "n3", "n4", "n5", "n6", "n7", "n8", "n9", "t1", "t2", "t3", "t4", 
  "t5", "t6", "t7", "t8", "t9", "t10", "n1", "n2", "n3", "n4", 
  "n5", "n6", "n7", "n8", "n9", "t1", "t2", "t3", "t4", "t5", "t6", 
  "t7", "t8", "t9", "t10", "n1", "n2", "n3", "n4", "n5", "n6", 
  "n7", "n8", "n9", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", 
  "t9", "t10", "n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", 
  "n9", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10", 
  "n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", "t1", "t2", 
  "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10", "n1", "n2", 
  "n3", "n4", "n5", "n6", "n7", "n8", "n9", "t1", "t2", "t3", "t4", 
  "t5", "t6", "t7", "t8", "t9", "t10", "n1", "n2", "n3", "n4", 
  "n5", "n6", "n7", "n8", "n9", "t1", "t2", "t3", "t4", "t5", "t6", 
  "t7", "t8", "t9", "t10", "n1", "n2", "n3", "n4", "n5", "n6", 
  "n7", "n8", "n9", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", 
  "t9", "t10", "n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", 
  "n9", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10", 
  "n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", "t1", "t2", 
  "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10", "n1", "n2", 
  "n3", "n4", "n5", "n6", "n7", "n8", "n9", "t1", "t2", "t3", "t4", 
  "t5", "t6", "t7", "t8", "t9", "t10", "n1", "n2", "n3", "n4", 
  "n5", "n6", "n7", "n8", "n9", "t1", "t2", "t3", "t4", "t5", "t6", 
  "t7", "t8", "t9", "t10"))`: argument "id_2" is missing, with no default
  Backtrace:
       █
    1. └─treeman::calcDstMtrx(tree, ids) test-calc-methods.R:78:2
    2.   └─plyr::mdply(...)
    3.     └─plyr::adply(...)
    4.       └─plyr::ldply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (id_1, id_2) ...
  ── Error (test-gen-methods.R:12:5): randTree() works ───────────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getAge(tree) test-gen-methods.R:12:4
    2.   └─treeman:::.getTreeAgeFrmLst(...)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-gen-methods.R:21:5): blncdTree() works ──────────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getAge(tree) test-gen-methods.R:21:4
    2.   └─treeman:::.getTreeAgeFrmLst(...)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-gen-methods.R:30:5): unblncdTree() works ────────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getAge(tree) test-gen-methods.R:30:4
    2.   └─treeman:::.getTreeAgeFrmLst(...)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-get-nd-methods.R:25:3): getNdPD() works ─────────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getNdsSlt(tree, "spn", tree["all"]) test-get-nd-methods.R:25:2
    2.   └─plyr::mlply(...)
    3.     └─plyr::alply(...)
    4.       └─plyr::llply(...)
    5.         ├─plyr:::loop_apply(n, do.ply)
    6.         └─(function (i) ...
    7.           └─plyr:::.fun(piece, ...)
    8.             ├─base::do.call(flat, c(args, list(...)))
    9.             └─(function (i) ...
   10.               └─treeman::getNdSlt(tree, slt_nm, ids[i])
  ── Error (test-get-nd-methods.R:35:3): getNdAge() works ────────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getAge(tree) test-get-nd-methods.R:35:2
    2.   └─treeman:::.getTreeAgeFrmLst(...)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-get-nds-methods.R:20:3): getNdsLng() works ──────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getNdsLng(mammals, rndm_tps) test-get-nds-methods.R:20:2
    2.   └─plyr::mlply(...)
    3.     └─plyr::alply(...)
    4.       └─plyr::llply(...)
    5.         ├─plyr:::loop_apply(n, do.ply)
    6.         └─(function (i) ...
    7.           └─plyr:::.fun(piece, ...)
    8.             ├─base::do.call(flat, c(args, list(...)))
    9.             └─(function (tree, id) ...
   10.               └─treeman::getNdPrids(tree, id)
   11.                 └─treeman:::.getNdPridsFrmLst(...)
  ── Error (test-get-nds-methods.R:26:3): getNdsPD() works ───────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getNdsSlt(tree, "spn", tree["all"]) test-get-nds-methods.R:26:2
    2.   └─plyr::mlply(...)
    3.     └─plyr::alply(...)
    4.       └─plyr::llply(...)
    5.         ├─plyr:::loop_apply(n, do.ply)
    6.         └─(function (i) ...
    7.           └─plyr:::.fun(piece, ...)
    8.             ├─base::do.call(flat, c(args, list(...)))
    9.             └─(function (i) ...
   10.               └─treeman::getNdSlt(tree, slt_nm, ids[i])
  ── Error (test-get-nds-methods.R:34:3): getNdsPrdst() works ────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getAge(tree) test-get-nds-methods.R:34:2
    2.   └─treeman:::.getTreeAgeFrmLst(...)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-get-nds-methods.R:41:3): getNdsSstr() works ─────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getNdsSstr(tree, tips) test-get-nds-methods.R:41:2
    2.   └─plyr::mdply(...)
    3.     └─plyr::adply(...)
    4.       └─plyr::ldply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (ndlst, id) ...
  ── Error (test-get-nds-methods.R:47:3): getNdsSlt() works ──────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getNdsSlt(tree, "spn", tree["all"]) test-get-nds-methods.R:47:2
    2.   └─plyr::mlply(...)
    3.     └─plyr::alply(...)
    4.       └─plyr::llply(...)
    5.         ├─plyr:::loop_apply(n, do.ply)
    6.         └─(function (i) ...
    7.           └─plyr:::.fun(piece, ...)
    8.             ├─base::do.call(flat, c(args, list(...)))
    9.             └─(function (i) ...
   10.               └─treeman::getNdSlt(tree, slt_nm, ids[i])
  ── Error (test-get-nds-methods.R:56:3): getNdsKids() works ─────────────────────
  Error in `names(res) <- ids`: 'names' attribute [9] must be the same length as the vector [1]
  Backtrace:
      █
   1. └─treeman::getNdsKids(tree, tree["nds"]) test-get-nds-methods.R:56:2
   2.   └─treeman:::.getNdsKidsFrmLst(...)
  ── Error (test-get-nds-methods.R:68:3): getSpnsAge() works ─────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getSpnsAge(tree, tree["tips"], tree_age = tree_age) test-get-nds-methods.R:68:2
    2.   └─treeman::getNdsSlt(tree, slt_nm = "spn", ids = ids, parallel)
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (i) ...
   11.                 └─treeman::getNdSlt(tree, slt_nm, ids[i])
  ── Error (test-get-nds-methods.R:78:3): getNdsPrids() works ────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getNdsPrids(tree, tree["nds"], ordrd = TRUE) test-get-nds-methods.R:78:2
    2.   └─treeman:::.getNdsPridsFrmLst(...)
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (ndlst, prinds, id) ...
  ── Error (test-get-nds-methods.R:84:3): getNdsPtids() works ────────────────────
  Error in `names(out) <- attr(out, "split_labels")[, 1]`: 'names' attribute [9] must be the same length as the vector [1]
  Backtrace:
      █
   1. └─treeman::getNdsPtids(tree, tree["nds"]) test-get-nds-methods.R:84:2
   2.   └─treeman:::.getNdsPtidsFrmLst(...)
  ── Error (test-get-nds-methods.R:95:3): getNdsLng() works ──────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getNdsLng(tree, tree["tips"]) test-get-nds-methods.R:95:2
    2.   └─plyr::mlply(...)
    3.     └─plyr::alply(...)
    4.       └─plyr::llply(...)
    5.         ├─plyr:::loop_apply(n, do.ply)
    6.         └─(function (i) ...
    7.           └─plyr:::.fun(piece, ...)
    8.             ├─base::do.call(flat, c(args, list(...)))
    9.             └─(function (tree, id) ...
   10.               └─treeman::getNdPrids(tree, id)
   11.                 └─treeman:::.getNdPridsFrmLst(...)
  ── Error (test-get-spcl-methods.R:28:3): isUltrmtrc() works ────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. ├─testthat::expect_false(isUltrmtrc(tree)) test-get-spcl-methods.R:28:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─treeman::isUltrmtrc(tree)
    5.   └─treeman:::.livingOrDesceased(tree, tol = tol, bool = FALSE)
    6.     └─treeman:::.getNdsPrdstsFrmLst(...)
    7.       └─plyr::mdply(...)
    8.         └─plyr::adply(...)
    9.           └─plyr::ldply(...)
   10.             └─plyr::llply(...)
   11.               ├─plyr:::loop_apply(n, do.ply)
   12.               └─(function (i) ...
   13.                 └─plyr:::.fun(piece, ...)
   14.                   ├─base::do.call(flat, c(args, list(...)))
   15.                   └─(function (ndlst, prinds, id) ...
   16.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-get-spcl-methods.R:34:3): getDcsd() works ───────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getDcsd(tree) test-get-spcl-methods.R:34:2
    2.   └─treeman:::.livingOrDesceased(tree = tree, tol = tol, bool = FALSE)
    3.     └─treeman::getNdsSlt(tree, "spn", names(tree@ndlst))
    4.       └─plyr::mlply(...)
    5.         └─plyr::alply(...)
    6.           └─plyr::llply(...)
    7.             ├─plyr:::loop_apply(n, do.ply)
    8.             └─(function (i) ...
    9.               └─plyr:::.fun(piece, ...)
   10.                 ├─base::do.call(flat, c(args, list(...)))
   11.                 └─(function (i) ...
   12.                   └─treeman::getNdSlt(tree, slt_nm, ids[i])
  ── Error (test-get-spcl-methods.R:39:3): getLvng() works ───────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getLvng(tree) test-get-spcl-methods.R:39:2
    2.   └─treeman:::.livingOrDesceased(tree = tree, tol = tol, bool = TRUE)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-get-spcl-methods.R:45:3): getUnqNds() works ─────────────────────
  Error in `.preCtest(prind, prinds)`: 1 or more arguments are of the wrong type
  Backtrace:
       █
    1. └─treeman::getUnqNds(tree, tids) test-get-spcl-methods.R:45:2
    2.   ├─base::unique(unlist(getNdsPrids(tree, tids)))
    3.   ├─base::unlist(getNdsPrids(tree, tids))
    4.   └─treeman::getNdsPrids(tree, tids)
    5.     └─treeman:::.getNdsPridsFrmLst(...)
    6.       └─plyr::mlply(...)
    7.         └─plyr::alply(...)
    8.           └─plyr::llply(...)
    9.             ├─plyr:::loop_apply(n, do.ply)
   10.             └─(function (i) ...
   11.               └─plyr:::.fun(piece, ...)
   12.                 ├─base::do.call(flat, c(args, list(...)))
   13.                 └─(function (ndlst, prinds, id) ...
   14.                   └─treeman:::.preCtest(prind, prinds)
  ── Error (test-get-spcl-methods.R:51:3): getCnntdNds() works ───────────────────
  Error in `.preCtest(prind, prinds)`: 1 or more arguments are of the wrong type
  Backtrace:
       █
    1. └─treeman::getCnnctdNds(tree, tids) test-get-spcl-methods.R:51:2
    2.   ├─base::unlist(getNdsPrids(tree, tids))
    3.   └─treeman::getNdsPrids(tree, tids)
    4.     └─treeman:::.getNdsPridsFrmLst(...)
    5.       └─plyr::mlply(...)
    6.         └─plyr::alply(...)
    7.           └─plyr::llply(...)
    8.             ├─plyr:::loop_apply(n, do.ply)
    9.             └─(function (i) ...
   10.               └─plyr:::.fun(piece, ...)
   11.                 ├─base::do.call(flat, c(args, list(...)))
   12.                 └─(function (ndlst, prinds, id) ...
   13.                   └─treeman:::.preCtest(prind, prinds)
  ── Error (test-get-spcl-methods.R:64:3): getTreeAge() works ────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getAge(tree) test-get-spcl-methods.R:64:2
    2.   └─treeman:::.getTreeAgeFrmLst(...)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-get-spcl-methods.R:73:3): getOtgrp() works ──────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getOtgrp(tree, ids = c(ingrp, otgrp)) test-get-spcl-methods.R:73:2
    2.   └─treeman::getPrnt(tree, ids)
    3.     └─treeman:::.getNdsPridsFrmLst(...)
    4.       └─plyr::mlply(...)
    5.         └─plyr::alply(...)
    6.           └─plyr::llply(...)
    7.             ├─plyr:::loop_apply(n, do.ply)
    8.             └─(function (i) ...
    9.               └─plyr:::.fun(piece, ...)
   10.                 ├─base::do.call(flat, c(args, list(...)))
   11.                 └─(function (ndlst, prinds, id) ...
  ── Error (test-get-spcl-methods.R:79:3): getPrnt() works ───────────────────────
  Error in `.preCtest(prind, prinds)`: 1 or more arguments are of the wrong type
  Backtrace:
       █
    1. └─treeman::getPrnt(tree, ids = c("A", "F")) test-get-spcl-methods.R:79:2
    2.   └─treeman:::.getNdsPridsFrmLst(...)
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (ndlst, prinds, id) ...
   11.                 └─treeman:::.preCtest(prind, prinds)
  ── Error (test-get-spcl-methods.R:85:3): getPath() works ───────────────────────
  Error in `.preCtest(prind, prinds)`: 1 or more arguments are of the wrong type
  Backtrace:
       █
    1. └─treeman::getPrnt(tree, ids = c("t1", "t10")) test-get-spcl-methods.R:85:2
    2.   └─treeman:::.getNdsPridsFrmLst(...)
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (ndlst, prinds, id) ...
   11.                 └─treeman:::.preCtest(prind, prinds)
  ── Error (test-get-spcl-methods.R:93:3): getSubtree(id) works ──────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getAge(tree) test-get-spcl-methods.R:93:2
    2.   └─treeman:::.getTreeAgeFrmLst(...)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-manip-methods.R:52:3): addTip() works ───────────────────────────
  Error in `(function (id, spn) 
  {
      ndlst[[id]][["spn"]] <- spn
      ndlst[[id]]
  })(id = c("n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", 
  "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10"))`: argument "spn" is missing, with no default
  Backtrace:
      █
   1. └─treeman::setNdsSpn(tree, tree["all"], 0) test-manip-methods.R:52:2
   2.   └─plyr::mlply(l_data, .fun = .reset, .parallel = parallel, .progress = progress)
   3.     └─plyr::alply(...)
   4.       └─plyr::llply(...)
   5.         ├─plyr:::loop_apply(n, do.ply)
   6.         └─(function (i) ...
   7.           └─plyr:::.fun(piece, ...)
   8.             ├─base::do.call(flat, c(args, list(...)))
   9.             └─(function (id, spn) ...
  ── Error (test-manip-methods.R:120:3): pinTips() work ──────────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman:::randomLineage(n_start/2, tree) test-manip-methods.R:120:2
    2.   └─treeman::getNdsLng(tree, tree["tips"]) test-manip-methods.R:25:2
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (tree, id) ...
   11.                 └─treeman::getNdPrids(tree, id)
   12.                   └─treeman:::.getNdPridsFrmLst(...)
  ── Error (test-manip-methods.R:142:5): ultrTree() works ────────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::ultrTree(tree) test-manip-methods.R:142:4
    2.   ├─base::vapply(getNdsPrids(tree, tree@tips), length, integer(1))
    3.   └─treeman::getNdsPrids(tree, tree@tips)
    4.     └─treeman:::.getNdsPridsFrmLst(...)
    5.       └─plyr::mlply(...)
    6.         └─plyr::alply(...)
    7.           └─plyr::llply(...)
    8.             ├─plyr:::loop_apply(n, do.ply)
    9.             └─(function (i) ...
   10.               └─plyr:::.fun(piece, ...)
   11.                 ├─base::do.call(flat, c(args, list(...)))
   12.                 └─(function (ndlst, prinds, id) ...
  ── Error (test-ndlst-methods.R:74:3): .getNdPrdstFrmLst([basic]) works ─────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getAge(tree) test-ndlst-methods.R:74:2
    2.   └─treeman:::.getTreeAgeFrmLst(...)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-ndlst-methods.R:140:3): .getNdsPtidsFrmLst() works ──────────────
  Error in `names(out) <- attr(out, "split_labels")[, 1]`: 'names' attribute [199] must be the same length as the vector [1]
  Backtrace:
      █
   1. └─treeman:::.getNdsPtidsFrmLst(...) test-ndlst-methods.R:140:2
  ── Error (test-ndlst-methods.R:152:3): .getNdsPridsFrmLst() works ──────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
      █
   1. └─treeman:::.getNdsPridsFrmLst(...) test-ndlst-methods.R:152:2
   2.   └─plyr::mlply(...)
   3.     └─plyr::alply(...)
   4.       └─plyr::llply(...)
   5.         ├─plyr:::loop_apply(n, do.ply)
   6.         └─(function (i) ...
   7.           └─plyr:::.fun(piece, ...)
   8.             ├─base::do.call(flat, c(args, list(...)))
   9.             └─(function (ndlst, prinds, id) ...
  ── Error (test-ndlst-methods.R:163:3): .getNdsPDFrmLst() works ─────────────────
  Error in `list_to_dataframe(res, attr(.data, "split_labels"), .id, id_as_factor)`: nrow(labels) == length(null) is not TRUE
  Backtrace:
      █
   1. └─treeman:::.getNdsPDFrmLst(...) test-ndlst-methods.R:163:2
   2.   └─plyr::mdply(...)
   3.     └─plyr::adply(...)
   4.       └─plyr::ldply(...)
   5.         └─plyr:::list_to_dataframe(...)
   6.           └─base::stopifnot(nrow(labels) == length(null))
  ── Error (test-ndlst-methods.R:175:3): .getNdsKidsFrmLst() works ───────────────
  Error in `names(res) <- ids`: 'names' attribute [199] must be the same length as the vector [1]
  Backtrace:
      █
   1. └─treeman:::.getNdsKidsFrmLst(...) test-ndlst-methods.R:175:2
  ── Error (test-ndlst-methods.R:187:3): .getNdsPrdstsFrmLst() works ─────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman:::.getNdsPrdstsFrmLst(...) test-ndlst-methods.R:187:2
    2.   └─plyr::mdply(...)
    3.     └─plyr::adply(...)
    4.       └─plyr::ldply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (ndlst, prinds, id) ...
   11.                 └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-ndlst-methods.R:199:3): .getTreeAge() works ─────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman:::.getTreeAgeFrmLst(...) test-ndlst-methods.R:199:2
    2.   └─treeman:::.getNdsPrdstsFrmLst(...)
    3.     └─plyr::mdply(...)
    4.       └─plyr::adply(...)
    5.         └─plyr::ldply(...)
    6.           └─plyr::llply(...)
    7.             ├─plyr:::loop_apply(n, do.ply)
    8.             └─(function (i) ...
    9.               └─plyr:::.fun(piece, ...)
   10.                 ├─base::do.call(flat, c(args, list(...)))
   11.                 └─(function (ndlst, prinds, id) ...
   12.                   └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-node.R:19:3): Node works (rooted + w/o spns) ────────────────────
  Error in `(function (id, spn) 
  {
      ndlst[[id]][["spn"]] <- spn
      ndlst[[id]]
  })(id = c("n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", 
  "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10"))`: argument "spn" is missing, with no default
  Backtrace:
      █
   1. └─treeman::setNdsSpn(tree, ids = tree["all"], vals = 0) test-node.R:19:2
   2.   └─plyr::mlply(l_data, .fun = .reset, .parallel = parallel, .progress = progress)
   3.     └─plyr::alply(...)
   4.       └─plyr::llply(...)
   5.         ├─plyr:::loop_apply(n, do.ply)
   6.         └─(function (i) ...
   7.           └─plyr:::.fun(piece, ...)
   8.             ├─base::do.call(flat, c(args, list(...)))
   9.             └─(function (id, spn) ...
  ── Error (test-rw-methods.R:30:3): readTree([w/ node labels]) works ────────────
  Error in `(function (id, val) 
  {
      tree@ndlst[[id]][[slt_nm]] <<- val
  })(id = c("n5", "n6"))`: argument "val" is missing, with no default
  Backtrace:
       █
    1. └─treeman::readTree(...) test-rw-methods.R:30:2
    2.   └─treeman:::.readTree(trstr, spcl_slt_nm, wndmtrx)
    3.     └─treeman::setNdsOther(...)
    4.       └─plyr::m_ply(...)
    5.         └─plyr::a_ply(...)
    6.           └─plyr::l_ply(...)
    7.             └─plyr:::do.ply(i)
    8.               └─plyr:::.fun(piece, ...)
    9.                 ├─base::do.call(flat, c(args, list(...)))
   10.                 └─(function (id, val) ...
  ── Error (test-rw-methods.R:53:3): writeTrmn([for TreeMan]) works ──────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getAge(t1) test-rw-methods.R:53:2
    2.   └─treeman:::.getTreeAgeFrmLst(...)
    3.     └─treeman:::.getNdsPrdstsFrmLst(...)
    4.       └─plyr::mdply(...)
    5.         └─plyr::adply(...)
    6.           └─plyr::ldply(...)
    7.             └─plyr::llply(...)
    8.               ├─plyr:::loop_apply(n, do.ply)
    9.               └─(function (i) ...
   10.                 └─plyr:::.fun(piece, ...)
   11.                   ├─base::do.call(flat, c(args, list(...)))
   12.                   └─(function (ndlst, prinds, id) ...
   13.                     └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test-rw-methods.R:66:3): writeTrmn([for TreeMen]) works ──────────────
  Error in `.preCtest(prind, prinds)`: 1 or more arguments are of the wrong type
  Backtrace:
       █
    1. └─treeman::getPrnt(mammals, ids = c("Homo_sapiens", "Hylobates_concolor")) test-rw-methods.R:66:2
    2.   └─treeman:::.getNdsPridsFrmLst(...)
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (ndlst, prinds, id) ...
   11.                 └─treeman:::.preCtest(prind, prinds)
  ── Error (test-rw-methods.R:86:3): readTrmn([for TreeMen]) works ───────────────
  Error in `.preCtest(prind, prinds)`: 1 or more arguments are of the wrong type
  Backtrace:
       █
    1. └─treeman::getPrnt(mammals, ids = c("Homo_sapiens", "Hylobates_concolor")) test-rw-methods.R:86:2
    2.   └─treeman:::.getNdsPridsFrmLst(...)
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (ndlst, prinds, id) ...
   11.                 └─treeman:::.preCtest(prind, prinds)
  ── Error (test-rw-methods.R:107:3): reading and writing with additional slots works ──
  Error in `(function (id, val) 
  {
      tree@ndlst[[id]][[slt_nm]] <<- val
  })(id = c("n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", 
  "n10", "n11", "n12", "n13", "n14", "n15", "n16", "n17", "n18", 
  "n19", "n20", "n21", "n22", "n23", "n24", "n25", "n26", "n27", 
  "n28", "n29", "n30", "n31", "n32", "n33", "n34", "n35", "n36", 
  "n37", "n38", "n39", "n40", "n41", "n42", "n43", "n44", "n45", 
  "n46", "n47", "n48", "n49", "n50", "n51", "n52", "n53", "n54", 
  "n55", "n56", "n57", "n58", "n59", "n60", "n61", "n62", "n63", 
  "n64", "n65", "n66", "n67", "n68", "n69", "n70", "n71", "n72", 
  "n73", "n74", "n75", "n76", "n77", "n78", "n79", "n80", "n81", 
  "n82", "n83", "n84", "n85", "n86", "n87", "n88", "n89", "n90", 
  "n91", "n92", "n93", "n94", "n95", "n96", "n97", "n98", "n99", 
  "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10", 
  "t11", "t12", "t13", "t14", "t15", "t16", "t17", "t18", "t19", 
  "t20", "t21", "t22", "t23", "t24", "t25", "t26", "t27", "t28", 
  "t29", "t30", "t31", "t32", "t33", "t34", "t35", "t36", "t37", 
  "t38", "t39", "t40", "t41", "t42", "t43", "t44", "t45", "t46", 
  "t47", "t48", "t49", "t50", "t51", "t52", "t53", "t54", "t55", 
  "t56", "t57", "t58", "t59", "t60", "t61", "t62", "t63", "t64", 
  "t65", "t66", "t67", "t68", "t69", "t70", "t71", "t72", "t73", 
  "t74", "t75", "t76", "t77", "t78", "t79", "t80", "t81", "t82", 
  "t83", "t84", "t85", "t86", "t87", "t88", "t89", "t90", "t91", 
  "t92", "t93", "t94", "t95", "t96", "t97", "t98", "t99", "t100"
  ))`: argument "val" is missing, with no default
  Backtrace:
      █
   1. └─treeman::setNdsOther(...) test-rw-methods.R:107:2
   2.   └─plyr::m_ply(...)
   3.     └─plyr::a_ply(...)
   4.       └─plyr::l_ply(...)
   5.         └─plyr:::do.ply(i)
   6.           └─plyr:::.fun(piece, ...)
   7.             ├─base::do.call(flat, c(args, list(...)))
   8.             └─(function (id, val) ...
  ── Error (test-set-methods.R:18:3): set_ID() works ─────────────────────────────
  Error in `tree@ndlst[[i]]`: recursive indexing failed at level 3
  
  Backtrace:
      █
   1. └─treeman::setNdsID(tree, ids = ids, vals = vals) test-set-methods.R:18:2
   2.   └─plyr::mlply(l_data, .fun = .reset, .parallel = parallel, .progress = progress)
   3.     └─plyr::alply(...)
   4.       └─plyr::llply(...)
   5.         ├─plyr:::loop_apply(n, do.ply)
   6.         └─(function (i) ...
   7.           └─plyr:::.fun(piece, ...)
   8.             ├─base::do.call(flat, c(args, list(...)))
   9.             └─(function (i) ...
  ── Error (test-set-methods.R:40:3): setNdsSpn() works ──────────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::getNdsSlt(tree, slt_nm = "spn", ids = ids) test-set-methods.R:40:2
    2.   └─plyr::mlply(...)
    3.     └─plyr::alply(...)
    4.       └─plyr::llply(...)
    5.         ├─plyr:::loop_apply(n, do.ply)
    6.         └─(function (i) ...
    7.           └─plyr:::.fun(piece, ...)
    8.             ├─base::do.call(flat, c(args, list(...)))
    9.             └─(function (i) ...
   10.               └─treeman::getNdSlt(tree, slt_nm, ids[i])
  ── Error (test-set-methods.R:50:3): setPD() works ──────────────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::setPD(tree, val = 1) test-set-methods.R:50:2
    2.   └─treeman::getNdsSlt(tree, ids = tree@all, slt_nm = "spn")
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (i) ...
   11.                 └─treeman::getNdSlt(tree, slt_nm, ids[i])
  ── Error (test-set-methods.R:55:3): setAge() works ─────────────────────────────
  Error in `tree@ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. └─treeman::setAge(tree, val = 1) test-set-methods.R:55:2
    2.   └─treeman::getNdsSlt(tree, ids = tree@all, slt_nm = "spn")
    3.     └─plyr::mlply(...)
    4.       └─plyr::alply(...)
    5.         └─plyr::llply(...)
    6.           ├─plyr:::loop_apply(n, do.ply)
    7.           └─(function (i) ...
    8.             └─plyr:::.fun(piece, ...)
    9.               ├─base::do.call(flat, c(args, list(...)))
   10.               └─(function (i) ...
   11.                 └─treeman::getNdSlt(tree, slt_nm, ids[i])
  ── Error (test-set-methods.R:72:3): setNdsOther() works ────────────────────────
  Error in `(function (id, val) 
  {
      tree@ndlst[[id]][[slt_nm]] <<- val
  })(id = c("n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", 
  "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10"))`: argument "val" is missing, with no default
  Backtrace:
      █
   1. └─treeman::setNdsOther(tree, tree["all"], vals, "binary_val") test-set-methods.R:72:2
   2.   └─plyr::m_ply(...)
   3.     └─plyr::a_ply(...)
   4.       └─plyr::l_ply(...)
   5.         └─plyr:::do.ply(i)
   6.           └─plyr:::.fun(piece, ...)
   7.             ├─base::do.call(flat, c(args, list(...)))
   8.             └─(function (id, val) ...
  ── Error (test-set-methods.R:82:3): rmOtherSlt() works ─────────────────────────
  Error in `(function (id, val) 
  {
      tree@ndlst[[id]][[slt_nm]] <<- val
  })(id = c("n1", "n2", "n3", "n4", "n5", "n6", "n7", "n8", "n9", 
  "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "t10"))`: argument "val" is missing, with no default
  Backtrace:
      █
   1. └─treeman::setNdsOther(tree, tree["all"], vals, "binary_val") test-set-methods.R:82:2
   2.   └─plyr::m_ply(...)
   3.     └─plyr::a_ply(...)
   4.       └─plyr::l_ply(...)
   5.         └─plyr:::do.ply(i)
   6.           └─plyr:::.fun(piece, ...)
   7.             ├─base::do.call(flat, c(args, list(...)))
   8.             └─(function (id, val) ...
  ── Error (test-treeman.R:22:3): [ works ────────────────────────────────────────
  Error in `ndlst[[id]]`: no such index at level 2
  
  Backtrace:
       █
    1. ├─testthat::expect_type(tree["age"], "double") test-treeman.R:22:2
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─tree["age"]
    5. └─tree["age"]
    6.   └─treeman::getAge(x)
    7.     └─treeman:::.getTreeAgeFrmLst(...)
    8.       └─treeman:::.getNdsPrdstsFrmLst(...)
    9.         └─plyr::mdply(...)
   10.           └─plyr::adply(...)
   11.             └─plyr::ldply(...)
   12.               └─plyr::llply(...)
   13.                 ├─plyr:::loop_apply(n, do.ply)
   14.                 └─(function (i) ...
   15.                   └─plyr:::.fun(piece, ...)
   16.                     ├─base::do.call(flat, c(args, list(...)))
   17.                     └─(function (ndlst, prinds, id) ...
   18.                       └─treeman:::.getNdPridsFrmLst(ndlst, prinds, id)
  ── Error (test_server_methods.R:61:3): searchTxnyms([basic]) works ─────────────
  Error in `tree@ndlst[[i]]`: recursive indexing failed at level 3
  
  Backtrace:
      █
   1. └─treeman::setNdsID(tree, tree["tips"], new_tids) test_server_methods.R:61:2
   2.   └─plyr::mlply(l_data, .fun = .reset, .parallel = parallel, .progress = progress)
   3.     └─plyr::alply(...)
   4.       └─plyr::llply(...)
   5.         ├─plyr:::loop_apply(n, do.ply)
   6.         └─(function (i) ...
   7.           └─plyr:::.fun(piece, ...)
   8.             ├─base::do.call(flat, c(args, list(...)))
   9.             └─(function (i) ...
  
  [ FAIL 56 | WARN 71 | SKIP 8 | PASS 127 ]
  Error: Test failures
  Execution halted