R Under development (unstable) (2025-07-22 r88445 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(Publish) Loading required package: prodlim > > test_check("Publish") [1] "Outcome variable(s): X8" [1] "Passive variables: " [1] "Partially obs. variables: X3,X6" [1] "Fully obs. substantive model variables: X4,X7" [1] "Imputation 1" [1] "Imputing: X3 using X6,X4,X7 plus outcome" [1] "Imputing: X6 using X3,X4,X7 plus outcome" [1] "Imputation 2" [1] "Imputation 3" Variable Units Imputed (3) Coefficient CI.95 p-value (Intercept) -2.31 [-4.73;0.11] 0.06178 X6 10 0.01 [-0.00;0.02] 0.05783 X7 0 0.03 [-0.01;0.06] 0.18881 X4(0): X3(1 vs 0) 15 0.07 [-0.51;0.65] 0.80938 X4(1): X3(1 vs 0) 15 0.60 [-0.20;1.41] 0.14230 X3(0): X4(1 vs 0) 15 0.01 [-0.48;0.50] 0.96515 X3(1): X4(1 vs 0) 15 0.54 [-0.21;1.30] 0.15912 a b c NA 1.0 a -1.2 NA b Variable Units OddsRatio CI.95 p-value 1 frame +large Ref 2 medi()um=.< 0.77 [0.44;1.36] 0.3725 3 >8 0.43 [0.21;0.88] 0.0203 4 gender female Ref 5 male 0.85 [0.52;1.41] 0.5327 6 log(age) 12.00 [5.38;26.78] <0.001 7 I(chol > 245) FALSE Ref 8 TRUE 1.47 [0.79;2.73] 0.2289 9 ofak a Ref 10 b 1.28 [0.58;2.83] 0.5413 11 c 1.29 [0.58;2.88] 0.5272 12 d 0.68 [0.30;1.52] 0.3452 13 e 1.49 [0.68;3.28] 0.3216 14 f 0.95 [0.43;2.13] 0.9074 15 g 1.19 [0.53;2.67] 0.6712 16 h 0.56 [0.26;1.23] 0.1480 17 i 1.65 [0.72;3.76] 0.2335 18 j 0.57 [0.25;1.32] 0.1879 19 k 2.30 [1.03;5.15] 0.0426 Variable Level Total age mean (sd) 46.9 (16.3) gender female 234 (58.1) male 169 (41.9) height mean (sd) 66 (3.9) missing 5 weight mean (sd) 177.6 (40.3) missing 1 Variable Level Total age mean (sd) 46.9 (16.3) gender female 234 (58.1) male 169 (41.9) height mean (sd) 66 (3.9) missing 5 weight mean (sd) 177.6 (40.3) missing 1 | Variable | Level | Buckingham (n=200) | Louisa (n=203) | Total (n=403) | p-value | |-----------+-----------+--------------------+----------------+---------------+---------| | age | mean (sd) | 47.1 (16.7) | 46.6 (15.9) | 46.9 (16.3) | 0.78473 | | gender | female | 114 (57.0) | 120 (59.1) | 234 (58.1) | | | | male | 86 (43.0) | 83 (40.9) | 169 (41.9) | 0.74223 | | height | mean (sd) | 66.5 (4) | 65.6 (3.8) | 66 (3.9) | 0.01549 | | | missing | 3 | 2 | 5 | | | weight | mean (sd) | 178.7 (43.8) | 176.5 (36.7) | 177.6 (40.3) | 0.58067 | | | missing | 0 | 1 | 1 | | [ FAIL 0 | WARN 0 | SKIP 3 | PASS 7 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • empty test (3): 'test-publish-mi.R:7:1', 'test-regressionTable.R:21:1', 'test-regressionTable.R:30:1' [ FAIL 0 | WARN 0 | SKIP 3 | PASS 7 ] > > proc.time() user system elapsed 5.64 0.82 6.45