Running 'testthat.R' [158s/167s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ggplot2)
  > 
  > test_check("evolqg")
  Loading required package: evolqg
  Loading required package: plyr
  -- 1. Failure: RandomSkewers returns correct results on pairs of matrices (@test
  `results` not equivalent to `expect`.
  3/3 mismatches (average diff: 0.0672)
  [1] 0.426 - 0.320 ==  0.1059
  [2] 0.107 - 0.163 == -0.0560
  [3] 0.266 - 0.226 ==  0.0397
  
  -- 2. Failure: MantelModTest returns correct results for Modularity Hypothesis I
  `result` not equal to `expect`.
  5/5 mismatches (average diff: 0.184)
  [1]  0.1568 - -0.0394 ==  0.1962
  [2]  0.0709 -  0.5564 == -0.4855
  [3]  0.0653 - -0.0597 ==  0.1250
  [4] -0.0639 - -0.0272 == -0.0368
  [5]  0.0606 - -0.0152 ==  0.0758
  
  -- 3. Failure: MantelModTest returns correct results for Modularity Hypothesis I
  `result` not equal to `expect`.
  1/5 mismatches
  [2] 0.000999 - 0.002 == -0.000999
  
  -- 4. Failure: MantelModTest returns correct results for non-landmark data (@tes
  `result` not equal to `expect`.
  5/5 mismatches (average diff: 0.185)
  [1] 0.0468 - 0.0811 == -0.03431
  [2] 0.3317 - 0.2757 ==  0.05594
  [3] 0.1264 - 0.1581 == -0.03170
  [4] 0.0704 - 0.0611 ==  0.00932
  [5] 1.7945 - 2.5874 == -0.79284
  
  -- 5. Failure: MantelModTest returns correct results for non-landmark data (@tes
  `result` not equal to `expect`.
  1/5 mismatches
  [2] 0.000999 - 0.002 == -0.000999
  
  -- 6. Failure: MantelModTest returns correct results for landmark data (@test.Te
  `result` not equal to `expect`.
  6/6 mismatches (average diff: 0.265)
  [1] 0.0459 -  0.1124 == -0.06648
  [2] 0.3660 -  0.2590 ==  0.10700
  [3] 0.1307 -  0.2098 == -0.07907
  [4] 0.0733 -  0.0703 ==  0.00292
  [5] 1.7844 -  2.9826 == -1.19825
  [6] 0.0669 - -0.0679 ==  0.13477
  
  == testthat results  ===========================================================
  OK: 20950 SKIPPED: 1 FAILED: 6
  1. Failure: RandomSkewers returns correct results on pairs of matrices (@test.MatrixComparisons.r#8) 
  2. Failure: MantelModTest returns correct results for Modularity Hypothesis Index (@test.TestModularity.r#46) 
  3. Failure: MantelModTest returns correct results for Modularity Hypothesis Index (@test.TestModularity.r#57) 
  4. Failure: MantelModTest returns correct results for non-landmark data (@test.TestModularity.r#74) 
  5. Failure: MantelModTest returns correct results for non-landmark data (@test.TestModularity.r#85) 
  6. Failure: MantelModTest returns correct results for landmark data (@test.TestModularity.r#100) 
  
  Error: testthat unit tests failed
  Execution halted