R Under development (unstable) (2025-08-18 r88641 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 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. > # 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(auxvecLASSO) > > test_check("auxvecLASSO") Found 2 zero-total column(s) in the population model matrix: fC, fC:gY. Consider `drop_zero_cols = TRUE` if appropriate. Found 1 zero-total column(s) in the population model matrix: f2. Consider `drop_zero_cols = TRUE` if appropriate. Found 1 zero-total column(s) in the population model matrix: fC:gY. Consider `drop_zero_cols = TRUE` if appropriate. Found 3 zero-total column(s) in the population model matrix: comp.imp_binhighComp, stypeH:comp.imp_binhighComp, stypeM:comp.imp_binhighComp. Consider `drop_zero_cols = TRUE` if appropriate. =================================== Auxiliary Vector Assessment Summary =================================== Weight Variation Metrics: cv_weights 0.123456 gini_weights 0.234567 Register Diagnostics (Total): - age : Mean: 1.230000 SE: 0.110000 RSE: 0.089431 Bias: 0.030000 MSE: 0.011000 p(Bias): 0.500000 Register Diagnostics (By Domain): * by region : - income : Domain: region=North Mean: 100.000000 SE: 10.000000 RSE: 0.100000 Bias: NA MSE: NA p(Bias): NA Domain: region=South Mean: 120.000000 SE: 12.000000 RSE: 0.100000 Bias: 5.000000 MSE: 169.000000 p(Bias): 0.040000 - empty_metrics : (no domain column found) Survey Diagnostics (Total): - height : Mean: 170.000000 SE: 5.000000 RSE: NA Bias: NA MSE: NA Survey Diagnostics (By Domain): - weight : Domain: region=North Mean: 70.000000 SE: 3.000000 Bias: NA MSE: NA Domain: region=South Mean: 80.000000 SE: 4.000000 Bias: NA MSE: NA - nodomain : (no domain column found) =================================== Auxiliary Vector Assessment Summary =================================== Weight Variation Metrics: cv 0.100000 Register Diagnostics (Total): (none) Register Diagnostics (By Domain): (none) Survey Diagnostics (Total): (none) Survey Diagnostics (By Domain): (none) ========================= LASSO Auxiliary Variable Selection ========================= Selected Variables (2): x1, x2 By Outcome: - y_cont : 1 variables x1 - y_bin : 0 variables Selected Lambdas: - y_cont : 0.01234 - y_bin : 0.1 Penalty Factors: Zero-penalty (must-keep): 2 Regular-penalty: 2 Stored Models: 2 Goodness-of-Fit: Outcome: y_cont Cross-validated: cv_error: 0.1235 cv_error_sd: 0.0099 Full data: r_squared: 0.8765 mse: 1.2345 rmse: 1.1111 mae: 0.9876 Coefficients at Lambda Min: x2 -1.2000 x1 0.5000 (Intercept) 0.0000 Outcome: y_bin Cross-validated: cv_error: 0.2222 cv_error_sd: 0.0333 Full data: deviance_explained: 0.4321 auc: 0.9012 accuracy: 0.8123 brier_score: 0.1234 No matching coefficients found. Interaction Metadata: Interaction terms selected (2): x1:x2, x2:x3 Main effects present in selected interactions: x1, x2, x3 Full formula tested: y ~ (x1 + x2 + x3)^2 Setting levels: control = 0, case = 1 Setting direction: controls < cases Setting levels: control = 0, case = 1 Setting direction: controls < cases Setting levels: control = 0, case = 1 Setting direction: controls < cases Setting levels: control = 0, case = 1 Setting direction: controls < cases Setting levels: control = 0, case = 1 Setting direction: controls < cases Setting levels: control = 0, case = 1 Setting direction: controls < cases Setting levels: control = 0, case = 1 Setting direction: controls < cases Setting levels: control = 0, case = 1 Setting direction: controls < cases Setting levels: control = 0, case = 1 Setting direction: controls < cases [ FAIL 0 | WARN 0 | SKIP 0 | PASS 539 ] > > proc.time() user system elapsed 7.68 1.31 12.06