Running ‘testthat.R’ [261s/297s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(amregtest)
  Loading required package: allelematch
  Loading required package: dynamicTreeCut
  > 
  > test_check("amregtest")
  Saving _problems/test-allelematch_3-amPairwise_negative-45.R
  Cleaning up 1 leaked TEMP file(s):
    /home/hornik/tmp/scratch/Rtmpc3bSj8/pdf2483105b9cc16c
  Cleaning up 1 leaked TEMP file(s):
    /home/hornik/tmp/scratch/Rtmpc3bSj8/pdf24831031112ab2
  Cleaning up 1 leaked TEMP file(s):
    /home/hornik/tmp/scratch/Rtmpc3bSj8/pdf24831079a81ec2
  Cleaning up 1 leaked TEMP file(s):
    /home/hornik/tmp/scratch/Rtmpc3bSj8/pdf2483107556c155
  Cleaning up 1 leaked TEMP file(s):
    /home/hornik/tmp/scratch/Rtmpc3bSj8/pdf2483107edef75a
  [ FAIL 2 | WARN 0 | SKIP 24 | PASS 135 ]
  
  ══ Skipped tests (24) ══════════════════════════════════════════════════════════
  • On CRAN (24): 'test-allelematch_1-amDataset.R:47:1',
    'test-allelematch_1-amDataset.R:147:1', 'test-allelematch_2-amMatrix.R:2:1',
    'test-allelematch_2-amMatrix.R:90:1',
    'test-allelematch_2-amMatrix_negative.R:2:1',
    'test-allelematch_3-amPairwise.R:7:1',
    'test-allelematch_3-amPairwise.R:74:1',
    'test-allelematch_3-amPairwise_print.R:2:1',
    'test-allelematch_4-amCluster-Ex1.R:2:1',
    'test-allelematch_4-amCluster-Ex2.R:2:1',
    'test-allelematch_4-amCluster-Ex3.R:2:1',
    'test-allelematch_4-amCluster-Ex4.R:2:1',
    'test-allelematch_4-amCluster-Ex5.R:2:1',
    'test-allelematch_4-amCluster-amMini.R:2:1',
    'test-allelematch_4-amCluster_print.R:2:1',
    'test-allelematch_5-amAlleleFreq.R:2:1', 'test-allelematch_6-amUnique.R:2:1',
    'test-allelematch_6-amUnique_print.R:2:1',
    'test-allelematch_7-amUniqueProfile.R:2:1', 'test-amExample1.R:10:1',
    'test-amExample2.R:10:1', 'test-amExample3.R:11:1', 'test-amExample4.R:15:1',
    'test-ggData.R:11:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-allelematch_3-amPairwise_negative.R:45:5'): Validation of arguments to amPairwise() is working ──
  Error: allelematch: please specify alleleMismatch OR matchThreshold
  Backtrace:
      ▆
   1. ├─testthat::expect_error(amPairwise(amdataOdd2), "allelematch:\\s+please specify alleleMismatch OR matchThreshold.") at test-allelematch_3-amPairwise_negative.R:45:5
   2. │ └─testthat:::expect_condition_matching_(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─allelematch::amPairwise(amdataOdd2)
  ── Error ('test-allelematch_6-amUnique_negative.R:40:5'): Validation of arguments to amUnique() is working ──
  Error: allelematch: please specify alleleMismatch OR matchThreshold OR cutHeight
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-allelematch_6-amUnique_negative.R:40:5
   2. │ └─testthat:::expect_condition_matching_(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─allelematch::amUnique(amdata, multilocusMap = c(1, 1, 2, 2))
  
  [ FAIL 2 | WARN 0 | SKIP 24 | PASS 135 ]
  Error:
  ! Test failures.
  Execution halted