Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(detectRUNS)
  Using detectRUNS 0.9.6
  > 
  > test_check("detectRUNS")
  [1] "Analysing Runs of Heterozygosity (ROHet)"
  [1] "Analysing Runs of Homozygosity (ROHom)"
  [1] "Analysing Runs of Heterozygosity (ROHet)"
  N. of RUNS for individual bar is: 4
  N. of RUNS for individual H70 is: 3
  N. of RUNS for individual H71 is: 8
  N. of RUNS for individual H72 is: 4
  N. of RUNS for individual H78 is: 4
  N. of RUNS for individual H79 is: 5
  N. of RUNS for individual H80 is: 1
  N. of RUNS for individual H86 is: 2
  N. of RUNS for individual H87 is: 3
  N. of RUNS for individual H88 is: 2
  N. of RUNS for individual H93 is: 3
  N. of RUNS for individual H38 is: 1
  No RUNs found for animal H44
  No RUNs found for animal H56
  N. of RUNS for individual H33 is: 1
  N. of RUNS for individual H39 is: 1
  N. of RUNS for individual H45 is: 4
  N. of RUNS for individual H28 is: 1
  N. of RUNS for individual H34 is: 4
  N. of RUNS for individual H52 is: 1
  N. of RUNS for individual H58 is: 2
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_functions.R:327:3): Testing createRUNdf ───────────────────────
  `expected` not equal to `test`.
  Attributes: < Component "row.names": Numeric: lengths (3, 5) differ >
  Component "from": Numeric: lengths (3, 5) differ
  Component "to": Numeric: lengths (3, 5) differ
  Component "nSNP": Numeric: lengths (3, 5) differ
  Component "chrom": Lengths (3, 5) differ (string compare on first 3)
  Component "lengthBps": Numeric: lengths (3, 5) differ
  filtering by noMissing
  ── Failure (test_functions.R:344:3): Testing createRUNdf ───────────────────────
  `expected` not equal to `test`.
  Attributes: < Component "row.names": Numeric: lengths (3, 5) differ >
  Component "from": Numeric: lengths (3, 5) differ
  Component "to": Numeric: lengths (3, 5) differ
  Component "nSNP": Numeric: lengths (3, 5) differ
  Component "chrom": Lengths (3, 5) differ (string compare on first 3)
  Component "lengthBps": Numeric: lengths (3, 5) differ
  filtering by noOpposite
  ── Failure (test_functions.R:362:3): Testing createRUNdf ───────────────────────
  `expected` not equal to `test`.
  Attributes: < Component "row.names": Numeric: lengths (2, 5) differ >
  Component "from": Numeric: lengths (2, 5) differ
  Component "to": Numeric: lengths (2, 5) differ
  Component "nSNP": Numeric: lengths (2, 5) differ
  Component "chrom": Lengths (2, 5) differ (string compare on first 2)
  Component "lengthBps": Numeric: lengths (2, 5) differ
  filtering by noOpposite and noMissing
  
  [ FAIL 3 | WARN 33 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted