* using log directory ‘/data/localhost/ripley/R/packages/tests-MKL/MatchIt.Rcheck’ * using R Under development (unstable) (2026-10-28 r90786) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-10-29 14:35:38 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘MatchIt/DESCRIPTION’ ... OK * this is package ‘MatchIt’ version ‘4.8.1’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘MatchIt’ can be installed ... [85s/63s] OK * used C++ compiler: ‘g++ (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)’ * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [15s/16s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 ... 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 compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [11s/12s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [144s/152s] [145s/152s] ERROR 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_null-35.R Saving _problems/test-method_optimal-166.R [ FAIL 2 | WARN 0 | SKIP 195 | PASS 7384 ] ══ Skipped tests (195) ═════════════════════════════════════════════════════════ • On CRAN (195): '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_cardinality.R:219:3', 'test-method_cardinality.R:237: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:472:3', 'test-method_cem.R:530:5', 'test-method_cem.R:616:5', 'test-method_cem.R:626:5', 'test-method_cem.R:670:3', 'test-method_cem.R:683: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:291:3', 'test-method_full.R:303: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:139: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:94:3', 'test-method_quick.R:101: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-nearest_snapshots.R:1295:3', 'test-nearest_snapshots.R:1308:3', 'test-nearest_snapshots.R:1320:3', 'test-nearest_snapshots.R:1331:3', 'test-nearest_snapshots.R:1344: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:463:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-method_null.R:35:3'): the propensity score matches the one from a matching method ── Expected `m0$distance` to be identical to `m1$distance`. Differences: actual | expected [1] 0.6387699332965033339 - 0.6387699332965032228 [1] [2] 0.2246342415700628981 - 0.2246342415700629258 [2] [3] 0.6782438795380461016 - 0.6782438795380459906 [3] [4] 0.7763240811575102818 - 0.7763240811575101707 [4] [5] 0.7016387447858618565 | 0.7016387447858618565 [5] [6] 0.6990699032982025107 - 0.6990699032982023997 [6] [7] 0.6536842627788820304 - 0.6536842627788819193 [7] [8] 0.7897231101014202670 - 0.7897231101014201560 [8] [9] 0.7798382459029451486 | 0.7798382459029451486 [9] [10] 0.0429246147628288971 | 0.0429246147628288971 [10] ... ... ... and 1 more ... actual | expected [12] 0.6824440011586333510 | 0.6824440011586333510 [12] [13] 0.6498676680168513631 | 0.6498676680168513631 [13] [14] 0.5624107332227394895 | 0.5624107332227394895 [14] [15] 0.6085862910598635045 - 0.6085862910598633935 [15] [16] 0.7224903598163346929 - 0.7224903598163345819 [16] [17] 0.7025956155434318617 | 0.7025956155434318617 [17] [18] 0.7349641629311599589 - 0.7349641629311598479 [18] [19] 0.7116648917101067173 | 0.7116648917101067173 [19] [20] 0.6643198080096734959 - 0.6643198080096733849 [20] [21] 0.7651749202388271609 - 0.7651749202388270499 [21] ... ... ... and 33 more ... actual | expected [56] 0.7161196190509364623 | 0.7161196190509364623 [56] [57] 0.7464048038597697055 | 0.7464048038597697055 [57] [58] 0.3784786574594833919 | 0.3784786574594833919 [58] [59] 0.6048077762515640110 - 0.6048077762515639000 [59] [60] 0.1301219169013493049 - 0.1301219169013491939 [60] [61] 0.6462693247557509402 | 0.6462693247557509402 [61] [62] 0.6882617581888387237 - 0.6882617581888386127 [62] [63] 0.7701718012954640313 - 0.7701718012954639203 [63] [64] 0.7763240811575102818 - 0.7763240811575101707 [64] [65] 0.5366287268477107908 | 0.5366287268477107908 [65] ... ... ... and 27 more ... actual | expected [93] 0.7707971302602835140 | 0.7707971302602835140 [93] [94] 0.6465067891729178173 | 0.6465067891729178173 [94] [95] 0.8194435523186776038 | 0.8194435523186776038 [95] [96] 0.0832840946373629848 - 0.0832840946373629709 [96] [97] 0.6856293468308662931 - 0.6856293468308664041 [97] [98] 0.7180962496655574068 | 0.7180962496655574068 [98] [99] 0.7410649146518781816 - 0.7410649146518780706 [99] [100] 0.2503272456967335913 - 0.2503272456967336468 [100] [101] 0.7380259937920489177 - 0.7380259937920488067 [101] [102] 0.7440808077260064879 | 0.7440808077260064879 [102] ... ... ... and 2 more ... actual | expected [106] 0.7639017648392785187 | 0.7639017648392785187 [106] [107] 0.7025956155434318617 | 0.7025956155434318617 [107] [108] 0.6822188117636133198 | 0.6822188117636133198 [108] [109] 0.7844353107539725478 - 0.7844353107539723258 [109] [110] 0.5223879162895814776 - 0.5223879162895813666 [110] [111] 0.5925771954255552032 - 0.5925771954255550922 [111] [112] 0.2065699648935038768 | 0.2065699648935038768 [112] [113] 0.6284950000098054046 - 0.6284950000098052936 [113] [114] 0.7412054270373253928 | 0.7412054270373253928 [114] [115] 0.4062810969502281266 - 0.4062810969502280711 [115] ... ... ... and 39 more ... actual | expected [156] 0.5264635184873101004 | 0.5264635184873101004 [156] [157] 0.7222124969480647749 | 0.7222124969480647749 [157] [158] 0.5786332662142846806 | 0.5786332662142846806 [158] [159] 0.7686928376402226704 - 0.7686928376402225593 [159] [160] 0.6883281875534114080 - 0.6883281875534115191 [160] [161] 0.7090033640325278386 | 0.7090033640325278386 [161] [162] 0.4457133393249552711 - 0.4457133393249553266 [162] [163] 0.3968916157814049162 - 0.3968916157814048606 [163] [164] 0.7940850513699529989 - 0.7940850513699528879 [164] [165] 0.5722387099893497808 | 0.5722387099893497808 [165] ... ... ... and 179 more ... actual | expected [347] 0.0244099957950254069 | 0.0244099957950254069 [347] [348] 0.0209458162674976099 | 0.0209458162674976099 [348] [349] 0.1781287373275672603 | 0.1781287373275672603 [349] [350] 0.0274396872841709688 - 0.0274396872841709549 [350] [351] 0.0397434991694056786 - 0.0397434991694056994 [351] [352] 0.0549969264755148235 - 0.0549969264755147957 [352] [353] 0.0194145521927654059 - 0.0194145521927653886 [353] [354] 0.0101141791010979972 - 0.0101141791010979868 [354] [355] 0.1146848718909004444 - 0.1146848718909003889 [355] [356] 0.1151559261050148636 - 0.1151559261050147664 [356] ... ... ... and 258 more ... ── Failure ('test-method_optimal.R:166:3'): optimal matching is no worse than greedy on total distance ── Expected `total_dist(mo_tight)` <= `total_dist(mn)`. Actual comparison: 39.692798721 > 39.692798721 Difference: 0.000000000 > 0 [ FAIL 2 | WARN 0 | SKIP 195 | PASS 7384 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [35s/37s] OK * checking PDF version of manual ... [9s/10s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-MKL/MatchIt.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 5:36.22, 323.80 + 16.72