* using log directory 'd:/Rcompile/CRANpkg/local/4.6/amregtest.Rcheck' * using R version 4.6.1 (2026-06-24 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-07-28 07:33:48 UTC * checking for file 'amregtest/DESCRIPTION' ... OK * this is package 'amregtest' version '1.2.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'amregtest' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [3s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [447s] ERROR Running 'testthat.R' [447s] 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): D:\temp\2026_07_28_01_50_00_10315\Rtmpkb7YMB/pdfee24210553d5 Cleaning up 1 leaked TEMP file(s): D:\temp\2026_07_28_01_50_00_10315\Rtmpkb7YMB/pdfee2451751176 Cleaning up 1 leaked TEMP file(s): D:\temp\2026_07_28_01_50_00_10315\Rtmpkb7YMB/pdfee247641161 Cleaning up 1 leaked TEMP file(s): D:\temp\2026_07_28_01_50_00_10315\Rtmpkb7YMB/pdfee247c0a3dba Cleaning up 1 leaked TEMP file(s): D:\temp\2026_07_28_01_50_00_10315\Rtmpkb7YMB/pdfee247b91377f [ 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 * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR