R Under development (unstable) (2026-02-07 r89380 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(regrake) > > test_check("regrake") Regrake result Sample size: 500 Constraints: 5 (5 exact) Regularizer: entropy (lambda = 1) Converged: Yes (95 iterations) Weight range: [0.425, 2.277] Kish ESS: 377 / 500 (deff = 1.32) Max margin diff: 1.72e-06 Regrake result Sample size: 500 Constraints: 5 (5 exact) Regularizer: entropy (lambda = 1) Converged: Yes (95 iterations) Weight range: [0.425, 2.277] Kish ESS: 377 / 500 (deff = 1.32) Max margin diff: 1.72e-06 Weight distribution: Min. Q1 Median Q3 Max. 0.425 0.425 0.789 1.224 2.277 Bounds: [0.10, 10.00] (soft) Balance: constraint type variable level achieved target residual exact_sex exact sex F 0.510000 0.51 0e+00 exact_sex exact sex M 0.490000 0.49 0e+00 exact_age exact age 18-34 0.299998 0.30 -2e-06 exact_age exact age 35-54 0.400001 0.40 1e-06 exact_age exact age 55+ 0.300001 0.30 1e-06 Attaching package: 'CVXR' The following object is masked from 'package:stats': power [ FAIL 0 | WARN 0 | SKIP 0 | PASS 800 ] > > proc.time() user system elapsed 88.65 10.54 27.92