* using log directory 'd:/Rcompile/CRANpkg/local/4.7/MatchIt.Rcheck' * using R Under development (unstable) (2026-09-21 r90579 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-09-24 09:26:26 UTC * checking for file 'MatchIt/DESCRIPTION' ... OK * this is package 'MatchIt' version '4.8.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: 'gurobi' * 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 'MatchIt' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.3.0' * checking installed package size ... OK * checking package directory ... OK * checking 'build' 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 ... [16s] OK * checking Rd files ... [5s] 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 ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [20s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [377s] ERROR Running 'testthat.R' [377s] 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(MatchIt) > > test_check("MatchIt") Saving _problems/test-method_cardinality-212.R [ FAIL 1 | WARN 0 | SKIP 188 | PASS 6962 ] ══ Skipped tests (188) ═════════════════════════════════════════════════════════ • On CRAN (188): 'test-method_cardinality.R:44:3', 'test-method_cardinality.R:57:3', 'test-method_cardinality.R:73:3', 'test-method_cardinality.R:84:3', 'test-method_cardinality.R:95:3', 'test-method_cardinality.R:102:3', 'test-method_cardinality.R:109:3', 'test-method_cardinality.R:116:3', 'test-method_cardinality.R:129:3', 'test-method_cem.R:174:3', 'test-method_cem.R:182:3', 'test-method_cem.R:191:3', 'test-method_cem.R:200:3', 'test-method_cem.R:209:5', 'test-method_cem.R:255:3', 'test-method_cem.R:275:3', 'test-method_cem.R:358:3', 'test-method_cem.R:430:3', 'test-method_cem.R:443:5', 'test-method_cem.R:452:3', 'test-method_cem.R:510:5', 'test-method_cem.R:596:5', 'test-method_cem.R:606:5', 'test-method_cem.R:650:3', 'test-method_cem.R:663:3', 'test-method_exact.R:18:3', 'test-method_exact.R:25:3', 'test-method_exact.R:32:3', 'test-method_exact.R:39:3', 'test-method_exact.R:46:3', 'test-method_exact.R:53:3', 'test-method_full.R:105:3', 'test-method_full.R:114:5', 'test-method_full.R:137:3', 'test-method_full.R:150:3', 'test-method_full.R:164:3', 'test-method_full.R:182:3', 'test-method_full.R:191:3', 'test-method_full.R:205:3', 'test-method_full.R:225:3', 'test-method_full.R:232:3', 'test-method_full.R:239:3', 'test-method_full.R:246:3', 'test-method_full.R:256:3', 'test-method_full.R:264:3', 'test-method_full.R:271:3', 'test-method_full.R:283:3', 'test-method_null.R:14:3', 'test-method_null.R:26:3', 'test-method_null.R:46:3', 'test-method_optimal.R:20:3', 'test-method_optimal.R:27:3', 'test-method_optimal.R:36:3', 'test-method_optimal.R:49:3', 'test-method_optimal.R:57:3', 'test-method_optimal.R:65:3', 'test-method_optimal.R:72:3', 'test-method_optimal.R:83:3', 'test-method_optimal.R:90:3', 'test-method_optimal.R:97:3', 'test-method_quick.R:20:3', 'test-method_quick.R:27:3', 'test-method_quick.R:34:3', 'test-method_quick.R:51:3', 'test-method_quick.R:59:3', 'test-method_quick.R:66:3', 'test-method_quick.R:80:3', 'test-method_quick.R:88:3', 'test-method_quick.R:95:3', 'test-method_subclass.R:17:3', 'test-method_subclass.R:26:3', 'test-method_subclass.R:36:3', 'test-method_subclass.R:52:3', 'test-method_subclass.R:64:3', 'test-method_subclass.R:79:3', 'test-method_subclass.R:87:3', 'test-method_subclass.R:105:3', 'test-method_subclass.R:113:3', 'test-method_subclass.R:129:3', 'test-method_subclass.R:161:3', 'test-nearest_snapshots.R:43:3', 'test-nearest_snapshots.R:54:3', 'test-nearest_snapshots.R:64:3', 'test-nearest_snapshots.R:74:3', 'test-nearest_snapshots.R:85:3', 'test-nearest_snapshots.R:95:3', 'test-nearest_snapshots.R:107:3', 'test-nearest_snapshots.R:117:3', 'test-nearest_snapshots.R:127:3', 'test-nearest_snapshots.R:138:3', 'test-nearest_snapshots.R:149:3', 'test-nearest_snapshots.R:159:3', 'test-nearest_snapshots.R:169:3', 'test-nearest_snapshots.R:184:3', 'test-nearest_snapshots.R:194:3', 'test-nearest_snapshots.R:206:3', 'test-nearest_snapshots.R:216:3', 'test-nearest_snapshots.R:229:3', 'test-nearest_snapshots.R:242:3', 'test-nearest_snapshots.R:253:3', 'test-nearest_snapshots.R:271:3', 'test-nearest_snapshots.R:284:3', 'test-nearest_snapshots.R:297:3', 'test-nearest_snapshots.R:307:3', 'test-nearest_snapshots.R:320:3', 'test-nearest_snapshots.R:334:3', 'test-nearest_snapshots.R:347:3', 'test-nearest_snapshots.R:358:3', 'test-nearest_snapshots.R:371:3', 'test-nearest_snapshots.R:384:3', 'test-nearest_snapshots.R:396:3', 'test-nearest_snapshots.R:408:3', 'test-nearest_snapshots.R:420:3', 'test-nearest_snapshots.R:431:3', 'test-nearest_snapshots.R:445:3', 'test-nearest_snapshots.R:463:3', 'test-nearest_snapshots.R:474:3', 'test-nearest_snapshots.R:489:3', 'test-nearest_snapshots.R:503:3', 'test-nearest_snapshots.R:519:3', 'test-nearest_snapshots.R:531:3', 'test-nearest_snapshots.R:542:3', 'test-nearest_snapshots.R:554:3', 'test-nearest_snapshots.R:564:3', 'test-nearest_snapshots.R:576:3', 'test-nearest_snapshots.R:586:3', 'test-nearest_snapshots.R:599:3', 'test-nearest_snapshots.R:610:3', 'test-nearest_snapshots.R:622:3', 'test-nearest_snapshots.R:638:3', 'test-nearest_snapshots.R:651:3', 'test-nearest_snapshots.R:669:3', 'test-nearest_snapshots.R:683:3', 'test-nearest_snapshots.R:693:3', 'test-nearest_snapshots.R:703:3', 'test-nearest_snapshots.R:715:3', 'test-nearest_snapshots.R:725:3', 'test-nearest_snapshots.R:737:3', 'test-nearest_snapshots.R:747:3', 'test-nearest_snapshots.R:757:3', 'test-nearest_snapshots.R:769:3', 'test-nearest_snapshots.R:781:3', 'test-nearest_snapshots.R:791:3', 'test-nearest_snapshots.R:798:3', 'test-nearest_snapshots.R:817:3', 'test-nearest_snapshots.R:828:3', 'test-nearest_snapshots.R:838:3', 'test-nearest_snapshots.R:850:3', 'test-nearest_snapshots.R:860:3', 'test-nearest_snapshots.R:870:3', 'test-nearest_snapshots.R:882:3', 'test-nearest_snapshots.R:895:3', 'test-nearest_snapshots.R:907:3', 'test-nearest_snapshots.R:920:3', 'test-nearest_snapshots.R:931:3', 'test-nearest_snapshots.R:944:3', 'test-nearest_snapshots.R:957:3', 'test-nearest_snapshots.R:969:3', 'test-nearest_snapshots.R:982:3', 'test-nearest_snapshots.R:993:3', 'test-nearest_snapshots.R:1006:3', 'test-nearest_snapshots.R:1018:3', 'test-nearest_snapshots.R:1038:3', 'test-nearest_snapshots.R:1048:3', 'test-nearest_snapshots.R:1060:3', 'test-nearest_snapshots.R:1113:3', 'test-nearest_snapshots.R:1124:3', 'test-nearest_snapshots.R:1135:3', 'test-nearest_snapshots.R:1146:3', 'test-nearest_snapshots.R:1157:3', 'test-nearest_snapshots.R:1168:3', 'test-nearest_snapshots.R:1185:3', 'test-nearest_snapshots.R:1198:3', 'test-nearest_snapshots.R:1211:3', 'test-nearest_snapshots.R:1221:3', 'test-nearest_snapshots.R:1234:3', 'test-nearest_snapshots.R:1244:3', 'test-nearest_snapshots.R:1254:3', 'test-nearest_snapshots.R:1264:3', 'test-nearest_snapshots.R:1275:3', 'test-print.R:185:3', 'test-summary.R:47:3', 'test-summary.R:100:3', 'test-summary.R:157:3', 'test-summary.R:182:3', 'test-summary.R:201:3', 'test-summary.R:260:3', 'test-summary.R:314:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-method_cardinality.R:210:7'): profile ATE with a finite ratio equates the unweighted group sizes ── Error: The optimizer failed to find an optimal solution in the time allotted. Try increasing the value of `time`. See `?MatchIt::method_cardinality` for additional details. Backtrace: ▆ 1. ├─base::do.call(...) at test-method_cardinality.R:210:7 2. └─MatchIt (local) ``(...) 3. ├─base::do.call(...) 4. └─MatchIt:::matchit2cardinality(...) 5. └─MatchIt:::cardinality_matchit(...) 6. └─MatchIt:::cardinality_error_report(opt.out, solver) 7. └─arg::err("the optimizer failed to find an optimal solution in the time allotted. Try increasing the value of {.arg time}. See {.topic MatchIt::method_cardinality} for additional details") 8. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 188 | PASS 6962 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [43s] OK * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [9s] OK * DONE Status: 1 ERROR