Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidytree)
  
  Attaching package: 'tidytree'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("tidytree")
  ── 1. Failure: child works for bifurcating trees (@test-access-related-nodes.R#3
  child(as_tibble(bi_tree), 19)$node not equal to 7:8.
  2/2 mismatches (average diff: 2)
  [1]  9 - 7 == 2
  [2] 10 - 8 == 2
  
  ── 2. Failure: child works for bifurcating trees (@test-access-related-nodes.R#3
  child(as_tibble(bi_tree), 11)$node not equal to c(10, 12).
  1/2 mismatches
  [1] 1 - 10 == -9
  
  ── 3. Failure: child works for non-bifurcating trees (@test-access-related-nodes
  child(as_tibble(multi_tree), 12)$node not equal to c(3, 9, 13, 14).
  Lengths differ: 3 is not 4
  
  ── 4. Failure: child works for non-bifurcating trees (@test-access-related-nodes
  child(as_tibble(multi_tree), 11)$node not equal to c(10, 12).
  1/2 mismatches
  [1] 1 - 10 == -9
  
  ── 5. Failure: offspring works on bifurcating trees (@test-access-related-nodes.
  offspring(as_tibble(bi_tree), 17)$node not equal to c(4:6, 18).
  Lengths differ: 6 is not 4
  
  ── 6. Failure: offspring works on non-bifurcating trees (@test-access-related-no
  offspring(as_tibble(multi_tree), 14)$node not equal to c(4:8, 15:16).
  Lengths differ: 3 is not 7
  
  ── 7. Failure: parent works for bifurcating trees (@test-access-related-nodes.R#
  parent(as_tibble(bi_tree), 1)$node not equal to 15.
  1/1 mismatches
  [1] 11 - 15 == -4
  
  ── 8. Failure: parent works for bifurcating trees (@test-access-related-nodes.R#
  parent(as_tibble(bi_tree), 17)$node not equal to 16.
  1/1 mismatches
  [1] 12 - 16 == -4
  
  ── 9. Failure: parent works for non-bifurcating trees (@test-access-related-node
  parent(as_tibble(multi_tree), 14)$node not equal to 12.
  1/1 mismatches
  [1] 13 - 12 == 1
  
  ── 10. Failure: ancestor works for bifurcating trees (@test-access-related-nodes
  ancestor(as_tibble(bi_tree), 1)$node not equal to 11:15.
  Lengths differ: 1 is not 5
  
  ── 11. Failure: ancestor works for bifurcating trees (@test-access-related-nodes
  ancestor(as_tibble(bi_tree), 17)$node not equal to c(11:13, 16).
  Lengths differ: 2 is not 4
  
  ── 12. Failure: ancestor works for non-bifurcating trees (@test-access-related-n
  ancestor(as_tibble(multi_tree), 8)$node not equal to c(11, 12, 14, 16).
  1/4 mismatches
  [3] 15 - 14 == 1
  
  ── 13. Failure: ancestor works for non-bifurcating trees (@test-access-related-n
  ancestor(as_tibble(multi_tree), 14)$node not equal to 11:12.
  Lengths differ: 3 is not 2
  
  ── 14. Failure: MRCA works for bifurcating trees (@test-access-related-nodes.R#9
  MRCA(as_tibble(bi_tree), 5, 7)$node not equal to 16.
  1/1 mismatches
  [1] 12 - 16 == -4
  
  ── 15. Failure: MRCA works for non-bifurcating trees (@test-access-related-nodes
  MRCA(as_tibble(multi_tree), 5, 7)$node not equal to 14.
  1/1 mismatches
  [1] 12 - 14 == -2
  
  ── 16. Failure: sibling works for bifurcating trees (@test-access-related-nodes.
  sibling(as_tibble(bi_tree), 1)$node not equal to 2.
  1/1 mismatches
  [1] 12 - 2 == 10
  
  ── 17. Failure: sibling works for bifurcating trees (@test-access-related-nodes.
  sibling(as_tibble(bi_tree), 17)$node not equal to 19.
  1/1 mismatches
  [1] 13 - 19 == -6
  
  ── 18. Failure: sibling works for non-bifurcating trees (@test-access-related-no
  sibling(as_tibble(multi_tree), 12)$node not equal to 10.
  1/1 mismatches
  [1] 1 - 10 == -9
  
  ── 19. Failure: sibling works for non-bifurcating trees (@test-access-related-no
  sibling(as_tibble(multi_tree), 3)$node not equal to c(9, 13, 14).
  Lengths differ: 1 is not 3
  
  ── 20. Failure: sibling works for non-bifurcating trees (@test-access-related-no
  sibling(as_tibble(multi_tree), 4)$node not equal to 5.
  Lengths differ: 2 is not 1
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 27 SKIPPED: 0 FAILED: 20
  1. Failure: child works for bifurcating trees (@test-access-related-nodes.R#37) 
  2. Failure: child works for bifurcating trees (@test-access-related-nodes.R#39) 
  3. Failure: child works for non-bifurcating trees (@test-access-related-nodes.R#46) 
  4. Failure: child works for non-bifurcating trees (@test-access-related-nodes.R#48) 
  5. Failure: offspring works on bifurcating trees (@test-access-related-nodes.R#54) 
  6. Failure: offspring works on non-bifurcating trees (@test-access-related-nodes.R#60) 
  7. Failure: parent works for bifurcating trees (@test-access-related-nodes.R#65) 
  8. Failure: parent works for bifurcating trees (@test-access-related-nodes.R#66) 
  9. Failure: parent works for non-bifurcating trees (@test-access-related-nodes.R#72) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted