Running ‘testthat.R’ [8s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Perc)
  > 
  > test_check("Perc")
  ── 1. Failure: outputs are correct (@test-Converters.R#48)  ────────────────────
  valueConverter(testMatrix) has changed from known value recorded in 'valueConverterOutput.rds'.
  208/225 mismatches (average diff: 0.13)
  [2]  0.718 - 0.863 == -0.1451
  [3]  0.605 - 0.620 == -0.0150
  [4]  0.649 - 0.728 == -0.0786
  [5]  0.817 - 0.534 ==  0.2826
  [6]  0.744 - 0.631 ==  0.1124
  [7]  0.663 - 0.513 ==  0.1502
  [8]  0.500 - 0.512 == -0.0116
  [9]  0.521 - 0.816 == -0.2941
  [10] 0.630 - 0.574 ==  0.0563
  ...
  
  ── 2. Failure: outputs are correct (@test-Converters.R#49)  ────────────────────
  dyadicLongConverter(testMatrix) has changed from known value recorded in 'dyadicLongConverterOutput.rds'.
  Component "ID1 Win Probability": Mean relative difference: 0.4895597
  Component "ID2 Win Probability": Mean relative difference: 0.5663844
  Component "RankingCertainty": Mean relative difference: 0.1906058
  
  ── 3. Failure: outputs are correct (@test-Converters.R#50)  ────────────────────
  individualDomProb(testMatrix) has changed from known value recorded in 'individualDomProbOutput.rds'.
  Component "Mean": Mean relative difference: 0.04461778
  Component "SD": Mean relative difference: 0.07651406
  
  ── 4. Failure: outputs are correct (@test-as.conflictmat.R#60)  ────────────────
  as.conflictmat(edgelist1) has changed from known value recorded in 'asConflictoutput1.rds'.
  Mean relative difference: 1.939024
  
  ── 5. Failure: outputs are correct (@test-bradleyTerry.R#29)  ──────────────────
  bradleyTerry(testMatrix3) has changed from known value recorded in 'bradleyTerryoutput1.rds'.
  Component "domInds": Mean relative difference: 0.5250095
  Component "probMat": Mean relative difference: 0.3488206
  Component "logLik": Attributes: < Component "iterations": Mean relative difference: 0.07692308 >
  Component "logLik": Mean relative difference: 0.02764294
  
  ── 6. Failure: outputs are correct (@test-conductance.R#37)  ───────────────────
  conductance(testMatrix2, maxLength = 2, strict = FALSE) has changed from known value recorded in 'conductanceOutput1.rds'.
  Component "imputed.conf": Mean relative difference: 0.8631768
  Component "p.hat": Mean relative difference: 0.5251774
  
  ── 7. Failure: outputs are correct (@test-conductance.R#38)  ───────────────────
  conductance(testMatrix2, maxLength = 3, strict = FALSE) has changed from known value recorded in 'conductanceOutput2.rds'.
  Component "imputed.conf": Mean relative difference: 0.7730745
  Component "p.hat": Mean relative difference: 0.4708711
  
  ── 8. Failure: outputs are correct (@test-conductance.R#39)  ───────────────────
  conductance(testMatrix2, maxLength = 4, strict = FALSE) has changed from known value recorded in 'conductanceOutput3.rds'.
  Component "imputed.conf": Mean relative difference: 0.7375553
  Component "p.hat": Mean relative difference: 0.4524963
  
  ── 9. Failure: outputs are correct (@test-findAllPaths.R#39)  ──────────────────
  countPaths(testMatrix2, maxLength = 2) has changed from known value recorded in 'countPathsOutput1.rds'.
  Names: 1 string mismatch
  Component 1: Mean relative difference: 1.141375
  
  ── 10. Failure: outputs are correct (@test-findAllPaths.R#40)  ─────────────────
  countPaths(testMatrix2, maxLength = 3) has changed from known value recorded in 'countPathsOutput2.rds'.
  Names: 2 string mismatches
  Component 1: Mean relative difference: 1.141375
  Component 2: Mean relative difference: 0.4758012
  
  ── 11. Failure: outputs are correct (@test-findAllPaths.R#41)  ─────────────────
  countPaths(testMatrix2, maxLength = 4) has changed from known value recorded in 'countPathsOutput3.rds'.
  Names: 3 string mismatches
  Component 1: Mean relative difference: 1.141375
  Component 2: Mean relative difference: 0.4758012
  Component 3: Mean relative difference: 0.4042869
  
  ── 12. Failure: outputs are correct (@test-findIDpaths.R#47)  ──────────────────
  findIDpaths(testMatrix2, "a", len = 2) has changed from known value recorded in 'findIDpathsOutput1.rds'.
  Lengths differ: 213 is not 144
  
  ── 13. Failure: outputs are correct (@test-findIDpaths.R#48)  ──────────────────
  findIDpaths(testMatrix2, "a", len = 3) has changed from known value recorded in 'findIDpathsOutput2.rds'.
  Lengths differ: 1912 is not 1376
  
  ── 14. Failure: outputs are correct (@test-findIDpaths.R#49)  ──────────────────
  findIDpaths(testMatrix2, "a", len = 4) has changed from known value recorded in 'findIDpathsOutput3.rds'.
  Lengths differ: 14745 is not 11340
  
  ── 15. Failure: outputs are correct (@test-plotConfMat.R#33)  ──────────────────
  plotConfmat(testMatrix2, ordering = TRUE, labels = TRUE) has changed from known value recorded in 'plotConfMatOutput1.rds'.
  Component "panel.args.common": Component "z": Mean relative difference: 1.45
  
  ── 16. Failure: outputs are correct (@test-transitivity.R#25)  ─────────────────
  transitivity(testMatrix2, strict = FALSE) has changed from known value recorded in 'transitivityOutput1.rds'.
  Component "transitive": Mean relative difference: 0.00862069
  Component "intransitive": Mean relative difference: 0.2058824
  Component "transitivity": Mean relative difference: 0.04244871
  Component "alpha": Mean relative difference: 0.1782752
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 46 SKIPPED: 0 FAILED: 16
  1. Failure: outputs are correct (@test-Converters.R#48) 
  2. Failure: outputs are correct (@test-Converters.R#49) 
  3. Failure: outputs are correct (@test-Converters.R#50) 
  4. Failure: outputs are correct (@test-as.conflictmat.R#60) 
  5. Failure: outputs are correct (@test-bradleyTerry.R#29) 
  6. Failure: outputs are correct (@test-conductance.R#37) 
  7. Failure: outputs are correct (@test-conductance.R#38) 
  8. Failure: outputs are correct (@test-conductance.R#39) 
  9. Failure: outputs are correct (@test-findAllPaths.R#39) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted