Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > test_check("MonoPhy")
  Loading required package: MonoPhy
  Loading required package: ape
  Loading required package: phytools
  Loading required package: maps
  Loading required package: phangorn
  Loading required package: RColorBrewer
  Loading required package: taxize
  == Failed tests ================================================================
  -- Failure (test_solutions.R:11:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[1, 1]) not equal to 32.
  1/1 mismatches
  [1] 3 - 32 == -29
  -- Failure (test_solutions.R:12:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[2, 1]) not equal to 9.
  1/1 mismatches
  [1] 6 - 9 == -3
  -- Failure (test_solutions.R:13:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[3, 1]) not equal to 6.
  1/1 mismatches
  [1] 4 - 6 == -2
  -- Failure (test_solutions.R:14:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[4, 1]) not equal to 17.
  1/1 mismatches
  [1] 2 - 17 == -15
  -- Failure (test_solutions.R:15:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[5, 1]) not equal to 7.
  1/1 mismatches
  [1] 5 - 7 == -2
  -- Failure (test_solutions.R:17:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[1, 2]) not equal to 77.
  1/1 mismatches
  [1] 6 - 77 == -71
  -- Failure (test_solutions.R:18:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[2, 2]) not equal to 25.
  1/1 mismatches
  [1] 4 - 25 == -21
  -- Failure (test_solutions.R:19:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[3, 2]) not equal to 35.
  1/1 mismatches
  [1] 5 - 35 == -30
  -- Failure (test_solutions.R:20:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[4, 2]) not equal to 17.
  1/1 mismatches
  [1] 2 - 17 == -15
  -- Failure (test_solutions.R:21:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[5, 2]) not equal to 11.
  1/1 mismatches
  [1] 1 - 11 == -10
  -- Failure (test_solutions.R:22:3): Regular solution is accurate ---------------
  as.numeric(controlsolution[[1]]$summary[6, 2]) not equal to 2.
  1/1 mismatches
  [1] 3 - 2 == 1
  -- Failure (test_solutions.R:48:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[1, 1]) not equal to 32.
  1/1 mismatches
  [1] 3 - 32 == -29
  -- Failure (test_solutions.R:49:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[2, 1]) not equal to 9.
  1/1 mismatches
  [1] 6 - 9 == -3
  -- Failure (test_solutions.R:50:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[3, 1]) not equal to 6.
  1/1 mismatches
  [1] 4 - 6 == -2
  -- Failure (test_solutions.R:51:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[4, 1]) not equal to 17.
  1/1 mismatches
  [1] 2 - 17 == -15
  -- Failure (test_solutions.R:52:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[5, 1]) not equal to 7.
  1/1 mismatches
  [1] 5 - 7 == -2
  -- Failure (test_solutions.R:54:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[1, 2]) not equal to 77.
  1/1 mismatches
  [1] 6 - 77 == -71
  -- Failure (test_solutions.R:55:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[2, 2]) not equal to 25.
  1/1 mismatches
  [1] 4 - 25 == -21
  -- Failure (test_solutions.R:56:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[3, 2]) not equal to 35.
  1/1 mismatches
  [1] 5 - 35 == -30
  -- Failure (test_solutions.R:57:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[4, 2]) not equal to 17.
  1/1 mismatches
  [1] 2 - 17 == -15
  -- Failure (test_solutions.R:58:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[5, 2]) not equal to 11.
  1/1 mismatches
  [1] 1 - 11 == -10
  -- Failure (test_solutions.R:59:3): Multifurcating solution1 is accurate -------
  as.numeric(solution1[[1]]$summary[6, 2]) not equal to 2.
  1/1 mismatches
  [1] 3 - 2 == 1
  -- Failure (test_solutions.R:85:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[1, 1]) not equal to 32.
  1/1 mismatches
  [1] 3 - 32 == -29
  -- Failure (test_solutions.R:86:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[2, 1]) not equal to 8.
  1/1 mismatches
  [1] 5 - 8 == -3
  -- Failure (test_solutions.R:87:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[3, 1]) not equal to 7.
  1/1 mismatches
  [1] 4 - 7 == -3
  -- Failure (test_solutions.R:88:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[4, 1]) not equal to 17.
  1/1 mismatches
  [1] 2 - 17 == -15
  -- Failure (test_solutions.R:89:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[5, 1]) not equal to 8.
  1/1 mismatches
  [1] 5 - 8 == -3
  -- Failure (test_solutions.R:91:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[1, 2]) not equal to 77.
  1/1 mismatches
  [1] 6 - 77 == -71
  -- Failure (test_solutions.R:92:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[2, 2]) not equal to 23.
  1/1 mismatches
  [1] 4 - 23 == -19
  -- Failure (test_solutions.R:93:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[3, 2]) not equal to 37.
  1/1 mismatches
  [1] 5 - 37 == -32
  -- Failure (test_solutions.R:94:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[4, 2]) not equal to 17.
  1/1 mismatches
  [1] 2 - 17 == -15
  -- Failure (test_solutions.R:95:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[5, 2]) not equal to 12.
  1/1 mismatches
  [1] 1 - 12 == -11
  -- Failure (test_solutions.R:96:3): Multifurcating solution2 is accurate -------
  as.numeric(solution2[[1]]$summary[6, 2]) not equal to 2.
  1/1 mismatches
  [1] 3 - 2 == 1
  -- Failure (test_solutions.R:122:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[1, 1]) not equal to 32.
  1/1 mismatches
  [1] 3 - 32 == -29
  -- Failure (test_solutions.R:123:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[2, 1]) not equal to 9.
  1/1 mismatches
  [1] 5 - 9 == -4
  -- Failure (test_solutions.R:124:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[3, 1]) not equal to 6.
  1/1 mismatches
  [1] 4 - 6 == -2
  -- Failure (test_solutions.R:125:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[4, 1]) not equal to 17.
  1/1 mismatches
  [1] 2 - 17 == -15
  -- Failure (test_solutions.R:126:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[5, 1]) not equal to 9.
  1/1 mismatches
  [1] 5 - 9 == -4
  -- Failure (test_solutions.R:128:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[1, 2]) not equal to 77.
  1/1 mismatches
  [1] 6 - 77 == -71
  -- Failure (test_solutions.R:129:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[2, 2]) not equal to 25.
  1/1 mismatches
  [1] 4 - 25 == -21
  -- Failure (test_solutions.R:130:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[3, 2]) not equal to 35.
  1/1 mismatches
  [1] 5 - 35 == -30
  -- Failure (test_solutions.R:131:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[4, 2]) not equal to 17.
  1/1 mismatches
  [1] 2 - 17 == -15
  -- Failure (test_solutions.R:132:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[5, 2]) not equal to 13.
  1/1 mismatches
  [1] 1 - 13 == -12
  -- Failure (test_solutions.R:133:3): Multifurcating solution3 is accurate ------
  as.numeric(solution3[[1]]$summary[6, 2]) not equal to 2.
  1/1 mismatches
  [1] 3 - 2 == 1
  
  [ FAIL 44 | WARN 0 | SKIP 0 | PASS 52 ]
  Error: Test failures
  Execution halted