Running ‘testthat.R’ [6s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pedprobr)
  Loading required package: pedtools
  > 
  > test_check("pedprobr")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • likelihood-list tests need modifications (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-merlin.R:56:3): MINX agrees with likelihood2() with two linked markers ──
  Error: MERLIN executible not found. Suggestion: Use the parameter `merlinpath` to point to the MERLIN folder.
  Backtrace:
      █
   1. ├─pedprobr:::expect_signif(...) test-merlin.R:56:2
   2. │ └─testthat::expect_equal(signif(a, 3), signif(b, 3)) test-merlin.R:7:16
   3. │   └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   4. │     └─rlang::eval_bare(expr, quo_get_env(quo))
   5. └─pedprobr:::lm(x, 1:2, rho = rho)
   6.   └─pedprobr::likelihoodMerlin(..., verbose = verbose) test-merlin.R:4:5
   7.     └─pedprobr::merlin(...)
   8.       └─pedprobr:::stop2("MERLIN executible not found. Suggestion: Use the parameter `merlinpath` to point to the MERLIN folder.")
   9.         └─base::do.call(stop, a)
  ── Error (test-merlin.R:76:3): MINX gives correct likelihood with two markers ──
  Error: MERLIN executible not found. Suggestion: Use the parameter `merlinpath` to point to the MERLIN folder.
  Backtrace:
      █
   1. ├─pedprobr:::expect_signif(prod(likelihood(x)), lm(x)) test-merlin.R:76:2
   2. │ └─testthat::expect_equal(signif(a, 3), signif(b, 3)) test-merlin.R:7:16
   3. │   └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   4. │     └─rlang::eval_bare(expr, quo_get_env(quo))
   5. └─pedprobr:::lm(x)
   6.   └─pedprobr::likelihoodMerlin(..., verbose = verbose) test-merlin.R:4:5
   7.     └─pedprobr::merlin(...)
   8.       └─pedprobr:::stop2("MERLIN executible not found. Suggestion: Use the parameter `merlinpath` to point to the MERLIN folder.")
   9.         └─base::do.call(stop, a)
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 148 ]
  Error: Test failures
  Execution halted