The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

CRAN Package Check Results for Package surveycore

Last updated on 2026-09-16 05:51:13 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 29.65 465.89 495.54 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.0 18.14 302.89 321.03 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 24.00 304.91 328.91 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.0 22.00 338.18 360.18 ERROR
r-devel-windows-x86_64 1.0.0 32.00 466.00 498.00 ERROR
r-patched-linux-x86_64 1.0.0 30.66 443.21 473.87 ERROR
r-release-linux-x86_64 1.0.0 29.07 442.03 471.10 ERROR
r-release-macos-arm64 1.0.0 9.00 100.00 109.00 OK
r-release-macos-x86_64 1.0.0 23.00 537.00 560.00 OK
r-release-windows-x86_64 1.0.0 35.00 461.00 496.00 ERROR
r-oldrel-macos-arm64 1.0.0 9.00 102.00 111.00 OK
r-oldrel-macos-x86_64 1.0.0 23.00 446.00 469.00 OK
r-oldrel-windows-x86_64 1.0.0 42.00 592.00 634.00 ERROR

Additional issues

M1mac

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [269s/350s] 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(surveycore) > > test_check("surveycore") i Skipped 2 surveys missing the requested variable: "w1" and "w2". # A survey_diffs result # Design: Taylor series | Family: gaussian (identity) # DV: y | Treatment: arm (ref: Ctrl) # Method: coefficient / intercept # A <survey_diffs> [2 × 4] # A tibble: 2 x 4 arm estimate mean n <fct> <dbl> <dbl> <int> 1 Ctrl 0 0.5 100 2 T1 0.05 0.55 100 Saving _problems/test-analysis-diffs-helpers-478.R Saving _problems/test-analysis-diffs-helpers-668.R Saving _problems/test-analysis-diffs-helpers-669.R Saving _problems/test-analysis-diffs-helpers-876.R Saving _problems/test-analysis-diffs-helpers-1056.R Saving _problems/test-analysis-diffs-helpers-1352.R Saving _problems/test-analysis-diffs-471.R Saving _problems/test-analysis-diffs-490.R Saving _problems/test-analysis-diffs-569.R Saving _problems/test-analysis-diffs-1034.R # A survey_t_test result # Design: Taylor series | N: 400 # DV: outcome | By: grp2 (A vs. B) # A <tbl_df> [1 × 13] # A tibble: 1 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat df <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> <dbl> 1 A B 3.51 50.9 54.4 209 191 1.16 5.86 3.18 15 # i 2 more variables: p_value <dbl>, stars <chr> # A survey_pairwise result # Design: Taylor series | N: 400 # DV: outcome | By: grp3 (3 levels, 3 pairs) # Adjustment: holm # A <tbl_df> [3 × 13] # A tibble: 3 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> 1 X Y -0.910 53.1 52.2 145 136 -3.59 1.77 -0.725 2 X Z -0.847 53.1 52.3 145 119 -3.77 2.08 -0.617 3 Y Z 0.0631 52.2 52.3 136 119 -2.78 2.91 0.0473 # i 3 more variables: df <dbl>, p_value <dbl>, stars <chr> i Skipped 2 surveys missing the requested variable: "w1" and "w2". -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability) [experimental] * Variance: SRS approximation (no bootstrap replicate weights) Sample size: 10 # A tibble: 10 x 2 y w <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design Summary ------------------------------------------------------- Type: non-probability [experimental] Sample size: 10 Weighted N: 10 -- Design -- Weights: w * Range: 1 – 1 * Mean: 1 * CV: 0 Calibration provenance: none stored Metadata: 0 of 2 variable(s) labeled Survey-weighted GLM Family: gaussian (identity link) Formula: y1 ~ y2 + y3 Design: Taylor series Coefficients: (Intercept) y2 y3 51.1868 -0.0624 -2.6042 Degrees of freedom: 16 (design-based) Survey-weighted GLM Call: survey_glm(design = .glm_taylor(), formula = y1 ~ y2 + y3) Deviance Residuals: Min 1Q Median 3Q Max -93.3797 -18.7253 -0.4633 22.9540 75.4878 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 51.1868 0.7268 70.4262 0.0000 *** y2 -0.0624 0.8308 -0.0752 0.9412 y3 -2.6042 1.4802 -1.7594 0.1003 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for gaussian family taken to be 986.9) Null deviance: 197426 on 199 degrees of freedom Residual deviance: 194412 on 197 degrees of freedom AIC: 1492 Design df: 16 (taylor) # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A # i 49 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 10 psu strata fpc wt y1 y2 y3 group prob ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> 1 psu_1 stratum~ 378 14.3 50.9 -0.122 1 A 0.0701 14.3 2 psu_1 stratum~ 378 21.8 20.1 0.188 0 B 0.0459 21.8 3 psu_1 stratum~ 378 14.4 52.8 0.119 1 B 0.0697 14.4 4 psu_2 stratum~ 378 18.9 46.3 -0.0251 0 A 0.0530 18.9 5 psu_2 stratum~ 378 23.0 51.9 0.108 0 B 0.0435 23.0 6 psu_2 stratum~ 378 11.0 55.8 -0.485 0 C 0.0908 11.0 7 psu_2 stratum~ 378 13.8 64.0 -0.504 0 A 0.0727 13.8 8 psu_2 stratum~ 378 14.2 42.7 -1.66 0 B 0.0706 14.2 9 psu_3 stratum~ 378 16.5 63.0 -0.382 1 C 0.0606 16.5 10 psu_3 stratum~ 378 13.7 53.4 -0.513 1 A 0.0728 13.7 # i 40 more rows # A tibble: 30 x 9 psu strata fpc wt y1 y2 y3 group ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <int> 1 psu_1 stratum_1 218 14.3 41.5 1.04 1 B 1 2 psu_1 stratum_1 218 21.8 25.9 0.921 1 B 1 3 psu_2 stratum_1 218 14.4 50.4 0.721 0 B 1 4 psu_2 stratum_1 218 18.9 52.1 -1.04 1 A 1 5 psu_2 stratum_1 218 23.0 46.4 -0.0902 0 A 1 6 psu_3 stratum_1 218 11.0 57.6 0.624 0 C 1 7 psu_3 stratum_1 218 13.7 42.7 -0.954 0 B 1 8 psu_4 stratum_1 218 14.2 36.3 -0.543 0 B 1 9 psu_4 stratum_1 218 16.5 54.3 0.581 0 C 1 10 psu_4 stratum_1 218 13.7 41.9 0.768 0 C 1 # i 20 more rows # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 # i 49 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 # i 59 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 50 x 14 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 3 more variables: repwt_4 <dbl>, repwt_5 <dbl>, fpc_rep <int> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 30 x 2 y w <dbl> <dbl> 1 0.828 2.00 2 0.0757 1.11 3 0.126 1.85 4 2.27 1.22 5 -0.838 1.30 6 -0.469 1.48 7 0.0155 1.20 8 0.961 1.41 9 -0.281 0.965 10 0.0697 1.51 # i 20 more rows # A tibble: 100 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 538 11.6 50.9 -1.43 0 C FALSE 0.0967 2 psu_1 stratum_1 538 12.0 46.7 -0.718 0 C FALSE 0.0967 3 psu_1 stratum_1 538 12.1 42.0 0.205 1 A TRUE 0.0967 4 psu_1 stratum_1 538 11.6 30.8 -1.90 0 A FALSE 0.0967 5 psu_1 stratum_1 538 9.12 53.7 -0.449 0 A FALSE 0.0967 6 psu_1 stratum_1 538 10.3 56.6 0.523 0 B TRUE 0.0967 7 psu_1 stratum_1 538 9.43 69.5 -0.123 0 C FALSE 0.0967 8 psu_1 stratum_1 538 10.7 55.8 -1.11 1 B TRUE 0.0967 9 psu_1 stratum_1 538 10.5 39.5 -0.774 1 C FALSE 0.0967 10 psu_1 stratum_1 538 10.1 39.8 0.615 0 C FALSE 0.0967 # i 90 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 2 y wt <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability, JK1, 4 replicates) [experimental] Sample size: 10 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 i Skipped 2 surveys missing the requested variable: "w1" and "w2". i Skipped 1 survey missing the requested variable: "only". [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] ══ Skipped tests (426) ═════════════════════════════════════════════════════════ • A-13 trigger requires careful numerical construction; tracked for follow-up PR (1): 'test-glm-anova.R:531:3' • A-20 requires a hand-built fit whose @design@data domain column differs from the refit's; deferred to follow-up PR (1): 'test-glm-anova.R:481:3' • On CRAN (422): 'test-analysis-corr-latent-primitives.R:74:1', 'test-analysis-corr-latent-primitives.R:97:1', 'test-analysis-corr-latent-primitives.R:152:1', 'test-analysis-corr-latent-primitives.R:348:1', 'test-analysis-corr-latent-primitives.R:482:1', 'test-analysis-corr-latent-primitives.R:741:1', 'test-analysis-corr-latent-variance.R:14:1', 'test-analysis-corr-latent.R:20:1', 'test-analysis-corr.R:809:1', 'test-analysis-corr.R:817:1', 'test-analysis-corr.R:1231:1', 'test-analysis-corr.R:1646:1', 'test-analysis-corr.R:1664:1', 'test-analysis-covariance.R:690:1', 'test-analysis-covariance.R:699:1', 'test-analysis-covariance.R:712:1', 'test-analysis-covariance.R:734:1', 'test-analysis-covariance.R:747:1', 'test-analysis-covariance.R:768:1', 'test-analysis-covariance.R:785:1', 'test-analysis-covariance.R:798:1', 'test-analysis-covariance.R:819:1', 'test-analysis-covariance.R:851:1', 'test-analysis-covariance.R:884:1', 'test-analysis-covariance.R:924:1', 'test-analysis-covariance.R:1131:1', 'test-analysis-covariance.R:1154:1', 'test-analysis-covariance.R:1176:1', 'test-analysis-diffs-helpers.R:147:1', 'test-analysis-diffs-helpers.R:388:1', 'test-analysis-diffs-marginaleffects.R:6:1', 'test-analysis-diffs-numerical.R:6:1', 'test-analysis-diffs.R:30:1', 'test-analysis-diffs.R:39:1', 'test-analysis-diffs.R:48:1', 'test-analysis-diffs.R:57:1', 'test-analysis-diffs.R:66:1', 'test-analysis-diffs.R:77:1', 'test-analysis-diffs.R:89:1', 'test-analysis-diffs.R:101:1', 'test-analysis-diffs.R:435:1', 'test-analysis-diffs.R:765:1', 'test-analysis-diffs.R:774:1', 'test-analysis-diffs.R:783:1', 'test-analysis-diffs.R:792:1', 'test-analysis-diffs.R:801:1', 'test-analysis-diffs.R:810:1', 'test-analysis-freqs.R:578:1', 'test-analysis-freqs.R:589:1', 'test-analysis-freqs.R:610:1', 'test-analysis-freqs.R:631:1', 'test-analysis-freqs.R:652:1', 'test-analysis-freqs.R:1255:1', 'test-analysis-freqs.R:1499:1', 'test-analysis-helpers.R:59:1', 'test-analysis-helpers.R:77:1', 'test-analysis-helpers.R:110:1', 'test-analysis-helpers.R:398:1', 'test-analysis-helpers.R:754:1', 'test-analysis-helpers.R:1113:1', 'test-analysis-helpers.R:1153:1', 'test-analysis-helpers.R:1462:1', 'test-analysis-means.R:320:1', 'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1', 'test-analysis-quantiles.R:716:1', 'test-analysis-quantiles.R:724:1', 'test-analysis-quantiles.R:759:1', 'test-analysis-quantiles.R:771:1', 'test-analysis-quantiles.R:1095:1', 'test-analysis-ratios.R:578:1', 'test-analysis-ratios.R:588:1', 'test-analysis-ratios.R:598:1', 'test-analysis-ratios.R:608:1', 'test-analysis-ratios.R:1040:1', 'test-analysis-t-test-numerical.R:6:1', 'test-analysis-t-test.R:285:1', 'test-analysis-t-test.R:310:1', 'test-analysis-t-test.R:319:1', 'test-analysis-t-test.R:328:1', 'test-analysis-t-test.R:340:1', 'test-analysis-t-test.R:352:1', 'test-analysis-t-test.R:364:1', 'test-analysis-t-test.R:377:1', 'test-analysis-t-test.R:393:1', 'test-analysis-t-test.R:402:1', 'test-analysis-t-test.R:414:1', 'test-analysis-t-test.R:426:1', 'test-analysis-t-test.R:754:1', 'test-analysis-t-test.R:820:1', 'test-analysis-t-test.R:831:1', 'test-analysis-totals.R:301:1', 'test-analysis-totals.R:320:1', 'test-analysis-totals.R:624:1', 'test-analysis-variance-collection.R:122:1', 'test-analysis-variance-collection.R:146:1', 'test-analysis-variance-collection.R:169:1', 'test-analysis-variance-collection.R:182:1', 'test-analysis-variance-twophase-nonprob.R:9:1', 'test-analysis-variance.R:598:1', 'test-analysis-variance.R:608:1', 'test-analysis-variance.R:622:1', 'test-analysis-variance.R:634:1', 'test-analysis-variance.R:646:1', 'test-analysis-variance.R:657:1', 'test-analysis-variance.R:676:1', 'test-analysis-variance.R:691:1', 'test-analysis-variance.R:705:1', 'test-calibration.R:73:1', 'test-calibration.R:84:1', 'test-calibration.R:96:1', 'test-calibration.R:108:1', 'test-calibration.R:120:1', 'test-calibration.R:132:1', 'test-calibration.R:144:1', 'test-calibration.R:156:1', 'test-calibration.R:170:1', 'test-calibration.R:182:1', 'test-calibration.R:194:1', 'test-calibration.R:207:1', 'test-calibration.R:223:1', 'test-calibration.R:238:1', 'test-calibration.R:264:1', 'test-calibration.R:737:1', 'test-calibration.R:748:1', 'test-calibration.R:762:1', 'test-calibration.R:776:1', 'test-calibration.R:788:1', 'test-calibration.R:802:1', 'test-calibration.R:840:1', 'test-calibration.R:854:1', 'test-calibration.R:866:1', 'test-calibration.R:878:1', 'test-calibration.R:893:1', 'test-calibration.R:906:1', 'test-calibration.R:919:1', 'test-calibration.R:949:1', 'test-calibration.R:974:1', 'test-calibration.R:1002:1', 'test-collection-groups.R:352:1', 'test-collection-groups.R:362:1', 'test-collection-groups.R:375:1', 'test-collection-groups.R:411:1', 'test-collection-groups.R:549:1', 'test-collection-groups.R:556:1', 'test-constructors.R:145:1', 'test-constructors.R:161:1', 'test-constructors.R:171:1', 'test-constructors.R:189:1', 'test-constructors.R:199:1', 'test-constructors.R:259:1', 'test-constructors.R:272:1', 'test-constructors.R:302:1', 'test-constructors.R:329:1', 'test-constructors.R:347:1', 'test-constructors.R:361:1', 'test-constructors.R:730:1', 'test-constructors.R:752:1', 'test-constructors.R:827:1', 'test-constructors.R:850:1', 'test-constructors.R:1145:1', 'test-constructors.R:1159:1', 'test-constructors.R:1200:1', 'test-constructors.R:1211:1', 'test-constructors.R:1227:1', 'test-constructors.R:1243:1', 'test-constructors.R:1265:1', 'test-constructors.R:1613:1', 'test-constructors.R:1624:1', 'test-constructors.R:1636:1', 'test-constructors.R:1648:1', 'test-constructors.R:1660:1', 'test-constructors.R:1672:1', 'test-constructors.R:1738:1', 'test-constructors.R:1744:1', 'test-constructors.R:1750:1', 'test-constructors.R:1756:1', 'test-constructors.R:1762:1', 'test-constructors.R:1769:1', 'test-constructors.R:1917:1', 'test-constructors.R:2079:1', 'test-constructors.R:2091:1', 'test-constructors.R:2103:1', 'test-constructors.R:2115:1', 'test-constructors.R:2137:1', 'test-constructors.R:2159:1', 'test-constructors.R:2181:1', 'test-constructors.R:2193:1', 'test-constructors.R:2216:1', 'test-constructors.R:2289:1', 'test-constructors.R:2316:1', 'test-constructors.R:2343:1', 'test-constructors.R:2497:1', 'test-constructors.R:2524:1', 'test-constructors.R:2551:1', 'test-constructors.R:2648:1', 'test-constructors.R:2686:1', 'test-constructors.R:2710:1', 'test-constructors.R:2734:1', 'test-constructors.R:2757:1', 'test-constructors.R:2781:1', 'test-constructors.R:2891:1', 'test-constructors.R:2906:1', 'test-constructors.R:2921:1', 'test-constructors.R:2940:1', 'test-constructors.R:2959:1', 'test-constructors.R:2978:1', 'test-constructors.R:3009:1', 'test-constructors.R:3021:1', 'test-constructors.R:3035:1', 'test-constructors.R:3050:1', 'test-constructors.R:3067:1', 'test-effective-n.R:212:1', 'test-effective-n.R:220:1', 'test-effective-n.R:229:1', 'test-effective-n.R:444:1', 'test-effective-n.R:452:1', 'test-effective-n.R:460:1', 'test-effective-n.R:468:1', 'test-glm-anova-dispatch.R:270:1', 'test-glm-anova-dispatch.R:274:1', 'test-glm-anova-dispatch.R:280:1', 'test-glm-anova-dispatch.R:284:1', 'test-glm-anova-dispatch.R:289:1', 'test-glm-anova-dispatch.R:295:1', 'test-glm-anova-numerical.R:18:1', 'test-glm-anova.R:353:1', 'test-glm-anova.R:361:1', 'test-glm-anova.R:374:1', 'test-glm-anova.R:398:1', 'test-glm-anova.R:412:1', 'test-glm-anova.R:426:1', 'test-glm-anova.R:436:1', 'test-glm-anova.R:694:1', 'test-glm-anova.R:700:1', 'test-glm-anova.R:709:1', 'test-glm-anova.R:811:1', 'test-glm-anova.R:822:1', 'test-glm-anova.R:833:1', 'test-glm-anova.R:859:1', 'test-glm-anova.R:871:1', 'test-glm-anova.R:919:1', 'test-glm-marginaleffects.R:9:1', 'test-glm-methods.R:52:1', 'test-glm-methods.R:109:1', 'test-glm-methods.R:115:1', 'test-glm-methods.R:205:1', 'test-glm-methods.R:289:1', 'test-glm-methods.R:299:1', 'test-glm-methods.R:312:1', 'test-glm-methods.R:325:1', 'test-glm-methods.R:392:1', 'test-glm-methods.R:424:1', 'test-glm-methods.R:449:1', 'test-glm-methods.R:474:1', 'test-glm-methods.R:526:1', 'test-glm-methods.R:548:1', 'test-glm-methods.R:575:1', 'test-glm-methods.R:584:1', 'test-glm-methods.R:611:1', 'test-glm-methods.R:660:1', 'test-glm-methods.R:675:1', 'test-glm-numerical.R:14:1', 'test-glm.R:128:1', 'test-glm.R:177:1', 'test-glm.R:186:1', 'test-glm.R:196:1', 'test-glm.R:206:1', 'test-glm.R:219:1', 'test-glm.R:229:1', 'test-glm.R:239:1', 'test-glm.R:249:1', 'test-glm.R:261:1', 'test-glm.R:273:1', 'test-glm.R:309:1', 'test-glm.R:325:1', 'test-glm.R:1007:1', 'test-glm.R:1015:1', 'test-glm.R:1288:1', 'test-metadata-infer.R:408:1', 'test-metadata-system.R:187:1', 'test-metadata-system.R:709:1', 'test-metadata-system.R:713:1', 'test-metadata-system.R:721:1', 'test-metadata-system.R:726:1', 'test-metadata-system.R:734:1', 'test-metadata-system.R:739:1', 'test-metadata-system.R:744:1', 'test-metadata-system.R:749:1', 'test-metadata-system.R:925:1', 'test-metadata-system.R:930:1', 'test-metadata-system.R:935:1', 'test-metadata-system.R:939:1', 'test-metadata-system.R:944:1', 'test-metadata-system.R:952:1', 'test-metadata-system.R:960:1', 'test-metadata-system.R:965:1', 'test-metadata-system.R:1107:1', 'test-metadata-system.R:1114:1', 'test-metadata-system.R:1119:1', 'test-metadata-system.R:1127:1', 'test-metadata-system.R:1132:1', 'test-metadata-system.R:1140:1', 'test-metadata-system.R:1145:1', 'test-metadata-system.R:1278:1', 'test-metadata-system.R:1282:1', 'test-metadata-system.R:1290:1', 'test-metadata-system.R:1295:1', 'test-metadata-system.R:1303:1', 'test-metadata-system.R:1308:1', 'test-metadata-system.R:1313:1', 'test-metadata-system.R:1439:1', 'test-metadata-system.R:1443:1', 'test-metadata-system.R:1448:1', 'test-metadata-system.R:1456:1', 'test-metadata-system.R:1461:1', 'test-metadata-system.R:1469:1', 'test-metadata-system.R:1474:1', 'test-metadata-system.R:1623:1', 'test-metadata-system.R:1628:1', 'test-metadata-system.R:1635:1', 'test-metadata-system.R:1643:1', 'test-metadata-system.R:1648:1', 'test-metadata-system.R:1660:1', 'test-metadata-system.R:1665:1', 'test-metadata-system.R:1887:1', 'test-metadata-system.R:2040:1', 'test-metadata-system.R:2054:1', 'test-metadata-system.R:2068:1', 'test-metadata-system.R:2082:1', 'test-metadata-system.R:2202:1', 'test-metadata-system.R:2438:1', 'test-metadata-system.R:2442:1', 'test-metadata-system.R:2622:1', 'test-metadata-system.R:2630:1', 'test-metadata-system.R:2648:1', 'test-metadata-system.R:2663:1', 'test-metadata-system.R:2678:1', 'test-metadata-system.R:2858:1', 'test-metadata-system.R:2866:1', 'test-metadata-system.R:2881:1', 'test-metadata-system.R:2896:1', 'test-metadata-system.R:3079:1', 'test-metadata-system.R:3087:1', 'test-metadata-system.R:3095:1', 'test-metadata-system.R:3110:1', 'test-metadata-system.R:3128:1', 'test-metadata-system.R:3146:1', 'test-metadata-system.R:3164:1', 'test-metadata-system.R:3179:1', 'test-metadata-system.R:3356:1', 'test-metadata-system.R:3364:1', 'test-metadata-system.R:3372:1', 'test-metadata-system.R:3390:1', 'test-metadata-system.R:3408:1', 'test-metadata-system.R:3426:1', 'test-metadata-system.R:3441:1', 'test-metadata-system.R:3506:1', 'test-metadata-system.R:3517:1', 'test-methods-print.R:107:1', 'test-methods-print.R:118:1', 'test-methods-print.R:224:1', 'test-methods-print.R:235:1', 'test-methods-print.R:255:1', 'test-methods-print.R:266:1', 'test-methods-print.R:286:1', 'test-methods-print.R:331:1', 'test-methods-print.R:348:1', 'test-methods-print.R:375:1', 'test-methods-print.R:386:1', 'test-methods-print.R:398:1', 'test-methods-print.R:410:1', 'test-methods-print.R:421:1', 'test-methods-print.R:432:1', 'test-methods-print.R:447:1', 'test-methods-print.R:462:1', 'test-methods-print.R:652:1', 'test-methods-print.R:680:1', 'test-methods-print.R:702:1', 'test-methods-print.R:723:1', 'test-methods-print.R:736:1', 'test-methods-print.R:749:1', 'test-methods-print.R:756:1', 'test-methods-print.R:866:1', 'test-methods-print.R:878:1', 'test-methods-print.R:891:1', 'test-methods-print.R:904:1', 'test-methods-print.R:964:1', 'test-methods-print.R:976:1', 'test-methods-print.R:989:1', 'test-methods-print.R:1002:1', 'test-nonprob-bootstrap-variance.R:585:1', 'test-sata-detection.R:178:1', 'test-sata-detection.R:193:1', 'test-sata-detection.R:211:1', 'test-survey-collection-dispatch.R:319:1', 'test-survey-collection-dispatch.R:343:1', 'test-survey-collection-dispatch.R:366:1', 'test-survey-collection-dispatch.R:379:1', 'test-survey-collection-dispatch.R:389:1', 'test-survey-collection-dispatch.R:399:1', 'test-survey-collection-dispatch.R:424:1', 'test-survey-collection-dispatch.R:446:1', 'test-survey-collection-dispatch.R:559:1', 'test-survey-collection-dispatch.R:819:1', 'test-survey-collection.R:187:1', 'test-survey-collection.R:236:1', 'test-survey-collection.R:381:1', 'test-survey-collection.R:455:1', 'test-survey-collection.R:714:1', 'test-survey-collection.R:742:1', 'test-survey-collection.R:1008:1', 'test-survey-collection.R:1014:1', 'test-survey-collection.R:1025:1', 'test-update-design.R:284:1', 'test-utils.R:640:1', 'test-validators.R:354:1', 'test-validators.R:376:1', 'test-validators.R:398:1', 'test-variance-taylor.R:308:1', 'test-variance-twophase.R:5:1', 'test-variance-vendored-saddlepoint.R:9:1' • Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1): 'test-srr-compliance.R:294:3' • {MASS} is not installed (1): 'test-calibration.R:633:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-analysis-diffs-helpers.R:478:3'): .extract_me_estimates() with groups: result_groups is a data.frame ── Expected `nrow(result$result_groups)` to equal 4L. Differences: `actual`: 3 `expected`: 4 ── Failure ('test-analysis-diffs-helpers.R:668:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `nrow(out$groups_df)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs-helpers.R:669:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `length(out$col_vecs[["treats"]])` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs-helpers.R:858:3'): .build_diffs_output() p-value adjustment with groups: adjusts within each group ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:858:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1038:3'): .build_diffs_output() pct_change with show_means = FALSE + grouped ME + show_pct_change = TRUE: pct_change computed (not NA) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1038:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1334:3'): .build_diffs_output() grouped path with pct_change: group combo loop hits has_group branch ── Error in `if (grp_ok) { ref_mean_val <- all_rows[[ri]]$mean break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1334:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Failure ('test-analysis-diffs.R:471:3'): get_diffs() with group produces grouped output ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs.R:490:3'): get_diffs() with covariates and group ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs.R:562:3'): get_diffs() pval_adj with group adjusts within groups ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:562:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs.R:1026:3'): get_diffs() pct_change is non-NA with show_means = FALSE (grouped) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:1026:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [175s/192s] 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(surveycore) > > test_check("surveycore") i Skipped 2 surveys missing the requested variable: "w1" and "w2". # A survey_diffs result # Design: Taylor series | Family: gaussian (identity) # DV: y | Treatment: arm (ref: Ctrl) # Method: coefficient / intercept # A <survey_diffs> [2 × 4] # A tibble: 2 x 4 arm estimate mean n <fct> <dbl> <dbl> <int> 1 Ctrl 0 0.5 100 2 T1 0.05 0.55 100 Saving _problems/test-analysis-diffs-helpers-478.R Saving _problems/test-analysis-diffs-helpers-668.R Saving _problems/test-analysis-diffs-helpers-669.R Saving _problems/test-analysis-diffs-helpers-876.R Saving _problems/test-analysis-diffs-helpers-1056.R Saving _problems/test-analysis-diffs-helpers-1352.R Saving _problems/test-analysis-diffs-471.R Saving _problems/test-analysis-diffs-490.R Saving _problems/test-analysis-diffs-569.R Saving _problems/test-analysis-diffs-1034.R # A survey_t_test result # Design: Taylor series | N: 400 # DV: outcome | By: grp2 (A vs. B) # A <tbl_df> [1 × 13] # A tibble: 1 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat df <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> <dbl> 1 A B 3.51 50.9 54.4 209 191 1.16 5.86 3.18 15 # i 2 more variables: p_value <dbl>, stars <chr> # A survey_pairwise result # Design: Taylor series | N: 400 # DV: outcome | By: grp3 (3 levels, 3 pairs) # Adjustment: holm # A <tbl_df> [3 × 13] # A tibble: 3 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> 1 X Y -0.910 53.1 52.2 145 136 -3.59 1.77 -0.725 2 X Z -0.847 53.1 52.3 145 119 -3.77 2.08 -0.617 3 Y Z 0.0631 52.2 52.3 136 119 -2.78 2.91 0.0473 # i 3 more variables: df <dbl>, p_value <dbl>, stars <chr> i Skipped 2 surveys missing the requested variable: "w1" and "w2". -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability) [experimental] * Variance: SRS approximation (no bootstrap replicate weights) Sample size: 10 # A tibble: 10 x 2 y w <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design Summary ------------------------------------------------------- Type: non-probability [experimental] Sample size: 10 Weighted N: 10 -- Design -- Weights: w * Range: 1 – 1 * Mean: 1 * CV: 0 Calibration provenance: none stored Metadata: 0 of 2 variable(s) labeled Survey-weighted GLM Family: gaussian (identity link) Formula: y1 ~ y2 + y3 Design: Taylor series Coefficients: (Intercept) y2 y3 51.1868 -0.0624 -2.6042 Degrees of freedom: 16 (design-based) Survey-weighted GLM Call: survey_glm(design = .glm_taylor(), formula = y1 ~ y2 + y3) Deviance Residuals: Min 1Q Median 3Q Max -93.3797 -18.7253 -0.4633 22.9540 75.4878 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 51.1868 0.7268 70.4262 0.0000 *** y2 -0.0624 0.8308 -0.0752 0.9412 y3 -2.6042 1.4802 -1.7594 0.1003 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for gaussian family taken to be 986.9) Null deviance: 197426 on 199 degrees of freedom Residual deviance: 194412 on 197 degrees of freedom AIC: 1492 Design df: 16 (taylor) # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A # i 49 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 10 psu strata fpc wt y1 y2 y3 group prob ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> 1 psu_1 stratum~ 378 14.3 50.9 -0.122 1 A 0.0701 14.3 2 psu_1 stratum~ 378 21.8 20.1 0.188 0 B 0.0459 21.8 3 psu_1 stratum~ 378 14.4 52.8 0.119 1 B 0.0697 14.4 4 psu_2 stratum~ 378 18.9 46.3 -0.0251 0 A 0.0530 18.9 5 psu_2 stratum~ 378 23.0 51.9 0.108 0 B 0.0435 23.0 6 psu_2 stratum~ 378 11.0 55.8 -0.485 0 C 0.0908 11.0 7 psu_2 stratum~ 378 13.8 64.0 -0.504 0 A 0.0727 13.8 8 psu_2 stratum~ 378 14.2 42.7 -1.66 0 B 0.0706 14.2 9 psu_3 stratum~ 378 16.5 63.0 -0.382 1 C 0.0606 16.5 10 psu_3 stratum~ 378 13.7 53.4 -0.513 1 A 0.0728 13.7 # i 40 more rows # A tibble: 30 x 9 psu strata fpc wt y1 y2 y3 group ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <int> 1 psu_1 stratum_1 218 14.3 41.5 1.04 1 B 1 2 psu_1 stratum_1 218 21.8 25.9 0.921 1 B 1 3 psu_2 stratum_1 218 14.4 50.4 0.721 0 B 1 4 psu_2 stratum_1 218 18.9 52.1 -1.04 1 A 1 5 psu_2 stratum_1 218 23.0 46.4 -0.0902 0 A 1 6 psu_3 stratum_1 218 11.0 57.6 0.624 0 C 1 7 psu_3 stratum_1 218 13.7 42.7 -0.954 0 B 1 8 psu_4 stratum_1 218 14.2 36.3 -0.543 0 B 1 9 psu_4 stratum_1 218 16.5 54.3 0.581 0 C 1 10 psu_4 stratum_1 218 13.7 41.9 0.768 0 C 1 # i 20 more rows # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 # i 49 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 # i 59 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 50 x 14 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 3 more variables: repwt_4 <dbl>, repwt_5 <dbl>, fpc_rep <int> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 30 x 2 y w <dbl> <dbl> 1 0.828 2.00 2 0.0757 1.11 3 0.126 1.85 4 2.27 1.22 5 -0.838 1.30 6 -0.469 1.48 7 0.0155 1.20 8 0.961 1.41 9 -0.281 0.965 10 0.0697 1.51 # i 20 more rows # A tibble: 100 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 538 11.6 50.9 -1.43 0 C FALSE 0.0967 2 psu_1 stratum_1 538 12.0 46.7 -0.718 0 C FALSE 0.0967 3 psu_1 stratum_1 538 12.1 42.0 0.205 1 A TRUE 0.0967 4 psu_1 stratum_1 538 11.6 30.8 -1.90 0 A FALSE 0.0967 5 psu_1 stratum_1 538 9.12 53.7 -0.449 0 A FALSE 0.0967 6 psu_1 stratum_1 538 10.3 56.6 0.523 0 B TRUE 0.0967 7 psu_1 stratum_1 538 9.43 69.5 -0.123 0 C FALSE 0.0967 8 psu_1 stratum_1 538 10.7 55.8 -1.11 1 B TRUE 0.0967 9 psu_1 stratum_1 538 10.5 39.5 -0.774 1 C FALSE 0.0967 10 psu_1 stratum_1 538 10.1 39.8 0.615 0 C FALSE 0.0967 # i 90 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 2 y wt <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability, JK1, 4 replicates) [experimental] Sample size: 10 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 i Skipped 2 surveys missing the requested variable: "w1" and "w2". i Skipped 1 survey missing the requested variable: "only". [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] ══ Skipped tests (426) ═════════════════════════════════════════════════════════ • A-13 trigger requires careful numerical construction; tracked for follow-up PR (1): 'test-glm-anova.R:531:3' • A-20 requires a hand-built fit whose @design@data domain column differs from the refit's; deferred to follow-up PR (1): 'test-glm-anova.R:481:3' • On CRAN (422): 'test-analysis-corr-latent-primitives.R:74:1', 'test-analysis-corr-latent-primitives.R:97:1', 'test-analysis-corr-latent-primitives.R:152:1', 'test-analysis-corr-latent-primitives.R:348:1', 'test-analysis-corr-latent-primitives.R:482:1', 'test-analysis-corr-latent-primitives.R:741:1', 'test-analysis-corr-latent-variance.R:14:1', 'test-analysis-corr-latent.R:20:1', 'test-analysis-corr.R:809:1', 'test-analysis-corr.R:817:1', 'test-analysis-corr.R:1231:1', 'test-analysis-corr.R:1646:1', 'test-analysis-corr.R:1664:1', 'test-analysis-covariance.R:690:1', 'test-analysis-covariance.R:699:1', 'test-analysis-covariance.R:712:1', 'test-analysis-covariance.R:734:1', 'test-analysis-covariance.R:747:1', 'test-analysis-covariance.R:768:1', 'test-analysis-covariance.R:785:1', 'test-analysis-covariance.R:798:1', 'test-analysis-covariance.R:819:1', 'test-analysis-covariance.R:851:1', 'test-analysis-covariance.R:884:1', 'test-analysis-covariance.R:924:1', 'test-analysis-covariance.R:1131:1', 'test-analysis-covariance.R:1154:1', 'test-analysis-covariance.R:1176:1', 'test-analysis-diffs-helpers.R:147:1', 'test-analysis-diffs-helpers.R:388:1', 'test-analysis-diffs-marginaleffects.R:6:1', 'test-analysis-diffs-numerical.R:6:1', 'test-analysis-diffs.R:30:1', 'test-analysis-diffs.R:39:1', 'test-analysis-diffs.R:48:1', 'test-analysis-diffs.R:57:1', 'test-analysis-diffs.R:66:1', 'test-analysis-diffs.R:77:1', 'test-analysis-diffs.R:89:1', 'test-analysis-diffs.R:101:1', 'test-analysis-diffs.R:435:1', 'test-analysis-diffs.R:765:1', 'test-analysis-diffs.R:774:1', 'test-analysis-diffs.R:783:1', 'test-analysis-diffs.R:792:1', 'test-analysis-diffs.R:801:1', 'test-analysis-diffs.R:810:1', 'test-analysis-freqs.R:578:1', 'test-analysis-freqs.R:589:1', 'test-analysis-freqs.R:610:1', 'test-analysis-freqs.R:631:1', 'test-analysis-freqs.R:652:1', 'test-analysis-freqs.R:1255:1', 'test-analysis-freqs.R:1499:1', 'test-analysis-helpers.R:59:1', 'test-analysis-helpers.R:77:1', 'test-analysis-helpers.R:110:1', 'test-analysis-helpers.R:398:1', 'test-analysis-helpers.R:754:1', 'test-analysis-helpers.R:1113:1', 'test-analysis-helpers.R:1153:1', 'test-analysis-helpers.R:1462:1', 'test-analysis-means.R:320:1', 'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1', 'test-analysis-quantiles.R:716:1', 'test-analysis-quantiles.R:724:1', 'test-analysis-quantiles.R:759:1', 'test-analysis-quantiles.R:771:1', 'test-analysis-quantiles.R:1095:1', 'test-analysis-ratios.R:578:1', 'test-analysis-ratios.R:588:1', 'test-analysis-ratios.R:598:1', 'test-analysis-ratios.R:608:1', 'test-analysis-ratios.R:1040:1', 'test-analysis-t-test-numerical.R:6:1', 'test-analysis-t-test.R:285:1', 'test-analysis-t-test.R:310:1', 'test-analysis-t-test.R:319:1', 'test-analysis-t-test.R:328:1', 'test-analysis-t-test.R:340:1', 'test-analysis-t-test.R:352:1', 'test-analysis-t-test.R:364:1', 'test-analysis-t-test.R:377:1', 'test-analysis-t-test.R:393:1', 'test-analysis-t-test.R:402:1', 'test-analysis-t-test.R:414:1', 'test-analysis-t-test.R:426:1', 'test-analysis-t-test.R:754:1', 'test-analysis-t-test.R:820:1', 'test-analysis-t-test.R:831:1', 'test-analysis-totals.R:301:1', 'test-analysis-totals.R:320:1', 'test-analysis-totals.R:624:1', 'test-analysis-variance-collection.R:122:1', 'test-analysis-variance-collection.R:146:1', 'test-analysis-variance-collection.R:169:1', 'test-analysis-variance-collection.R:182:1', 'test-analysis-variance-twophase-nonprob.R:9:1', 'test-analysis-variance.R:598:1', 'test-analysis-variance.R:608:1', 'test-analysis-variance.R:622:1', 'test-analysis-variance.R:634:1', 'test-analysis-variance.R:646:1', 'test-analysis-variance.R:657:1', 'test-analysis-variance.R:676:1', 'test-analysis-variance.R:691:1', 'test-analysis-variance.R:705:1', 'test-calibration.R:73:1', 'test-calibration.R:84:1', 'test-calibration.R:96:1', 'test-calibration.R:108:1', 'test-calibration.R:120:1', 'test-calibration.R:132:1', 'test-calibration.R:144:1', 'test-calibration.R:156:1', 'test-calibration.R:170:1', 'test-calibration.R:182:1', 'test-calibration.R:194:1', 'test-calibration.R:207:1', 'test-calibration.R:223:1', 'test-calibration.R:238:1', 'test-calibration.R:264:1', 'test-calibration.R:737:1', 'test-calibration.R:748:1', 'test-calibration.R:762:1', 'test-calibration.R:776:1', 'test-calibration.R:788:1', 'test-calibration.R:802:1', 'test-calibration.R:840:1', 'test-calibration.R:854:1', 'test-calibration.R:866:1', 'test-calibration.R:878:1', 'test-calibration.R:893:1', 'test-calibration.R:906:1', 'test-calibration.R:919:1', 'test-calibration.R:949:1', 'test-calibration.R:974:1', 'test-calibration.R:1002:1', 'test-collection-groups.R:352:1', 'test-collection-groups.R:362:1', 'test-collection-groups.R:375:1', 'test-collection-groups.R:411:1', 'test-collection-groups.R:549:1', 'test-collection-groups.R:556:1', 'test-constructors.R:145:1', 'test-constructors.R:161:1', 'test-constructors.R:171:1', 'test-constructors.R:189:1', 'test-constructors.R:199:1', 'test-constructors.R:259:1', 'test-constructors.R:272:1', 'test-constructors.R:302:1', 'test-constructors.R:329:1', 'test-constructors.R:347:1', 'test-constructors.R:361:1', 'test-constructors.R:730:1', 'test-constructors.R:752:1', 'test-constructors.R:827:1', 'test-constructors.R:850:1', 'test-constructors.R:1145:1', 'test-constructors.R:1159:1', 'test-constructors.R:1200:1', 'test-constructors.R:1211:1', 'test-constructors.R:1227:1', 'test-constructors.R:1243:1', 'test-constructors.R:1265:1', 'test-constructors.R:1613:1', 'test-constructors.R:1624:1', 'test-constructors.R:1636:1', 'test-constructors.R:1648:1', 'test-constructors.R:1660:1', 'test-constructors.R:1672:1', 'test-constructors.R:1738:1', 'test-constructors.R:1744:1', 'test-constructors.R:1750:1', 'test-constructors.R:1756:1', 'test-constructors.R:1762:1', 'test-constructors.R:1769:1', 'test-constructors.R:1917:1', 'test-constructors.R:2079:1', 'test-constructors.R:2091:1', 'test-constructors.R:2103:1', 'test-constructors.R:2115:1', 'test-constructors.R:2137:1', 'test-constructors.R:2159:1', 'test-constructors.R:2181:1', 'test-constructors.R:2193:1', 'test-constructors.R:2216:1', 'test-constructors.R:2289:1', 'test-constructors.R:2316:1', 'test-constructors.R:2343:1', 'test-constructors.R:2497:1', 'test-constructors.R:2524:1', 'test-constructors.R:2551:1', 'test-constructors.R:2648:1', 'test-constructors.R:2686:1', 'test-constructors.R:2710:1', 'test-constructors.R:2734:1', 'test-constructors.R:2757:1', 'test-constructors.R:2781:1', 'test-constructors.R:2891:1', 'test-constructors.R:2906:1', 'test-constructors.R:2921:1', 'test-constructors.R:2940:1', 'test-constructors.R:2959:1', 'test-constructors.R:2978:1', 'test-constructors.R:3009:1', 'test-constructors.R:3021:1', 'test-constructors.R:3035:1', 'test-constructors.R:3050:1', 'test-constructors.R:3067:1', 'test-effective-n.R:212:1', 'test-effective-n.R:220:1', 'test-effective-n.R:229:1', 'test-effective-n.R:444:1', 'test-effective-n.R:452:1', 'test-effective-n.R:460:1', 'test-effective-n.R:468:1', 'test-glm-anova-dispatch.R:270:1', 'test-glm-anova-dispatch.R:274:1', 'test-glm-anova-dispatch.R:280:1', 'test-glm-anova-dispatch.R:284:1', 'test-glm-anova-dispatch.R:289:1', 'test-glm-anova-dispatch.R:295:1', 'test-glm-anova-numerical.R:18:1', 'test-glm-anova.R:353:1', 'test-glm-anova.R:361:1', 'test-glm-anova.R:374:1', 'test-glm-anova.R:398:1', 'test-glm-anova.R:412:1', 'test-glm-anova.R:426:1', 'test-glm-anova.R:436:1', 'test-glm-anova.R:694:1', 'test-glm-anova.R:700:1', 'test-glm-anova.R:709:1', 'test-glm-anova.R:811:1', 'test-glm-anova.R:822:1', 'test-glm-anova.R:833:1', 'test-glm-anova.R:859:1', 'test-glm-anova.R:871:1', 'test-glm-anova.R:919:1', 'test-glm-marginaleffects.R:9:1', 'test-glm-methods.R:52:1', 'test-glm-methods.R:109:1', 'test-glm-methods.R:115:1', 'test-glm-methods.R:205:1', 'test-glm-methods.R:289:1', 'test-glm-methods.R:299:1', 'test-glm-methods.R:312:1', 'test-glm-methods.R:325:1', 'test-glm-methods.R:392:1', 'test-glm-methods.R:424:1', 'test-glm-methods.R:449:1', 'test-glm-methods.R:474:1', 'test-glm-methods.R:526:1', 'test-glm-methods.R:548:1', 'test-glm-methods.R:575:1', 'test-glm-methods.R:584:1', 'test-glm-methods.R:611:1', 'test-glm-methods.R:660:1', 'test-glm-methods.R:675:1', 'test-glm-numerical.R:14:1', 'test-glm.R:128:1', 'test-glm.R:177:1', 'test-glm.R:186:1', 'test-glm.R:196:1', 'test-glm.R:206:1', 'test-glm.R:219:1', 'test-glm.R:229:1', 'test-glm.R:239:1', 'test-glm.R:249:1', 'test-glm.R:261:1', 'test-glm.R:273:1', 'test-glm.R:309:1', 'test-glm.R:325:1', 'test-glm.R:1007:1', 'test-glm.R:1015:1', 'test-glm.R:1288:1', 'test-metadata-infer.R:408:1', 'test-metadata-system.R:187:1', 'test-metadata-system.R:709:1', 'test-metadata-system.R:713:1', 'test-metadata-system.R:721:1', 'test-metadata-system.R:726:1', 'test-metadata-system.R:734:1', 'test-metadata-system.R:739:1', 'test-metadata-system.R:744:1', 'test-metadata-system.R:749:1', 'test-metadata-system.R:925:1', 'test-metadata-system.R:930:1', 'test-metadata-system.R:935:1', 'test-metadata-system.R:939:1', 'test-metadata-system.R:944:1', 'test-metadata-system.R:952:1', 'test-metadata-system.R:960:1', 'test-metadata-system.R:965:1', 'test-metadata-system.R:1107:1', 'test-metadata-system.R:1114:1', 'test-metadata-system.R:1119:1', 'test-metadata-system.R:1127:1', 'test-metadata-system.R:1132:1', 'test-metadata-system.R:1140:1', 'test-metadata-system.R:1145:1', 'test-metadata-system.R:1278:1', 'test-metadata-system.R:1282:1', 'test-metadata-system.R:1290:1', 'test-metadata-system.R:1295:1', 'test-metadata-system.R:1303:1', 'test-metadata-system.R:1308:1', 'test-metadata-system.R:1313:1', 'test-metadata-system.R:1439:1', 'test-metadata-system.R:1443:1', 'test-metadata-system.R:1448:1', 'test-metadata-system.R:1456:1', 'test-metadata-system.R:1461:1', 'test-metadata-system.R:1469:1', 'test-metadata-system.R:1474:1', 'test-metadata-system.R:1623:1', 'test-metadata-system.R:1628:1', 'test-metadata-system.R:1635:1', 'test-metadata-system.R:1643:1', 'test-metadata-system.R:1648:1', 'test-metadata-system.R:1660:1', 'test-metadata-system.R:1665:1', 'test-metadata-system.R:1887:1', 'test-metadata-system.R:2040:1', 'test-metadata-system.R:2054:1', 'test-metadata-system.R:2068:1', 'test-metadata-system.R:2082:1', 'test-metadata-system.R:2202:1', 'test-metadata-system.R:2438:1', 'test-metadata-system.R:2442:1', 'test-metadata-system.R:2622:1', 'test-metadata-system.R:2630:1', 'test-metadata-system.R:2648:1', 'test-metadata-system.R:2663:1', 'test-metadata-system.R:2678:1', 'test-metadata-system.R:2858:1', 'test-metadata-system.R:2866:1', 'test-metadata-system.R:2881:1', 'test-metadata-system.R:2896:1', 'test-metadata-system.R:3079:1', 'test-metadata-system.R:3087:1', 'test-metadata-system.R:3095:1', 'test-metadata-system.R:3110:1', 'test-metadata-system.R:3128:1', 'test-metadata-system.R:3146:1', 'test-metadata-system.R:3164:1', 'test-metadata-system.R:3179:1', 'test-metadata-system.R:3356:1', 'test-metadata-system.R:3364:1', 'test-metadata-system.R:3372:1', 'test-metadata-system.R:3390:1', 'test-metadata-system.R:3408:1', 'test-metadata-system.R:3426:1', 'test-metadata-system.R:3441:1', 'test-metadata-system.R:3506:1', 'test-metadata-system.R:3517:1', 'test-methods-print.R:107:1', 'test-methods-print.R:118:1', 'test-methods-print.R:224:1', 'test-methods-print.R:235:1', 'test-methods-print.R:255:1', 'test-methods-print.R:266:1', 'test-methods-print.R:286:1', 'test-methods-print.R:331:1', 'test-methods-print.R:348:1', 'test-methods-print.R:375:1', 'test-methods-print.R:386:1', 'test-methods-print.R:398:1', 'test-methods-print.R:410:1', 'test-methods-print.R:421:1', 'test-methods-print.R:432:1', 'test-methods-print.R:447:1', 'test-methods-print.R:462:1', 'test-methods-print.R:652:1', 'test-methods-print.R:680:1', 'test-methods-print.R:702:1', 'test-methods-print.R:723:1', 'test-methods-print.R:736:1', 'test-methods-print.R:749:1', 'test-methods-print.R:756:1', 'test-methods-print.R:866:1', 'test-methods-print.R:878:1', 'test-methods-print.R:891:1', 'test-methods-print.R:904:1', 'test-methods-print.R:964:1', 'test-methods-print.R:976:1', 'test-methods-print.R:989:1', 'test-methods-print.R:1002:1', 'test-nonprob-bootstrap-variance.R:585:1', 'test-sata-detection.R:178:1', 'test-sata-detection.R:193:1', 'test-sata-detection.R:211:1', 'test-survey-collection-dispatch.R:319:1', 'test-survey-collection-dispatch.R:343:1', 'test-survey-collection-dispatch.R:366:1', 'test-survey-collection-dispatch.R:379:1', 'test-survey-collection-dispatch.R:389:1', 'test-survey-collection-dispatch.R:399:1', 'test-survey-collection-dispatch.R:424:1', 'test-survey-collection-dispatch.R:446:1', 'test-survey-collection-dispatch.R:559:1', 'test-survey-collection-dispatch.R:819:1', 'test-survey-collection.R:187:1', 'test-survey-collection.R:236:1', 'test-survey-collection.R:381:1', 'test-survey-collection.R:455:1', 'test-survey-collection.R:714:1', 'test-survey-collection.R:742:1', 'test-survey-collection.R:1008:1', 'test-survey-collection.R:1014:1', 'test-survey-collection.R:1025:1', 'test-update-design.R:284:1', 'test-utils.R:640:1', 'test-validators.R:354:1', 'test-validators.R:376:1', 'test-validators.R:398:1', 'test-variance-taylor.R:308:1', 'test-variance-twophase.R:5:1', 'test-variance-vendored-saddlepoint.R:9:1' • Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1): 'test-srr-compliance.R:294:3' • {MASS} is not installed (1): 'test-calibration.R:633:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-analysis-diffs-helpers.R:478:3'): .extract_me_estimates() with groups: result_groups is a data.frame ── Expected `nrow(result$result_groups)` to equal 4L. Differences: `actual`: 3 `expected`: 4 ── Failure ('test-analysis-diffs-helpers.R:668:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `nrow(out$groups_df)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs-helpers.R:669:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `length(out$col_vecs[["treats"]])` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs-helpers.R:858:3'): .build_diffs_output() p-value adjustment with groups: adjusts within each group ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:858:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1038:3'): .build_diffs_output() pct_change with show_means = FALSE + grouped ME + show_pct_change = TRUE: pct_change computed (not NA) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1038:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1334:3'): .build_diffs_output() grouped path with pct_change: group combo loop hits has_group branch ── Error in `if (grp_ok) { ref_mean_val <- all_rows[[ri]]$mean break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1334:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Failure ('test-analysis-diffs.R:471:3'): get_diffs() with group produces grouped output ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs.R:490:3'): get_diffs() with covariates and group ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs.R:562:3'): get_diffs() pval_adj with group adjusts within groups ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:562:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs.R:1026:3'): get_diffs() pct_change is non-NA with show_means = FALSE (grouped) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:1026:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [173s/204s] 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(surveycore) > > test_check("surveycore") i Skipped 2 surveys missing the requested variable: "w1" and "w2". # A survey_diffs result # Design: Taylor series | Family: gaussian (identity) # DV: y | Treatment: arm (ref: Ctrl) # Method: coefficient / intercept # A <survey_diffs> [2 × 4] # A tibble: 2 x 4 arm estimate mean n <fct> <dbl> <dbl> <int> 1 Ctrl 0 0.5 100 2 T1 0.05 0.55 100 Saving _problems/test-analysis-diffs-helpers-478.R Saving _problems/test-analysis-diffs-helpers-668.R Saving _problems/test-analysis-diffs-helpers-669.R Saving _problems/test-analysis-diffs-helpers-876.R Saving _problems/test-analysis-diffs-helpers-1056.R Saving _problems/test-analysis-diffs-helpers-1352.R Saving _problems/test-analysis-diffs-471.R Saving _problems/test-analysis-diffs-490.R Saving _problems/test-analysis-diffs-569.R Saving _problems/test-analysis-diffs-1034.R # A survey_t_test result # Design: Taylor series | N: 400 # DV: outcome | By: grp2 (A vs. B) # A <tbl_df> [1 × 13] # A tibble: 1 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat df <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> <dbl> 1 A B 3.51 50.9 54.4 209 191 1.16 5.86 3.18 15 # i 2 more variables: p_value <dbl>, stars <chr> # A survey_pairwise result # Design: Taylor series | N: 400 # DV: outcome | By: grp3 (3 levels, 3 pairs) # Adjustment: holm # A <tbl_df> [3 × 13] # A tibble: 3 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> 1 X Y -0.910 53.1 52.2 145 136 -3.59 1.77 -0.725 2 X Z -0.847 53.1 52.3 145 119 -3.77 2.08 -0.617 3 Y Z 0.0631 52.2 52.3 136 119 -2.78 2.91 0.0473 # i 3 more variables: df <dbl>, p_value <dbl>, stars <chr> i Skipped 2 surveys missing the requested variable: "w1" and "w2". -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability) [experimental] * Variance: SRS approximation (no bootstrap replicate weights) Sample size: 10 # A tibble: 10 x 2 y w <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design Summary ------------------------------------------------------- Type: non-probability [experimental] Sample size: 10 Weighted N: 10 -- Design -- Weights: w * Range: 1 – 1 * Mean: 1 * CV: 0 Calibration provenance: none stored Metadata: 0 of 2 variable(s) labeled Survey-weighted GLM Family: gaussian (identity link) Formula: y1 ~ y2 + y3 Design: Taylor series Coefficients: (Intercept) y2 y3 51.1868 -0.0624 -2.6042 Degrees of freedom: 16 (design-based) Survey-weighted GLM Call: survey_glm(design = .glm_taylor(), formula = y1 ~ y2 + y3) Deviance Residuals: Min 1Q Median 3Q Max -93.3797 -18.7253 -0.4633 22.9540 75.4878 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 51.1868 0.7268 70.4262 0.0000 *** y2 -0.0624 0.8308 -0.0752 0.9412 y3 -2.6042 1.4802 -1.7594 0.1003 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for gaussian family taken to be 986.9) Null deviance: 197426 on 199 degrees of freedom Residual deviance: 194412 on 197 degrees of freedom AIC: 1492 Design df: 16 (taylor) # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A # i 49 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 10 psu strata fpc wt y1 y2 y3 group prob ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> 1 psu_1 stratum~ 378 14.3 50.9 -0.122 1 A 0.0701 14.3 2 psu_1 stratum~ 378 21.8 20.1 0.188 0 B 0.0459 21.8 3 psu_1 stratum~ 378 14.4 52.8 0.119 1 B 0.0697 14.4 4 psu_2 stratum~ 378 18.9 46.3 -0.0251 0 A 0.0530 18.9 5 psu_2 stratum~ 378 23.0 51.9 0.108 0 B 0.0435 23.0 6 psu_2 stratum~ 378 11.0 55.8 -0.485 0 C 0.0908 11.0 7 psu_2 stratum~ 378 13.8 64.0 -0.504 0 A 0.0727 13.8 8 psu_2 stratum~ 378 14.2 42.7 -1.66 0 B 0.0706 14.2 9 psu_3 stratum~ 378 16.5 63.0 -0.382 1 C 0.0606 16.5 10 psu_3 stratum~ 378 13.7 53.4 -0.513 1 A 0.0728 13.7 # i 40 more rows # A tibble: 30 x 9 psu strata fpc wt y1 y2 y3 group ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <int> 1 psu_1 stratum_1 218 14.3 41.5 1.04 1 B 1 2 psu_1 stratum_1 218 21.8 25.9 0.921 1 B 1 3 psu_2 stratum_1 218 14.4 50.4 0.721 0 B 1 4 psu_2 stratum_1 218 18.9 52.1 -1.04 1 A 1 5 psu_2 stratum_1 218 23.0 46.4 -0.0902 0 A 1 6 psu_3 stratum_1 218 11.0 57.6 0.624 0 C 1 7 psu_3 stratum_1 218 13.7 42.7 -0.954 0 B 1 8 psu_4 stratum_1 218 14.2 36.3 -0.543 0 B 1 9 psu_4 stratum_1 218 16.5 54.3 0.581 0 C 1 10 psu_4 stratum_1 218 13.7 41.9 0.768 0 C 1 # i 20 more rows # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 # i 49 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 # i 59 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 50 x 14 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 3 more variables: repwt_4 <dbl>, repwt_5 <dbl>, fpc_rep <int> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 30 x 2 y w <dbl> <dbl> 1 0.828 2.00 2 0.0757 1.11 3 0.126 1.85 4 2.27 1.22 5 -0.838 1.30 6 -0.469 1.48 7 0.0155 1.20 8 0.961 1.41 9 -0.281 0.965 10 0.0697 1.51 # i 20 more rows # A tibble: 100 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 538 11.6 50.9 -1.43 0 C FALSE 0.0967 2 psu_1 stratum_1 538 12.0 46.7 -0.718 0 C FALSE 0.0967 3 psu_1 stratum_1 538 12.1 42.0 0.205 1 A TRUE 0.0967 4 psu_1 stratum_1 538 11.6 30.8 -1.90 0 A FALSE 0.0967 5 psu_1 stratum_1 538 9.12 53.7 -0.449 0 A FALSE 0.0967 6 psu_1 stratum_1 538 10.3 56.6 0.523 0 B TRUE 0.0967 7 psu_1 stratum_1 538 9.43 69.5 -0.123 0 C FALSE 0.0967 8 psu_1 stratum_1 538 10.7 55.8 -1.11 1 B TRUE 0.0967 9 psu_1 stratum_1 538 10.5 39.5 -0.774 1 C FALSE 0.0967 10 psu_1 stratum_1 538 10.1 39.8 0.615 0 C FALSE 0.0967 # i 90 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 2 y wt <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability, JK1, 4 replicates) [experimental] Sample size: 10 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 i Skipped 2 surveys missing the requested variable: "w1" and "w2". i Skipped 1 survey missing the requested variable: "only". [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] ══ Skipped tests (426) ═════════════════════════════════════════════════════════ • A-13 trigger requires careful numerical construction; tracked for follow-up PR (1): 'test-glm-anova.R:531:3' • A-20 requires a hand-built fit whose @design@data domain column differs from the refit's; deferred to follow-up PR (1): 'test-glm-anova.R:481:3' • On CRAN (422): 'test-analysis-corr-latent-primitives.R:74:1', 'test-analysis-corr-latent-primitives.R:97:1', 'test-analysis-corr-latent-primitives.R:152:1', 'test-analysis-corr-latent-primitives.R:348:1', 'test-analysis-corr-latent-primitives.R:482:1', 'test-analysis-corr-latent-primitives.R:741:1', 'test-analysis-corr-latent-variance.R:14:1', 'test-analysis-corr-latent.R:20:1', 'test-analysis-corr.R:809:1', 'test-analysis-corr.R:817:1', 'test-analysis-corr.R:1231:1', 'test-analysis-corr.R:1646:1', 'test-analysis-corr.R:1664:1', 'test-analysis-covariance.R:690:1', 'test-analysis-covariance.R:699:1', 'test-analysis-covariance.R:712:1', 'test-analysis-covariance.R:734:1', 'test-analysis-covariance.R:747:1', 'test-analysis-covariance.R:768:1', 'test-analysis-covariance.R:785:1', 'test-analysis-covariance.R:798:1', 'test-analysis-covariance.R:819:1', 'test-analysis-covariance.R:851:1', 'test-analysis-covariance.R:884:1', 'test-analysis-covariance.R:924:1', 'test-analysis-covariance.R:1131:1', 'test-analysis-covariance.R:1154:1', 'test-analysis-covariance.R:1176:1', 'test-analysis-diffs-helpers.R:147:1', 'test-analysis-diffs-helpers.R:388:1', 'test-analysis-diffs-marginaleffects.R:6:1', 'test-analysis-diffs-numerical.R:6:1', 'test-analysis-diffs.R:30:1', 'test-analysis-diffs.R:39:1', 'test-analysis-diffs.R:48:1', 'test-analysis-diffs.R:57:1', 'test-analysis-diffs.R:66:1', 'test-analysis-diffs.R:77:1', 'test-analysis-diffs.R:89:1', 'test-analysis-diffs.R:101:1', 'test-analysis-diffs.R:435:1', 'test-analysis-diffs.R:765:1', 'test-analysis-diffs.R:774:1', 'test-analysis-diffs.R:783:1', 'test-analysis-diffs.R:792:1', 'test-analysis-diffs.R:801:1', 'test-analysis-diffs.R:810:1', 'test-analysis-freqs.R:578:1', 'test-analysis-freqs.R:589:1', 'test-analysis-freqs.R:610:1', 'test-analysis-freqs.R:631:1', 'test-analysis-freqs.R:652:1', 'test-analysis-freqs.R:1255:1', 'test-analysis-freqs.R:1499:1', 'test-analysis-helpers.R:59:1', 'test-analysis-helpers.R:77:1', 'test-analysis-helpers.R:110:1', 'test-analysis-helpers.R:398:1', 'test-analysis-helpers.R:754:1', 'test-analysis-helpers.R:1113:1', 'test-analysis-helpers.R:1153:1', 'test-analysis-helpers.R:1462:1', 'test-analysis-means.R:320:1', 'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1', 'test-analysis-quantiles.R:716:1', 'test-analysis-quantiles.R:724:1', 'test-analysis-quantiles.R:759:1', 'test-analysis-quantiles.R:771:1', 'test-analysis-quantiles.R:1095:1', 'test-analysis-ratios.R:578:1', 'test-analysis-ratios.R:588:1', 'test-analysis-ratios.R:598:1', 'test-analysis-ratios.R:608:1', 'test-analysis-ratios.R:1040:1', 'test-analysis-t-test-numerical.R:6:1', 'test-analysis-t-test.R:285:1', 'test-analysis-t-test.R:310:1', 'test-analysis-t-test.R:319:1', 'test-analysis-t-test.R:328:1', 'test-analysis-t-test.R:340:1', 'test-analysis-t-test.R:352:1', 'test-analysis-t-test.R:364:1', 'test-analysis-t-test.R:377:1', 'test-analysis-t-test.R:393:1', 'test-analysis-t-test.R:402:1', 'test-analysis-t-test.R:414:1', 'test-analysis-t-test.R:426:1', 'test-analysis-t-test.R:754:1', 'test-analysis-t-test.R:820:1', 'test-analysis-t-test.R:831:1', 'test-analysis-totals.R:301:1', 'test-analysis-totals.R:320:1', 'test-analysis-totals.R:624:1', 'test-analysis-variance-collection.R:122:1', 'test-analysis-variance-collection.R:146:1', 'test-analysis-variance-collection.R:169:1', 'test-analysis-variance-collection.R:182:1', 'test-analysis-variance-twophase-nonprob.R:9:1', 'test-analysis-variance.R:598:1', 'test-analysis-variance.R:608:1', 'test-analysis-variance.R:622:1', 'test-analysis-variance.R:634:1', 'test-analysis-variance.R:646:1', 'test-analysis-variance.R:657:1', 'test-analysis-variance.R:676:1', 'test-analysis-variance.R:691:1', 'test-analysis-variance.R:705:1', 'test-calibration.R:73:1', 'test-calibration.R:84:1', 'test-calibration.R:96:1', 'test-calibration.R:108:1', 'test-calibration.R:120:1', 'test-calibration.R:132:1', 'test-calibration.R:144:1', 'test-calibration.R:156:1', 'test-calibration.R:170:1', 'test-calibration.R:182:1', 'test-calibration.R:194:1', 'test-calibration.R:207:1', 'test-calibration.R:223:1', 'test-calibration.R:238:1', 'test-calibration.R:264:1', 'test-calibration.R:737:1', 'test-calibration.R:748:1', 'test-calibration.R:762:1', 'test-calibration.R:776:1', 'test-calibration.R:788:1', 'test-calibration.R:802:1', 'test-calibration.R:840:1', 'test-calibration.R:854:1', 'test-calibration.R:866:1', 'test-calibration.R:878:1', 'test-calibration.R:893:1', 'test-calibration.R:906:1', 'test-calibration.R:919:1', 'test-calibration.R:949:1', 'test-calibration.R:974:1', 'test-calibration.R:1002:1', 'test-collection-groups.R:352:1', 'test-collection-groups.R:362:1', 'test-collection-groups.R:375:1', 'test-collection-groups.R:411:1', 'test-collection-groups.R:549:1', 'test-collection-groups.R:556:1', 'test-constructors.R:145:1', 'test-constructors.R:161:1', 'test-constructors.R:171:1', 'test-constructors.R:189:1', 'test-constructors.R:199:1', 'test-constructors.R:259:1', 'test-constructors.R:272:1', 'test-constructors.R:302:1', 'test-constructors.R:329:1', 'test-constructors.R:347:1', 'test-constructors.R:361:1', 'test-constructors.R:730:1', 'test-constructors.R:752:1', 'test-constructors.R:827:1', 'test-constructors.R:850:1', 'test-constructors.R:1145:1', 'test-constructors.R:1159:1', 'test-constructors.R:1200:1', 'test-constructors.R:1211:1', 'test-constructors.R:1227:1', 'test-constructors.R:1243:1', 'test-constructors.R:1265:1', 'test-constructors.R:1613:1', 'test-constructors.R:1624:1', 'test-constructors.R:1636:1', 'test-constructors.R:1648:1', 'test-constructors.R:1660:1', 'test-constructors.R:1672:1', 'test-constructors.R:1738:1', 'test-constructors.R:1744:1', 'test-constructors.R:1750:1', 'test-constructors.R:1756:1', 'test-constructors.R:1762:1', 'test-constructors.R:1769:1', 'test-constructors.R:1917:1', 'test-constructors.R:2079:1', 'test-constructors.R:2091:1', 'test-constructors.R:2103:1', 'test-constructors.R:2115:1', 'test-constructors.R:2137:1', 'test-constructors.R:2159:1', 'test-constructors.R:2181:1', 'test-constructors.R:2193:1', 'test-constructors.R:2216:1', 'test-constructors.R:2289:1', 'test-constructors.R:2316:1', 'test-constructors.R:2343:1', 'test-constructors.R:2497:1', 'test-constructors.R:2524:1', 'test-constructors.R:2551:1', 'test-constructors.R:2648:1', 'test-constructors.R:2686:1', 'test-constructors.R:2710:1', 'test-constructors.R:2734:1', 'test-constructors.R:2757:1', 'test-constructors.R:2781:1', 'test-constructors.R:2891:1', 'test-constructors.R:2906:1', 'test-constructors.R:2921:1', 'test-constructors.R:2940:1', 'test-constructors.R:2959:1', 'test-constructors.R:2978:1', 'test-constructors.R:3009:1', 'test-constructors.R:3021:1', 'test-constructors.R:3035:1', 'test-constructors.R:3050:1', 'test-constructors.R:3067:1', 'test-effective-n.R:212:1', 'test-effective-n.R:220:1', 'test-effective-n.R:229:1', 'test-effective-n.R:444:1', 'test-effective-n.R:452:1', 'test-effective-n.R:460:1', 'test-effective-n.R:468:1', 'test-glm-anova-dispatch.R:270:1', 'test-glm-anova-dispatch.R:274:1', 'test-glm-anova-dispatch.R:280:1', 'test-glm-anova-dispatch.R:284:1', 'test-glm-anova-dispatch.R:289:1', 'test-glm-anova-dispatch.R:295:1', 'test-glm-anova-numerical.R:18:1', 'test-glm-anova.R:353:1', 'test-glm-anova.R:361:1', 'test-glm-anova.R:374:1', 'test-glm-anova.R:398:1', 'test-glm-anova.R:412:1', 'test-glm-anova.R:426:1', 'test-glm-anova.R:436:1', 'test-glm-anova.R:694:1', 'test-glm-anova.R:700:1', 'test-glm-anova.R:709:1', 'test-glm-anova.R:811:1', 'test-glm-anova.R:822:1', 'test-glm-anova.R:833:1', 'test-glm-anova.R:859:1', 'test-glm-anova.R:871:1', 'test-glm-anova.R:919:1', 'test-glm-marginaleffects.R:9:1', 'test-glm-methods.R:52:1', 'test-glm-methods.R:109:1', 'test-glm-methods.R:115:1', 'test-glm-methods.R:205:1', 'test-glm-methods.R:289:1', 'test-glm-methods.R:299:1', 'test-glm-methods.R:312:1', 'test-glm-methods.R:325:1', 'test-glm-methods.R:392:1', 'test-glm-methods.R:424:1', 'test-glm-methods.R:449:1', 'test-glm-methods.R:474:1', 'test-glm-methods.R:526:1', 'test-glm-methods.R:548:1', 'test-glm-methods.R:575:1', 'test-glm-methods.R:584:1', 'test-glm-methods.R:611:1', 'test-glm-methods.R:660:1', 'test-glm-methods.R:675:1', 'test-glm-numerical.R:14:1', 'test-glm.R:128:1', 'test-glm.R:177:1', 'test-glm.R:186:1', 'test-glm.R:196:1', 'test-glm.R:206:1', 'test-glm.R:219:1', 'test-glm.R:229:1', 'test-glm.R:239:1', 'test-glm.R:249:1', 'test-glm.R:261:1', 'test-glm.R:273:1', 'test-glm.R:309:1', 'test-glm.R:325:1', 'test-glm.R:1007:1', 'test-glm.R:1015:1', 'test-glm.R:1288:1', 'test-metadata-infer.R:408:1', 'test-metadata-system.R:187:1', 'test-metadata-system.R:709:1', 'test-metadata-system.R:713:1', 'test-metadata-system.R:721:1', 'test-metadata-system.R:726:1', 'test-metadata-system.R:734:1', 'test-metadata-system.R:739:1', 'test-metadata-system.R:744:1', 'test-metadata-system.R:749:1', 'test-metadata-system.R:925:1', 'test-metadata-system.R:930:1', 'test-metadata-system.R:935:1', 'test-metadata-system.R:939:1', 'test-metadata-system.R:944:1', 'test-metadata-system.R:952:1', 'test-metadata-system.R:960:1', 'test-metadata-system.R:965:1', 'test-metadata-system.R:1107:1', 'test-metadata-system.R:1114:1', 'test-metadata-system.R:1119:1', 'test-metadata-system.R:1127:1', 'test-metadata-system.R:1132:1', 'test-metadata-system.R:1140:1', 'test-metadata-system.R:1145:1', 'test-metadata-system.R:1278:1', 'test-metadata-system.R:1282:1', 'test-metadata-system.R:1290:1', 'test-metadata-system.R:1295:1', 'test-metadata-system.R:1303:1', 'test-metadata-system.R:1308:1', 'test-metadata-system.R:1313:1', 'test-metadata-system.R:1439:1', 'test-metadata-system.R:1443:1', 'test-metadata-system.R:1448:1', 'test-metadata-system.R:1456:1', 'test-metadata-system.R:1461:1', 'test-metadata-system.R:1469:1', 'test-metadata-system.R:1474:1', 'test-metadata-system.R:1623:1', 'test-metadata-system.R:1628:1', 'test-metadata-system.R:1635:1', 'test-metadata-system.R:1643:1', 'test-metadata-system.R:1648:1', 'test-metadata-system.R:1660:1', 'test-metadata-system.R:1665:1', 'test-metadata-system.R:1887:1', 'test-metadata-system.R:2040:1', 'test-metadata-system.R:2054:1', 'test-metadata-system.R:2068:1', 'test-metadata-system.R:2082:1', 'test-metadata-system.R:2202:1', 'test-metadata-system.R:2438:1', 'test-metadata-system.R:2442:1', 'test-metadata-system.R:2622:1', 'test-metadata-system.R:2630:1', 'test-metadata-system.R:2648:1', 'test-metadata-system.R:2663:1', 'test-metadata-system.R:2678:1', 'test-metadata-system.R:2858:1', 'test-metadata-system.R:2866:1', 'test-metadata-system.R:2881:1', 'test-metadata-system.R:2896:1', 'test-metadata-system.R:3079:1', 'test-metadata-system.R:3087:1', 'test-metadata-system.R:3095:1', 'test-metadata-system.R:3110:1', 'test-metadata-system.R:3128:1', 'test-metadata-system.R:3146:1', 'test-metadata-system.R:3164:1', 'test-metadata-system.R:3179:1', 'test-metadata-system.R:3356:1', 'test-metadata-system.R:3364:1', 'test-metadata-system.R:3372:1', 'test-metadata-system.R:3390:1', 'test-metadata-system.R:3408:1', 'test-metadata-system.R:3426:1', 'test-metadata-system.R:3441:1', 'test-metadata-system.R:3506:1', 'test-metadata-system.R:3517:1', 'test-methods-print.R:107:1', 'test-methods-print.R:118:1', 'test-methods-print.R:224:1', 'test-methods-print.R:235:1', 'test-methods-print.R:255:1', 'test-methods-print.R:266:1', 'test-methods-print.R:286:1', 'test-methods-print.R:331:1', 'test-methods-print.R:348:1', 'test-methods-print.R:375:1', 'test-methods-print.R:386:1', 'test-methods-print.R:398:1', 'test-methods-print.R:410:1', 'test-methods-print.R:421:1', 'test-methods-print.R:432:1', 'test-methods-print.R:447:1', 'test-methods-print.R:462:1', 'test-methods-print.R:652:1', 'test-methods-print.R:680:1', 'test-methods-print.R:702:1', 'test-methods-print.R:723:1', 'test-methods-print.R:736:1', 'test-methods-print.R:749:1', 'test-methods-print.R:756:1', 'test-methods-print.R:866:1', 'test-methods-print.R:878:1', 'test-methods-print.R:891:1', 'test-methods-print.R:904:1', 'test-methods-print.R:964:1', 'test-methods-print.R:976:1', 'test-methods-print.R:989:1', 'test-methods-print.R:1002:1', 'test-nonprob-bootstrap-variance.R:585:1', 'test-sata-detection.R:178:1', 'test-sata-detection.R:193:1', 'test-sata-detection.R:211:1', 'test-survey-collection-dispatch.R:319:1', 'test-survey-collection-dispatch.R:343:1', 'test-survey-collection-dispatch.R:366:1', 'test-survey-collection-dispatch.R:379:1', 'test-survey-collection-dispatch.R:389:1', 'test-survey-collection-dispatch.R:399:1', 'test-survey-collection-dispatch.R:424:1', 'test-survey-collection-dispatch.R:446:1', 'test-survey-collection-dispatch.R:559:1', 'test-survey-collection-dispatch.R:819:1', 'test-survey-collection.R:187:1', 'test-survey-collection.R:236:1', 'test-survey-collection.R:381:1', 'test-survey-collection.R:455:1', 'test-survey-collection.R:714:1', 'test-survey-collection.R:742:1', 'test-survey-collection.R:1008:1', 'test-survey-collection.R:1014:1', 'test-survey-collection.R:1025:1', 'test-update-design.R:284:1', 'test-utils.R:640:1', 'test-validators.R:354:1', 'test-validators.R:376:1', 'test-validators.R:398:1', 'test-variance-taylor.R:308:1', 'test-variance-twophase.R:5:1', 'test-variance-vendored-saddlepoint.R:9:1' • Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1): 'test-srr-compliance.R:294:3' • {MASS} is not installed (1): 'test-calibration.R:633:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-analysis-diffs-helpers.R:478:3'): .extract_me_estimates() with groups: result_groups is a data.frame ── Expected `nrow(result$result_groups)` to equal 4L. Differences: `actual`: 3 `expected`: 4 ── Failure ('test-analysis-diffs-helpers.R:668:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `nrow(out$groups_df)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs-helpers.R:669:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `length(out$col_vecs[["treats"]])` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs-helpers.R:858:3'): .build_diffs_output() p-value adjustment with groups: adjusts within each group ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:858:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1038:3'): .build_diffs_output() pct_change with show_means = FALSE + grouped ME + show_pct_change = TRUE: pct_change computed (not NA) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1038:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1334:3'): .build_diffs_output() grouped path with pct_change: group combo loop hits has_group branch ── Error in `if (grp_ok) { ref_mean_val <- all_rows[[ri]]$mean break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1334:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Failure ('test-analysis-diffs.R:471:3'): get_diffs() with group produces grouped output ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs.R:490:3'): get_diffs() with covariates and group ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs.R:562:3'): get_diffs() pval_adj with group adjusts within groups ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:562:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs.R:1026:3'): get_diffs() pct_change is non-NA with show_means = FALSE (grouped) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:1026:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3m/11m] 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(surveycore) > > test_check("surveycore") i Skipped 2 surveys missing the requested variable: "w1" and "w2". # A survey_diffs result # Design: Taylor series | Family: gaussian (identity) # DV: y | Treatment: arm (ref: Ctrl) # Method: coefficient / intercept # A <survey_diffs> [2 × 4] # A tibble: 2 x 4 arm estimate mean n <fct> <dbl> <dbl> <int> 1 Ctrl 0 0.5 100 2 T1 0.05 0.55 100 Saving _problems/test-analysis-diffs-helpers-478.R Saving _problems/test-analysis-diffs-helpers-668.R Saving _problems/test-analysis-diffs-helpers-669.R Saving _problems/test-analysis-diffs-helpers-876.R Saving _problems/test-analysis-diffs-helpers-1056.R Saving _problems/test-analysis-diffs-helpers-1352.R Saving _problems/test-analysis-diffs-471.R Saving _problems/test-analysis-diffs-490.R Saving _problems/test-analysis-diffs-569.R Saving _problems/test-analysis-diffs-1034.R # A survey_t_test result # Design: Taylor series | N: 400 # DV: outcome | By: grp2 (A vs. B) # A <tbl_df> [1 × 13] # A tibble: 1 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat df <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> <dbl> 1 A B 3.51 50.9 54.4 209 191 1.16 5.86 3.18 15 # i 2 more variables: p_value <dbl>, stars <chr> # A survey_pairwise result # Design: Taylor series | N: 400 # DV: outcome | By: grp3 (3 levels, 3 pairs) # Adjustment: holm # A <tbl_df> [3 × 13] # A tibble: 3 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> 1 X Y -0.910 53.1 52.2 145 136 -3.59 1.77 -0.725 2 X Z -0.847 53.1 52.3 145 119 -3.77 2.08 -0.617 3 Y Z 0.0631 52.2 52.3 136 119 -2.78 2.91 0.0473 # i 3 more variables: df <dbl>, p_value <dbl>, stars <chr> i Skipped 2 surveys missing the requested variable: "w1" and "w2". -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability) [experimental] * Variance: SRS approximation (no bootstrap replicate weights) Sample size: 10 # A tibble: 10 x 2 y w <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design Summary ------------------------------------------------------- Type: non-probability [experimental] Sample size: 10 Weighted N: 10 -- Design -- Weights: w * Range: 1 – 1 * Mean: 1 * CV: 0 Calibration provenance: none stored Metadata: 0 of 2 variable(s) labeled Survey-weighted GLM Family: gaussian (identity link) Formula: y1 ~ y2 + y3 Design: Taylor series Coefficients: (Intercept) y2 y3 51.1868 -0.0624 -2.6042 Degrees of freedom: 16 (design-based) Survey-weighted GLM Call: survey_glm(design = .glm_taylor(), formula = y1 ~ y2 + y3) Deviance Residuals: Min 1Q Median 3Q Max -93.3797 -18.7253 -0.4633 22.9540 75.4878 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 51.1868 0.7268 70.4262 0.0000 *** y2 -0.0624 0.8308 -0.0752 0.9412 y3 -2.6042 1.4802 -1.7594 0.1003 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for gaussian family taken to be 986.9) Null deviance: 197426 on 199 degrees of freedom Residual deviance: 194412 on 197 degrees of freedom AIC: 1492 Design df: 16 (taylor) # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A # i 49 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 10 psu strata fpc wt y1 y2 y3 group prob ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> 1 psu_1 stratum~ 378 14.3 50.9 -0.122 1 A 0.0701 14.3 2 psu_1 stratum~ 378 21.8 20.1 0.188 0 B 0.0459 21.8 3 psu_1 stratum~ 378 14.4 52.8 0.119 1 B 0.0697 14.4 4 psu_2 stratum~ 378 18.9 46.3 -0.0251 0 A 0.0530 18.9 5 psu_2 stratum~ 378 23.0 51.9 0.108 0 B 0.0435 23.0 6 psu_2 stratum~ 378 11.0 55.8 -0.485 0 C 0.0908 11.0 7 psu_2 stratum~ 378 13.8 64.0 -0.504 0 A 0.0727 13.8 8 psu_2 stratum~ 378 14.2 42.7 -1.66 0 B 0.0706 14.2 9 psu_3 stratum~ 378 16.5 63.0 -0.382 1 C 0.0606 16.5 10 psu_3 stratum~ 378 13.7 53.4 -0.513 1 A 0.0728 13.7 # i 40 more rows # A tibble: 30 x 9 psu strata fpc wt y1 y2 y3 group ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <int> 1 psu_1 stratum_1 218 14.3 41.5 1.04 1 B 1 2 psu_1 stratum_1 218 21.8 25.9 0.921 1 B 1 3 psu_2 stratum_1 218 14.4 50.4 0.721 0 B 1 4 psu_2 stratum_1 218 18.9 52.1 -1.04 1 A 1 5 psu_2 stratum_1 218 23.0 46.4 -0.0902 0 A 1 6 psu_3 stratum_1 218 11.0 57.6 0.624 0 C 1 7 psu_3 stratum_1 218 13.7 42.7 -0.954 0 B 1 8 psu_4 stratum_1 218 14.2 36.3 -0.543 0 B 1 9 psu_4 stratum_1 218 16.5 54.3 0.581 0 C 1 10 psu_4 stratum_1 218 13.7 41.9 0.768 0 C 1 # i 20 more rows # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 # i 49 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 # i 59 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 50 x 14 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 3 more variables: repwt_4 <dbl>, repwt_5 <dbl>, fpc_rep <int> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 30 x 2 y w <dbl> <dbl> 1 0.828 2.00 2 0.0757 1.11 3 0.126 1.85 4 2.27 1.22 5 -0.838 1.30 6 -0.469 1.48 7 0.0155 1.20 8 0.961 1.41 9 -0.281 0.965 10 0.0697 1.51 # i 20 more rows # A tibble: 100 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 538 11.6 50.9 -1.43 0 C FALSE 0.0967 2 psu_1 stratum_1 538 12.0 46.7 -0.718 0 C FALSE 0.0967 3 psu_1 stratum_1 538 12.1 42.0 0.205 1 A TRUE 0.0967 4 psu_1 stratum_1 538 11.6 30.8 -1.90 0 A FALSE 0.0967 5 psu_1 stratum_1 538 9.12 53.7 -0.449 0 A FALSE 0.0967 6 psu_1 stratum_1 538 10.3 56.6 0.523 0 B TRUE 0.0967 7 psu_1 stratum_1 538 9.43 69.5 -0.123 0 C FALSE 0.0967 8 psu_1 stratum_1 538 10.7 55.8 -1.11 1 B TRUE 0.0967 9 psu_1 stratum_1 538 10.5 39.5 -0.774 1 C FALSE 0.0967 10 psu_1 stratum_1 538 10.1 39.8 0.615 0 C FALSE 0.0967 # i 90 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 2 y wt <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability, JK1, 4 replicates) [experimental] Sample size: 10 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 i Skipped 2 surveys missing the requested variable: "w1" and "w2". i Skipped 1 survey missing the requested variable: "only". [ FAIL 10 | WARN 335 | SKIP 425 | PASS 11129 ] ══ Skipped tests (425) ═════════════════════════════════════════════════════════ • A-13 trigger requires careful numerical construction; tracked for follow-up PR (1): 'test-glm-anova.R:531:3' • A-20 requires a hand-built fit whose @design@data domain column differs from the refit's; deferred to follow-up PR (1): 'test-glm-anova.R:481:3' • On CRAN (422): 'test-analysis-corr-latent-primitives.R:74:1', 'test-analysis-corr-latent-primitives.R:97:1', 'test-analysis-corr-latent-primitives.R:152:1', 'test-analysis-corr-latent-primitives.R:348:1', 'test-analysis-corr-latent-primitives.R:482:1', 'test-analysis-corr-latent-primitives.R:741:1', 'test-analysis-corr-latent-variance.R:14:1', 'test-analysis-corr-latent.R:20:1', 'test-analysis-corr.R:809:1', 'test-analysis-corr.R:817:1', 'test-analysis-corr.R:1231:1', 'test-analysis-corr.R:1646:1', 'test-analysis-corr.R:1664:1', 'test-analysis-covariance.R:690:1', 'test-analysis-covariance.R:699:1', 'test-analysis-covariance.R:712:1', 'test-analysis-covariance.R:734:1', 'test-analysis-covariance.R:747:1', 'test-analysis-covariance.R:768:1', 'test-analysis-covariance.R:785:1', 'test-analysis-covariance.R:798:1', 'test-analysis-covariance.R:819:1', 'test-analysis-covariance.R:851:1', 'test-analysis-covariance.R:884:1', 'test-analysis-covariance.R:924:1', 'test-analysis-covariance.R:1131:1', 'test-analysis-covariance.R:1154:1', 'test-analysis-covariance.R:1176:1', 'test-analysis-diffs-helpers.R:147:1', 'test-analysis-diffs-helpers.R:388:1', 'test-analysis-diffs-marginaleffects.R:6:1', 'test-analysis-diffs-numerical.R:6:1', 'test-analysis-diffs.R:30:1', 'test-analysis-diffs.R:39:1', 'test-analysis-diffs.R:48:1', 'test-analysis-diffs.R:57:1', 'test-analysis-diffs.R:66:1', 'test-analysis-diffs.R:77:1', 'test-analysis-diffs.R:89:1', 'test-analysis-diffs.R:101:1', 'test-analysis-diffs.R:435:1', 'test-analysis-diffs.R:765:1', 'test-analysis-diffs.R:774:1', 'test-analysis-diffs.R:783:1', 'test-analysis-diffs.R:792:1', 'test-analysis-diffs.R:801:1', 'test-analysis-diffs.R:810:1', 'test-analysis-freqs.R:578:1', 'test-analysis-freqs.R:589:1', 'test-analysis-freqs.R:610:1', 'test-analysis-freqs.R:631:1', 'test-analysis-freqs.R:652:1', 'test-analysis-freqs.R:1255:1', 'test-analysis-freqs.R:1499:1', 'test-analysis-helpers.R:59:1', 'test-analysis-helpers.R:77:1', 'test-analysis-helpers.R:110:1', 'test-analysis-helpers.R:398:1', 'test-analysis-helpers.R:754:1', 'test-analysis-helpers.R:1113:1', 'test-analysis-helpers.R:1153:1', 'test-analysis-helpers.R:1462:1', 'test-analysis-means.R:320:1', 'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1', 'test-analysis-quantiles.R:716:1', 'test-analysis-quantiles.R:724:1', 'test-analysis-quantiles.R:759:1', 'test-analysis-quantiles.R:771:1', 'test-analysis-quantiles.R:1095:1', 'test-analysis-ratios.R:578:1', 'test-analysis-ratios.R:588:1', 'test-analysis-ratios.R:598:1', 'test-analysis-ratios.R:608:1', 'test-analysis-ratios.R:1040:1', 'test-analysis-t-test-numerical.R:6:1', 'test-analysis-t-test.R:285:1', 'test-analysis-t-test.R:310:1', 'test-analysis-t-test.R:319:1', 'test-analysis-t-test.R:328:1', 'test-analysis-t-test.R:340:1', 'test-analysis-t-test.R:352:1', 'test-analysis-t-test.R:364:1', 'test-analysis-t-test.R:377:1', 'test-analysis-t-test.R:393:1', 'test-analysis-t-test.R:402:1', 'test-analysis-t-test.R:414:1', 'test-analysis-t-test.R:426:1', 'test-analysis-t-test.R:754:1', 'test-analysis-t-test.R:820:1', 'test-analysis-t-test.R:831:1', 'test-analysis-totals.R:301:1', 'test-analysis-totals.R:320:1', 'test-analysis-totals.R:624:1', 'test-analysis-variance-collection.R:122:1', 'test-analysis-variance-collection.R:146:1', 'test-analysis-variance-collection.R:169:1', 'test-analysis-variance-collection.R:182:1', 'test-analysis-variance-twophase-nonprob.R:9:1', 'test-analysis-variance.R:598:1', 'test-analysis-variance.R:608:1', 'test-analysis-variance.R:622:1', 'test-analysis-variance.R:634:1', 'test-analysis-variance.R:646:1', 'test-analysis-variance.R:657:1', 'test-analysis-variance.R:676:1', 'test-analysis-variance.R:691:1', 'test-analysis-variance.R:705:1', 'test-calibration.R:73:1', 'test-calibration.R:84:1', 'test-calibration.R:96:1', 'test-calibration.R:108:1', 'test-calibration.R:120:1', 'test-calibration.R:132:1', 'test-calibration.R:144:1', 'test-calibration.R:156:1', 'test-calibration.R:170:1', 'test-calibration.R:182:1', 'test-calibration.R:194:1', 'test-calibration.R:207:1', 'test-calibration.R:223:1', 'test-calibration.R:238:1', 'test-calibration.R:264:1', 'test-calibration.R:737:1', 'test-calibration.R:748:1', 'test-calibration.R:762:1', 'test-calibration.R:776:1', 'test-calibration.R:788:1', 'test-calibration.R:802:1', 'test-calibration.R:840:1', 'test-calibration.R:854:1', 'test-calibration.R:866:1', 'test-calibration.R:878:1', 'test-calibration.R:893:1', 'test-calibration.R:906:1', 'test-calibration.R:919:1', 'test-calibration.R:949:1', 'test-calibration.R:974:1', 'test-calibration.R:1002:1', 'test-collection-groups.R:352:1', 'test-collection-groups.R:362:1', 'test-collection-groups.R:375:1', 'test-collection-groups.R:411:1', 'test-collection-groups.R:549:1', 'test-collection-groups.R:556:1', 'test-constructors.R:145:1', 'test-constructors.R:161:1', 'test-constructors.R:171:1', 'test-constructors.R:189:1', 'test-constructors.R:199:1', 'test-constructors.R:259:1', 'test-constructors.R:272:1', 'test-constructors.R:302:1', 'test-constructors.R:329:1', 'test-constructors.R:347:1', 'test-constructors.R:361:1', 'test-constructors.R:730:1', 'test-constructors.R:752:1', 'test-constructors.R:827:1', 'test-constructors.R:850:1', 'test-constructors.R:1145:1', 'test-constructors.R:1159:1', 'test-constructors.R:1200:1', 'test-constructors.R:1211:1', 'test-constructors.R:1227:1', 'test-constructors.R:1243:1', 'test-constructors.R:1265:1', 'test-constructors.R:1613:1', 'test-constructors.R:1624:1', 'test-constructors.R:1636:1', 'test-constructors.R:1648:1', 'test-constructors.R:1660:1', 'test-constructors.R:1672:1', 'test-constructors.R:1738:1', 'test-constructors.R:1744:1', 'test-constructors.R:1750:1', 'test-constructors.R:1756:1', 'test-constructors.R:1762:1', 'test-constructors.R:1769:1', 'test-constructors.R:1917:1', 'test-constructors.R:2079:1', 'test-constructors.R:2091:1', 'test-constructors.R:2103:1', 'test-constructors.R:2115:1', 'test-constructors.R:2137:1', 'test-constructors.R:2159:1', 'test-constructors.R:2181:1', 'test-constructors.R:2193:1', 'test-constructors.R:2216:1', 'test-constructors.R:2289:1', 'test-constructors.R:2316:1', 'test-constructors.R:2343:1', 'test-constructors.R:2497:1', 'test-constructors.R:2524:1', 'test-constructors.R:2551:1', 'test-constructors.R:2648:1', 'test-constructors.R:2686:1', 'test-constructors.R:2710:1', 'test-constructors.R:2734:1', 'test-constructors.R:2757:1', 'test-constructors.R:2781:1', 'test-constructors.R:2891:1', 'test-constructors.R:2906:1', 'test-constructors.R:2921:1', 'test-constructors.R:2940:1', 'test-constructors.R:2959:1', 'test-constructors.R:2978:1', 'test-constructors.R:3009:1', 'test-constructors.R:3021:1', 'test-constructors.R:3035:1', 'test-constructors.R:3050:1', 'test-constructors.R:3067:1', 'test-effective-n.R:212:1', 'test-effective-n.R:220:1', 'test-effective-n.R:229:1', 'test-effective-n.R:444:1', 'test-effective-n.R:452:1', 'test-effective-n.R:460:1', 'test-effective-n.R:468:1', 'test-glm-anova-dispatch.R:270:1', 'test-glm-anova-dispatch.R:274:1', 'test-glm-anova-dispatch.R:280:1', 'test-glm-anova-dispatch.R:284:1', 'test-glm-anova-dispatch.R:289:1', 'test-glm-anova-dispatch.R:295:1', 'test-glm-anova-numerical.R:18:1', 'test-glm-anova.R:353:1', 'test-glm-anova.R:361:1', 'test-glm-anova.R:374:1', 'test-glm-anova.R:398:1', 'test-glm-anova.R:412:1', 'test-glm-anova.R:426:1', 'test-glm-anova.R:436:1', 'test-glm-anova.R:694:1', 'test-glm-anova.R:700:1', 'test-glm-anova.R:709:1', 'test-glm-anova.R:811:1', 'test-glm-anova.R:822:1', 'test-glm-anova.R:833:1', 'test-glm-anova.R:859:1', 'test-glm-anova.R:871:1', 'test-glm-anova.R:919:1', 'test-glm-marginaleffects.R:9:1', 'test-glm-methods.R:52:1', 'test-glm-methods.R:109:1', 'test-glm-methods.R:115:1', 'test-glm-methods.R:205:1', 'test-glm-methods.R:289:1', 'test-glm-methods.R:299:1', 'test-glm-methods.R:312:1', 'test-glm-methods.R:325:1', 'test-glm-methods.R:392:1', 'test-glm-methods.R:424:1', 'test-glm-methods.R:449:1', 'test-glm-methods.R:474:1', 'test-glm-methods.R:526:1', 'test-glm-methods.R:548:1', 'test-glm-methods.R:575:1', 'test-glm-methods.R:584:1', 'test-glm-methods.R:611:1', 'test-glm-methods.R:660:1', 'test-glm-methods.R:675:1', 'test-glm-numerical.R:14:1', 'test-glm.R:128:1', 'test-glm.R:177:1', 'test-glm.R:186:1', 'test-glm.R:196:1', 'test-glm.R:206:1', 'test-glm.R:219:1', 'test-glm.R:229:1', 'test-glm.R:239:1', 'test-glm.R:249:1', 'test-glm.R:261:1', 'test-glm.R:273:1', 'test-glm.R:309:1', 'test-glm.R:325:1', 'test-glm.R:1007:1', 'test-glm.R:1015:1', 'test-glm.R:1288:1', 'test-metadata-infer.R:408:1', 'test-metadata-system.R:187:1', 'test-metadata-system.R:709:1', 'test-metadata-system.R:713:1', 'test-metadata-system.R:721:1', 'test-metadata-system.R:726:1', 'test-metadata-system.R:734:1', 'test-metadata-system.R:739:1', 'test-metadata-system.R:744:1', 'test-metadata-system.R:749:1', 'test-metadata-system.R:925:1', 'test-metadata-system.R:930:1', 'test-metadata-system.R:935:1', 'test-metadata-system.R:939:1', 'test-metadata-system.R:944:1', 'test-metadata-system.R:952:1', 'test-metadata-system.R:960:1', 'test-metadata-system.R:965:1', 'test-metadata-system.R:1107:1', 'test-metadata-system.R:1114:1', 'test-metadata-system.R:1119:1', 'test-metadata-system.R:1127:1', 'test-metadata-system.R:1132:1', 'test-metadata-system.R:1140:1', 'test-metadata-system.R:1145:1', 'test-metadata-system.R:1278:1', 'test-metadata-system.R:1282:1', 'test-metadata-system.R:1290:1', 'test-metadata-system.R:1295:1', 'test-metadata-system.R:1303:1', 'test-metadata-system.R:1308:1', 'test-metadata-system.R:1313:1', 'test-metadata-system.R:1439:1', 'test-metadata-system.R:1443:1', 'test-metadata-system.R:1448:1', 'test-metadata-system.R:1456:1', 'test-metadata-system.R:1461:1', 'test-metadata-system.R:1469:1', 'test-metadata-system.R:1474:1', 'test-metadata-system.R:1623:1', 'test-metadata-system.R:1628:1', 'test-metadata-system.R:1635:1', 'test-metadata-system.R:1643:1', 'test-metadata-system.R:1648:1', 'test-metadata-system.R:1660:1', 'test-metadata-system.R:1665:1', 'test-metadata-system.R:1887:1', 'test-metadata-system.R:2040:1', 'test-metadata-system.R:2054:1', 'test-metadata-system.R:2068:1', 'test-metadata-system.R:2082:1', 'test-metadata-system.R:2202:1', 'test-metadata-system.R:2438:1', 'test-metadata-system.R:2442:1', 'test-metadata-system.R:2622:1', 'test-metadata-system.R:2630:1', 'test-metadata-system.R:2648:1', 'test-metadata-system.R:2663:1', 'test-metadata-system.R:2678:1', 'test-metadata-system.R:2858:1', 'test-metadata-system.R:2866:1', 'test-metadata-system.R:2881:1', 'test-metadata-system.R:2896:1', 'test-metadata-system.R:3079:1', 'test-metadata-system.R:3087:1', 'test-metadata-system.R:3095:1', 'test-metadata-system.R:3110:1', 'test-metadata-system.R:3128:1', 'test-metadata-system.R:3146:1', 'test-metadata-system.R:3164:1', 'test-metadata-system.R:3179:1', 'test-metadata-system.R:3356:1', 'test-metadata-system.R:3364:1', 'test-metadata-system.R:3372:1', 'test-metadata-system.R:3390:1', 'test-metadata-system.R:3408:1', 'test-metadata-system.R:3426:1', 'test-metadata-system.R:3441:1', 'test-metadata-system.R:3506:1', 'test-metadata-system.R:3517:1', 'test-methods-print.R:107:1', 'test-methods-print.R:118:1', 'test-methods-print.R:224:1', 'test-methods-print.R:235:1', 'test-methods-print.R:255:1', 'test-methods-print.R:266:1', 'test-methods-print.R:286:1', 'test-methods-print.R:331:1', 'test-methods-print.R:348:1', 'test-methods-print.R:375:1', 'test-methods-print.R:386:1', 'test-methods-print.R:398:1', 'test-methods-print.R:410:1', 'test-methods-print.R:421:1', 'test-methods-print.R:432:1', 'test-methods-print.R:447:1', 'test-methods-print.R:462:1', 'test-methods-print.R:652:1', 'test-methods-print.R:680:1', 'test-methods-print.R:702:1', 'test-methods-print.R:723:1', 'test-methods-print.R:736:1', 'test-methods-print.R:749:1', 'test-methods-print.R:756:1', 'test-methods-print.R:866:1', 'test-methods-print.R:878:1', 'test-methods-print.R:891:1', 'test-methods-print.R:904:1', 'test-methods-print.R:964:1', 'test-methods-print.R:976:1', 'test-methods-print.R:989:1', 'test-methods-print.R:1002:1', 'test-nonprob-bootstrap-variance.R:585:1', 'test-sata-detection.R:178:1', 'test-sata-detection.R:193:1', 'test-sata-detection.R:211:1', 'test-survey-collection-dispatch.R:319:1', 'test-survey-collection-dispatch.R:343:1', 'test-survey-collection-dispatch.R:366:1', 'test-survey-collection-dispatch.R:379:1', 'test-survey-collection-dispatch.R:389:1', 'test-survey-collection-dispatch.R:399:1', 'test-survey-collection-dispatch.R:424:1', 'test-survey-collection-dispatch.R:446:1', 'test-survey-collection-dispatch.R:559:1', 'test-survey-collection-dispatch.R:819:1', 'test-survey-collection.R:187:1', 'test-survey-collection.R:236:1', 'test-survey-collection.R:381:1', 'test-survey-collection.R:455:1', 'test-survey-collection.R:714:1', 'test-survey-collection.R:742:1', 'test-survey-collection.R:1008:1', 'test-survey-collection.R:1014:1', 'test-survey-collection.R:1025:1', 'test-update-design.R:284:1', 'test-utils.R:640:1', 'test-validators.R:354:1', 'test-validators.R:376:1', 'test-validators.R:398:1', 'test-variance-taylor.R:308:1', 'test-variance-twophase.R:5:1', 'test-variance-vendored-saddlepoint.R:9:1' • Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1): 'test-srr-compliance.R:294:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-analysis-diffs-helpers.R:478:3'): .extract_me_estimates() with groups: result_groups is a data.frame ── Expected `nrow(result$result_groups)` to equal 4L. Differences: `actual`: 3 `expected`: 4 ── Failure ('test-analysis-diffs-helpers.R:668:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `nrow(out$groups_df)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs-helpers.R:669:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `length(out$col_vecs[["treats"]])` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs-helpers.R:858:3'): .build_diffs_output() p-value adjustment with groups: adjusts within each group ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:858:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1038:3'): .build_diffs_output() pct_change with show_means = FALSE + grouped ME + show_pct_change = TRUE: pct_change computed (not NA) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1038:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1334:3'): .build_diffs_output() grouped path with pct_change: group combo loop hits has_group branch ── Error in `if (grp_ok) { ref_mean_val <- all_rows[[ri]]$mean break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1334:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Failure ('test-analysis-diffs.R:471:3'): get_diffs() with group produces grouped output ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs.R:490:3'): get_diffs() with covariates and group ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs.R:562:3'): get_diffs() pval_adj with group adjusts within groups ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:562:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs.R:1026:3'): get_diffs() pct_change is non-NA with show_means = FALSE (grouped) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:1026:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) [ FAIL 10 | WARN 335 | SKIP 425 | PASS 11129 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [252s] 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(surveycore) > > test_check("surveycore") i Skipped 2 surveys missing the requested variable: "w1" and "w2". # A survey_diffs result # Design: Taylor series | Family: gaussian (identity) # DV: y | Treatment: arm (ref: Ctrl) # Method: coefficient / intercept # A <survey_diffs> [2 × 4] # A tibble: 2 x 4 arm estimate mean n <fct> <dbl> <dbl> <int> 1 Ctrl 0 0.5 100 2 T1 0.05 0.55 100 Saving _problems/test-analysis-diffs-helpers-478.R Saving _problems/test-analysis-diffs-helpers-668.R Saving _problems/test-analysis-diffs-helpers-669.R Saving _problems/test-analysis-diffs-helpers-876.R Saving _problems/test-analysis-diffs-helpers-1056.R Saving _problems/test-analysis-diffs-helpers-1352.R Saving _problems/test-analysis-diffs-471.R Saving _problems/test-analysis-diffs-490.R Saving _problems/test-analysis-diffs-569.R Saving _problems/test-analysis-diffs-1034.R # A survey_t_test result # Design: Taylor series | N: 400 # DV: outcome | By: grp2 (A vs. B) # A <tbl_df> [1 × 13] # A tibble: 1 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat df <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> <dbl> 1 A B 3.51 50.9 54.4 209 191 1.16 5.86 3.18 15 # i 2 more variables: p_value <dbl>, stars <chr> # A survey_pairwise result # Design: Taylor series | N: 400 # DV: outcome | By: grp3 (3 levels, 3 pairs) # Adjustment: holm # A <tbl_df> [3 × 13] # A tibble: 3 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> 1 X Y -0.910 53.1 52.2 145 136 -3.59 1.77 -0.725 2 X Z -0.847 53.1 52.3 145 119 -3.77 2.08 -0.617 3 Y Z 0.0631 52.2 52.3 136 119 -2.78 2.91 0.0473 # i 3 more variables: df <dbl>, p_value <dbl>, stars <chr> i Skipped 2 surveys missing the requested variable: "w1" and "w2". -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability) [experimental] * Variance: SRS approximation (no bootstrap replicate weights) Sample size: 10 # A tibble: 10 x 2 y w <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design Summary ------------------------------------------------------- Type: non-probability [experimental] Sample size: 10 Weighted N: 10 -- Design -- Weights: w * Range: 1 – 1 * Mean: 1 * CV: 0 Calibration provenance: none stored Metadata: 0 of 2 variable(s) labeled Survey-weighted GLM Family: gaussian (identity link) Formula: y1 ~ y2 + y3 Design: Taylor series Coefficients: (Intercept) y2 y3 51.1868 -0.0624 -2.6042 Degrees of freedom: 16 (design-based) Survey-weighted GLM Call: survey_glm(design = .glm_taylor(), formula = y1 ~ y2 + y3) Deviance Residuals: Min 1Q Median 3Q Max -93.3797 -18.7253 -0.4633 22.9540 75.4878 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 51.1868 0.7268 70.4262 0.0000 *** y2 -0.0624 0.8308 -0.0752 0.9412 y3 -2.6042 1.4802 -1.7594 0.1003 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for gaussian family taken to be 986.9) Null deviance: 197426 on 199 degrees of freedom Residual deviance: 194412 on 197 degrees of freedom AIC: 1492 Design df: 16 (taylor) # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A # i 49 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 10 psu strata fpc wt y1 y2 y3 group prob ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> 1 psu_1 stratum~ 378 14.3 50.9 -0.122 1 A 0.0701 14.3 2 psu_1 stratum~ 378 21.8 20.1 0.188 0 B 0.0459 21.8 3 psu_1 stratum~ 378 14.4 52.8 0.119 1 B 0.0697 14.4 4 psu_2 stratum~ 378 18.9 46.3 -0.0251 0 A 0.0530 18.9 5 psu_2 stratum~ 378 23.0 51.9 0.108 0 B 0.0435 23.0 6 psu_2 stratum~ 378 11.0 55.8 -0.485 0 C 0.0908 11.0 7 psu_2 stratum~ 378 13.8 64.0 -0.504 0 A 0.0727 13.8 8 psu_2 stratum~ 378 14.2 42.7 -1.66 0 B 0.0706 14.2 9 psu_3 stratum~ 378 16.5 63.0 -0.382 1 C 0.0606 16.5 10 psu_3 stratum~ 378 13.7 53.4 -0.513 1 A 0.0728 13.7 # i 40 more rows # A tibble: 30 x 9 psu strata fpc wt y1 y2 y3 group ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <int> 1 psu_1 stratum_1 218 14.3 41.5 1.04 1 B 1 2 psu_1 stratum_1 218 21.8 25.9 0.921 1 B 1 3 psu_2 stratum_1 218 14.4 50.4 0.721 0 B 1 4 psu_2 stratum_1 218 18.9 52.1 -1.04 1 A 1 5 psu_2 stratum_1 218 23.0 46.4 -0.0902 0 A 1 6 psu_3 stratum_1 218 11.0 57.6 0.624 0 C 1 7 psu_3 stratum_1 218 13.7 42.7 -0.954 0 B 1 8 psu_4 stratum_1 218 14.2 36.3 -0.543 0 B 1 9 psu_4 stratum_1 218 16.5 54.3 0.581 0 C 1 10 psu_4 stratum_1 218 13.7 41.9 0.768 0 C 1 # i 20 more rows # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 # i 49 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 # i 59 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 50 x 14 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 3 more variables: repwt_4 <dbl>, repwt_5 <dbl>, fpc_rep <int> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 30 x 2 y w <dbl> <dbl> 1 0.828 2.00 2 0.0757 1.11 3 0.126 1.85 4 2.27 1.22 5 -0.838 1.30 6 -0.469 1.48 7 0.0155 1.20 8 0.961 1.41 9 -0.281 0.965 10 0.0697 1.51 # i 20 more rows # A tibble: 100 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 538 11.6 50.9 -1.43 0 C FALSE 0.0967 2 psu_1 stratum_1 538 12.0 46.7 -0.718 0 C FALSE 0.0967 3 psu_1 stratum_1 538 12.1 42.0 0.205 1 A TRUE 0.0967 4 psu_1 stratum_1 538 11.6 30.8 -1.90 0 A FALSE 0.0967 5 psu_1 stratum_1 538 9.12 53.7 -0.449 0 A FALSE 0.0967 6 psu_1 stratum_1 538 10.3 56.6 0.523 0 B TRUE 0.0967 7 psu_1 stratum_1 538 9.43 69.5 -0.123 0 C FALSE 0.0967 8 psu_1 stratum_1 538 10.7 55.8 -1.11 1 B TRUE 0.0967 9 psu_1 stratum_1 538 10.5 39.5 -0.774 1 C FALSE 0.0967 10 psu_1 stratum_1 538 10.1 39.8 0.615 0 C FALSE 0.0967 # i 90 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 2 y wt <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability, JK1, 4 replicates) [experimental] Sample size: 10 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 i Skipped 2 surveys missing the requested variable: "w1" and "w2". i Skipped 1 survey missing the requested variable: "only". [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] ══ Skipped tests (426) ═════════════════════════════════════════════════════════ • A-13 trigger requires careful numerical construction; tracked for follow-up PR (1): 'test-glm-anova.R:531:3' • A-20 requires a hand-built fit whose @design@data domain column differs from the refit's; deferred to follow-up PR (1): 'test-glm-anova.R:481:3' • On CRAN (422): 'test-analysis-corr-latent-primitives.R:74:1', 'test-analysis-corr-latent-primitives.R:97:1', 'test-analysis-corr-latent-primitives.R:152:1', 'test-analysis-corr-latent-primitives.R:348:1', 'test-analysis-corr-latent-primitives.R:482:1', 'test-analysis-corr-latent-primitives.R:741:1', 'test-analysis-corr-latent-variance.R:14:1', 'test-analysis-corr-latent.R:20:1', 'test-analysis-corr.R:809:1', 'test-analysis-corr.R:817:1', 'test-analysis-corr.R:1231:1', 'test-analysis-corr.R:1646:1', 'test-analysis-corr.R:1664:1', 'test-analysis-covariance.R:690:1', 'test-analysis-covariance.R:699:1', 'test-analysis-covariance.R:712:1', 'test-analysis-covariance.R:734:1', 'test-analysis-covariance.R:747:1', 'test-analysis-covariance.R:768:1', 'test-analysis-covariance.R:785:1', 'test-analysis-covariance.R:798:1', 'test-analysis-covariance.R:819:1', 'test-analysis-covariance.R:851:1', 'test-analysis-covariance.R:884:1', 'test-analysis-covariance.R:924:1', 'test-analysis-covariance.R:1131:1', 'test-analysis-covariance.R:1154:1', 'test-analysis-covariance.R:1176:1', 'test-analysis-diffs-helpers.R:147:1', 'test-analysis-diffs-helpers.R:388:1', 'test-analysis-diffs-marginaleffects.R:6:1', 'test-analysis-diffs-numerical.R:6:1', 'test-analysis-diffs.R:30:1', 'test-analysis-diffs.R:39:1', 'test-analysis-diffs.R:48:1', 'test-analysis-diffs.R:57:1', 'test-analysis-diffs.R:66:1', 'test-analysis-diffs.R:77:1', 'test-analysis-diffs.R:89:1', 'test-analysis-diffs.R:101:1', 'test-analysis-diffs.R:435:1', 'test-analysis-diffs.R:765:1', 'test-analysis-diffs.R:774:1', 'test-analysis-diffs.R:783:1', 'test-analysis-diffs.R:792:1', 'test-analysis-diffs.R:801:1', 'test-analysis-diffs.R:810:1', 'test-analysis-freqs.R:578:1', 'test-analysis-freqs.R:589:1', 'test-analysis-freqs.R:610:1', 'test-analysis-freqs.R:631:1', 'test-analysis-freqs.R:652:1', 'test-analysis-freqs.R:1255:1', 'test-analysis-freqs.R:1499:1', 'test-analysis-helpers.R:59:1', 'test-analysis-helpers.R:77:1', 'test-analysis-helpers.R:110:1', 'test-analysis-helpers.R:398:1', 'test-analysis-helpers.R:754:1', 'test-analysis-helpers.R:1113:1', 'test-analysis-helpers.R:1153:1', 'test-analysis-helpers.R:1462:1', 'test-analysis-means.R:320:1', 'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1', 'test-analysis-quantiles.R:716:1', 'test-analysis-quantiles.R:724:1', 'test-analysis-quantiles.R:759:1', 'test-analysis-quantiles.R:771:1', 'test-analysis-quantiles.R:1095:1', 'test-analysis-ratios.R:578:1', 'test-analysis-ratios.R:588:1', 'test-analysis-ratios.R:598:1', 'test-analysis-ratios.R:608:1', 'test-analysis-ratios.R:1040:1', 'test-analysis-t-test-numerical.R:6:1', 'test-analysis-t-test.R:285:1', 'test-analysis-t-test.R:310:1', 'test-analysis-t-test.R:319:1', 'test-analysis-t-test.R:328:1', 'test-analysis-t-test.R:340:1', 'test-analysis-t-test.R:352:1', 'test-analysis-t-test.R:364:1', 'test-analysis-t-test.R:377:1', 'test-analysis-t-test.R:393:1', 'test-analysis-t-test.R:402:1', 'test-analysis-t-test.R:414:1', 'test-analysis-t-test.R:426:1', 'test-analysis-t-test.R:754:1', 'test-analysis-t-test.R:820:1', 'test-analysis-t-test.R:831:1', 'test-analysis-totals.R:301:1', 'test-analysis-totals.R:320:1', 'test-analysis-totals.R:624:1', 'test-analysis-variance-collection.R:122:1', 'test-analysis-variance-collection.R:146:1', 'test-analysis-variance-collection.R:169:1', 'test-analysis-variance-collection.R:182:1', 'test-analysis-variance-twophase-nonprob.R:9:1', 'test-analysis-variance.R:598:1', 'test-analysis-variance.R:608:1', 'test-analysis-variance.R:622:1', 'test-analysis-variance.R:634:1', 'test-analysis-variance.R:646:1', 'test-analysis-variance.R:657:1', 'test-analysis-variance.R:676:1', 'test-analysis-variance.R:691:1', 'test-analysis-variance.R:705:1', 'test-calibration.R:73:1', 'test-calibration.R:84:1', 'test-calibration.R:96:1', 'test-calibration.R:108:1', 'test-calibration.R:120:1', 'test-calibration.R:132:1', 'test-calibration.R:144:1', 'test-calibration.R:156:1', 'test-calibration.R:170:1', 'test-calibration.R:182:1', 'test-calibration.R:194:1', 'test-calibration.R:207:1', 'test-calibration.R:223:1', 'test-calibration.R:238:1', 'test-calibration.R:264:1', 'test-calibration.R:737:1', 'test-calibration.R:748:1', 'test-calibration.R:762:1', 'test-calibration.R:776:1', 'test-calibration.R:788:1', 'test-calibration.R:802:1', 'test-calibration.R:840:1', 'test-calibration.R:854:1', 'test-calibration.R:866:1', 'test-calibration.R:878:1', 'test-calibration.R:893:1', 'test-calibration.R:906:1', 'test-calibration.R:919:1', 'test-calibration.R:949:1', 'test-calibration.R:974:1', 'test-calibration.R:1002:1', 'test-collection-groups.R:352:1', 'test-collection-groups.R:362:1', 'test-collection-groups.R:375:1', 'test-collection-groups.R:411:1', 'test-collection-groups.R:549:1', 'test-collection-groups.R:556:1', 'test-constructors.R:145:1', 'test-constructors.R:161:1', 'test-constructors.R:171:1', 'test-constructors.R:189:1', 'test-constructors.R:199:1', 'test-constructors.R:259:1', 'test-constructors.R:272:1', 'test-constructors.R:302:1', 'test-constructors.R:329:1', 'test-constructors.R:347:1', 'test-constructors.R:361:1', 'test-constructors.R:730:1', 'test-constructors.R:752:1', 'test-constructors.R:827:1', 'test-constructors.R:850:1', 'test-constructors.R:1145:1', 'test-constructors.R:1159:1', 'test-constructors.R:1200:1', 'test-constructors.R:1211:1', 'test-constructors.R:1227:1', 'test-constructors.R:1243:1', 'test-constructors.R:1265:1', 'test-constructors.R:1613:1', 'test-constructors.R:1624:1', 'test-constructors.R:1636:1', 'test-constructors.R:1648:1', 'test-constructors.R:1660:1', 'test-constructors.R:1672:1', 'test-constructors.R:1738:1', 'test-constructors.R:1744:1', 'test-constructors.R:1750:1', 'test-constructors.R:1756:1', 'test-constructors.R:1762:1', 'test-constructors.R:1769:1', 'test-constructors.R:1917:1', 'test-constructors.R:2079:1', 'test-constructors.R:2091:1', 'test-constructors.R:2103:1', 'test-constructors.R:2115:1', 'test-constructors.R:2137:1', 'test-constructors.R:2159:1', 'test-constructors.R:2181:1', 'test-constructors.R:2193:1', 'test-constructors.R:2216:1', 'test-constructors.R:2289:1', 'test-constructors.R:2316:1', 'test-constructors.R:2343:1', 'test-constructors.R:2497:1', 'test-constructors.R:2524:1', 'test-constructors.R:2551:1', 'test-constructors.R:2648:1', 'test-constructors.R:2686:1', 'test-constructors.R:2710:1', 'test-constructors.R:2734:1', 'test-constructors.R:2757:1', 'test-constructors.R:2781:1', 'test-constructors.R:2891:1', 'test-constructors.R:2906:1', 'test-constructors.R:2921:1', 'test-constructors.R:2940:1', 'test-constructors.R:2959:1', 'test-constructors.R:2978:1', 'test-constructors.R:3009:1', 'test-constructors.R:3021:1', 'test-constructors.R:3035:1', 'test-constructors.R:3050:1', 'test-constructors.R:3067:1', 'test-effective-n.R:212:1', 'test-effective-n.R:220:1', 'test-effective-n.R:229:1', 'test-effective-n.R:444:1', 'test-effective-n.R:452:1', 'test-effective-n.R:460:1', 'test-effective-n.R:468:1', 'test-glm-anova-dispatch.R:270:1', 'test-glm-anova-dispatch.R:274:1', 'test-glm-anova-dispatch.R:280:1', 'test-glm-anova-dispatch.R:284:1', 'test-glm-anova-dispatch.R:289:1', 'test-glm-anova-dispatch.R:295:1', 'test-glm-anova-numerical.R:18:1', 'test-glm-anova.R:353:1', 'test-glm-anova.R:361:1', 'test-glm-anova.R:374:1', 'test-glm-anova.R:398:1', 'test-glm-anova.R:412:1', 'test-glm-anova.R:426:1', 'test-glm-anova.R:436:1', 'test-glm-anova.R:694:1', 'test-glm-anova.R:700:1', 'test-glm-anova.R:709:1', 'test-glm-anova.R:811:1', 'test-glm-anova.R:822:1', 'test-glm-anova.R:833:1', 'test-glm-anova.R:859:1', 'test-glm-anova.R:871:1', 'test-glm-anova.R:919:1', 'test-glm-marginaleffects.R:9:1', 'test-glm-methods.R:52:1', 'test-glm-methods.R:109:1', 'test-glm-methods.R:115:1', 'test-glm-methods.R:205:1', 'test-glm-methods.R:289:1', 'test-glm-methods.R:299:1', 'test-glm-methods.R:312:1', 'test-glm-methods.R:325:1', 'test-glm-methods.R:392:1', 'test-glm-methods.R:424:1', 'test-glm-methods.R:449:1', 'test-glm-methods.R:474:1', 'test-glm-methods.R:526:1', 'test-glm-methods.R:548:1', 'test-glm-methods.R:575:1', 'test-glm-methods.R:584:1', 'test-glm-methods.R:611:1', 'test-glm-methods.R:660:1', 'test-glm-methods.R:675:1', 'test-glm-numerical.R:14:1', 'test-glm.R:128:1', 'test-glm.R:177:1', 'test-glm.R:186:1', 'test-glm.R:196:1', 'test-glm.R:206:1', 'test-glm.R:219:1', 'test-glm.R:229:1', 'test-glm.R:239:1', 'test-glm.R:249:1', 'test-glm.R:261:1', 'test-glm.R:273:1', 'test-glm.R:309:1', 'test-glm.R:325:1', 'test-glm.R:1007:1', 'test-glm.R:1015:1', 'test-glm.R:1288:1', 'test-metadata-infer.R:408:1', 'test-metadata-system.R:187:1', 'test-metadata-system.R:709:1', 'test-metadata-system.R:713:1', 'test-metadata-system.R:721:1', 'test-metadata-system.R:726:1', 'test-metadata-system.R:734:1', 'test-metadata-system.R:739:1', 'test-metadata-system.R:744:1', 'test-metadata-system.R:749:1', 'test-metadata-system.R:925:1', 'test-metadata-system.R:930:1', 'test-metadata-system.R:935:1', 'test-metadata-system.R:939:1', 'test-metadata-system.R:944:1', 'test-metadata-system.R:952:1', 'test-metadata-system.R:960:1', 'test-metadata-system.R:965:1', 'test-metadata-system.R:1107:1', 'test-metadata-system.R:1114:1', 'test-metadata-system.R:1119:1', 'test-metadata-system.R:1127:1', 'test-metadata-system.R:1132:1', 'test-metadata-system.R:1140:1', 'test-metadata-system.R:1145:1', 'test-metadata-system.R:1278:1', 'test-metadata-system.R:1282:1', 'test-metadata-system.R:1290:1', 'test-metadata-system.R:1295:1', 'test-metadata-system.R:1303:1', 'test-metadata-system.R:1308:1', 'test-metadata-system.R:1313:1', 'test-metadata-system.R:1439:1', 'test-metadata-system.R:1443:1', 'test-metadata-system.R:1448:1', 'test-metadata-system.R:1456:1', 'test-metadata-system.R:1461:1', 'test-metadata-system.R:1469:1', 'test-metadata-system.R:1474:1', 'test-metadata-system.R:1623:1', 'test-metadata-system.R:1628:1', 'test-metadata-system.R:1635:1', 'test-metadata-system.R:1643:1', 'test-metadata-system.R:1648:1', 'test-metadata-system.R:1660:1', 'test-metadata-system.R:1665:1', 'test-metadata-system.R:1887:1', 'test-metadata-system.R:2040:1', 'test-metadata-system.R:2054:1', 'test-metadata-system.R:2068:1', 'test-metadata-system.R:2082:1', 'test-metadata-system.R:2202:1', 'test-metadata-system.R:2438:1', 'test-metadata-system.R:2442:1', 'test-metadata-system.R:2622:1', 'test-metadata-system.R:2630:1', 'test-metadata-system.R:2648:1', 'test-metadata-system.R:2663:1', 'test-metadata-system.R:2678:1', 'test-metadata-system.R:2858:1', 'test-metadata-system.R:2866:1', 'test-metadata-system.R:2881:1', 'test-metadata-system.R:2896:1', 'test-metadata-system.R:3079:1', 'test-metadata-system.R:3087:1', 'test-metadata-system.R:3095:1', 'test-metadata-system.R:3110:1', 'test-metadata-system.R:3128:1', 'test-metadata-system.R:3146:1', 'test-metadata-system.R:3164:1', 'test-metadata-system.R:3179:1', 'test-metadata-system.R:3356:1', 'test-metadata-system.R:3364:1', 'test-metadata-system.R:3372:1', 'test-metadata-system.R:3390:1', 'test-metadata-system.R:3408:1', 'test-metadata-system.R:3426:1', 'test-metadata-system.R:3441:1', 'test-metadata-system.R:3506:1', 'test-metadata-system.R:3517:1', 'test-methods-print.R:107:1', 'test-methods-print.R:118:1', 'test-methods-print.R:224:1', 'test-methods-print.R:235:1', 'test-methods-print.R:255:1', 'test-methods-print.R:266:1', 'test-methods-print.R:286:1', 'test-methods-print.R:331:1', 'test-methods-print.R:348:1', 'test-methods-print.R:375:1', 'test-methods-print.R:386:1', 'test-methods-print.R:398:1', 'test-methods-print.R:410:1', 'test-methods-print.R:421:1', 'test-methods-print.R:432:1', 'test-methods-print.R:447:1', 'test-methods-print.R:462:1', 'test-methods-print.R:652:1', 'test-methods-print.R:680:1', 'test-methods-print.R:702:1', 'test-methods-print.R:723:1', 'test-methods-print.R:736:1', 'test-methods-print.R:749:1', 'test-methods-print.R:756:1', 'test-methods-print.R:866:1', 'test-methods-print.R:878:1', 'test-methods-print.R:891:1', 'test-methods-print.R:904:1', 'test-methods-print.R:964:1', 'test-methods-print.R:976:1', 'test-methods-print.R:989:1', 'test-methods-print.R:1002:1', 'test-nonprob-bootstrap-variance.R:585:1', 'test-sata-detection.R:178:1', 'test-sata-detection.R:193:1', 'test-sata-detection.R:211:1', 'test-survey-collection-dispatch.R:319:1', 'test-survey-collection-dispatch.R:343:1', 'test-survey-collection-dispatch.R:366:1', 'test-survey-collection-dispatch.R:379:1', 'test-survey-collection-dispatch.R:389:1', 'test-survey-collection-dispatch.R:399:1', 'test-survey-collection-dispatch.R:424:1', 'test-survey-collection-dispatch.R:446:1', 'test-survey-collection-dispatch.R:559:1', 'test-survey-collection-dispatch.R:819:1', 'test-survey-collection.R:187:1', 'test-survey-collection.R:236:1', 'test-survey-collection.R:381:1', 'test-survey-collection.R:455:1', 'test-survey-collection.R:714:1', 'test-survey-collection.R:742:1', 'test-survey-collection.R:1008:1', 'test-survey-collection.R:1014:1', 'test-survey-collection.R:1025:1', 'test-update-design.R:284:1', 'test-utils.R:640:1', 'test-validators.R:354:1', 'test-validators.R:376:1', 'test-validators.R:398:1', 'test-variance-taylor.R:308:1', 'test-variance-twophase.R:5:1', 'test-variance-vendored-saddlepoint.R:9:1' • Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1): 'test-srr-compliance.R:294:3' • {MASS} is not installed (1): 'test-calibration.R:633:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-analysis-diffs-helpers.R:478:3'): .extract_me_estimates() with groups: result_groups is a data.frame ── Expected `nrow(result$result_groups)` to equal 4L. Differences: `actual`: 3 `expected`: 4 ── Failure ('test-analysis-diffs-helpers.R:668:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `nrow(out$groups_df)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs-helpers.R:669:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `length(out$col_vecs[["treats"]])` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs-helpers.R:858:3'): .build_diffs_output() p-value adjustment with groups: adjusts within each group ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:858:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1038:3'): .build_diffs_output() pct_change with show_means = FALSE + grouped ME + show_pct_change = TRUE: pct_change computed (not NA) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1038:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1334:3'): .build_diffs_output() grouped path with pct_change: group combo loop hits has_group branch ── Error in `if (grp_ok) { ref_mean_val <- all_rows[[ri]]$mean break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1334:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Failure ('test-analysis-diffs.R:471:3'): get_diffs() with group produces grouped output ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs.R:490:3'): get_diffs() with covariates and group ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs.R:562:3'): get_diffs() pval_adj with group adjusts within groups ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:562:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs.R:1026:3'): get_diffs() pct_change is non-NA with show_means = FALSE (grouped) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:1026:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [262s/357s] 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(surveycore) > > test_check("surveycore") i Skipped 2 surveys missing the requested variable: "w1" and "w2". # A survey_diffs result # Design: Taylor series | Family: gaussian (identity) # DV: y | Treatment: arm (ref: Ctrl) # Method: coefficient / intercept # A <survey_diffs> [2 × 4] # A tibble: 2 x 4 arm estimate mean n <fct> <dbl> <dbl> <int> 1 Ctrl 0 0.5 100 2 T1 0.05 0.55 100 Saving _problems/test-analysis-diffs-helpers-478.R Saving _problems/test-analysis-diffs-helpers-668.R Saving _problems/test-analysis-diffs-helpers-669.R Saving _problems/test-analysis-diffs-helpers-876.R Saving _problems/test-analysis-diffs-helpers-1056.R Saving _problems/test-analysis-diffs-helpers-1352.R Saving _problems/test-analysis-diffs-471.R Saving _problems/test-analysis-diffs-490.R Saving _problems/test-analysis-diffs-569.R Saving _problems/test-analysis-diffs-1034.R # A survey_t_test result # Design: Taylor series | N: 400 # DV: outcome | By: grp2 (A vs. B) # A <tbl_df> [1 × 13] # A tibble: 1 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat df <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> <dbl> 1 A B 3.51 50.9 54.4 209 191 1.16 5.86 3.18 15 # i 2 more variables: p_value <dbl>, stars <chr> # A survey_pairwise result # Design: Taylor series | N: 400 # DV: outcome | By: grp3 (3 levels, 3 pairs) # Adjustment: holm # A <tbl_df> [3 × 13] # A tibble: 3 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> 1 X Y -0.910 53.1 52.2 145 136 -3.59 1.77 -0.725 2 X Z -0.847 53.1 52.3 145 119 -3.77 2.08 -0.617 3 Y Z 0.0631 52.2 52.3 136 119 -2.78 2.91 0.0473 # i 3 more variables: df <dbl>, p_value <dbl>, stars <chr> i Skipped 2 surveys missing the requested variable: "w1" and "w2". -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability) [experimental] * Variance: SRS approximation (no bootstrap replicate weights) Sample size: 10 # A tibble: 10 x 2 y w <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design Summary ------------------------------------------------------- Type: non-probability [experimental] Sample size: 10 Weighted N: 10 -- Design -- Weights: w * Range: 1 – 1 * Mean: 1 * CV: 0 Calibration provenance: none stored Metadata: 0 of 2 variable(s) labeled Survey-weighted GLM Family: gaussian (identity link) Formula: y1 ~ y2 + y3 Design: Taylor series Coefficients: (Intercept) y2 y3 51.1868 -0.0624 -2.6042 Degrees of freedom: 16 (design-based) Survey-weighted GLM Call: survey_glm(design = .glm_taylor(), formula = y1 ~ y2 + y3) Deviance Residuals: Min 1Q Median 3Q Max -93.3797 -18.7253 -0.4633 22.9540 75.4878 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 51.1868 0.7268 70.4262 0.0000 *** y2 -0.0624 0.8308 -0.0752 0.9412 y3 -2.6042 1.4802 -1.7594 0.1003 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for gaussian family taken to be 986.9) Null deviance: 197426 on 199 degrees of freedom Residual deviance: 194412 on 197 degrees of freedom AIC: 1492 Design df: 16 (taylor) # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A # i 49 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 10 psu strata fpc wt y1 y2 y3 group prob ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> 1 psu_1 stratum~ 378 14.3 50.9 -0.122 1 A 0.0701 14.3 2 psu_1 stratum~ 378 21.8 20.1 0.188 0 B 0.0459 21.8 3 psu_1 stratum~ 378 14.4 52.8 0.119 1 B 0.0697 14.4 4 psu_2 stratum~ 378 18.9 46.3 -0.0251 0 A 0.0530 18.9 5 psu_2 stratum~ 378 23.0 51.9 0.108 0 B 0.0435 23.0 6 psu_2 stratum~ 378 11.0 55.8 -0.485 0 C 0.0908 11.0 7 psu_2 stratum~ 378 13.8 64.0 -0.504 0 A 0.0727 13.8 8 psu_2 stratum~ 378 14.2 42.7 -1.66 0 B 0.0706 14.2 9 psu_3 stratum~ 378 16.5 63.0 -0.382 1 C 0.0606 16.5 10 psu_3 stratum~ 378 13.7 53.4 -0.513 1 A 0.0728 13.7 # i 40 more rows # A tibble: 30 x 9 psu strata fpc wt y1 y2 y3 group ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <int> 1 psu_1 stratum_1 218 14.3 41.5 1.04 1 B 1 2 psu_1 stratum_1 218 21.8 25.9 0.921 1 B 1 3 psu_2 stratum_1 218 14.4 50.4 0.721 0 B 1 4 psu_2 stratum_1 218 18.9 52.1 -1.04 1 A 1 5 psu_2 stratum_1 218 23.0 46.4 -0.0902 0 A 1 6 psu_3 stratum_1 218 11.0 57.6 0.624 0 C 1 7 psu_3 stratum_1 218 13.7 42.7 -0.954 0 B 1 8 psu_4 stratum_1 218 14.2 36.3 -0.543 0 B 1 9 psu_4 stratum_1 218 16.5 54.3 0.581 0 C 1 10 psu_4 stratum_1 218 13.7 41.9 0.768 0 C 1 # i 20 more rows # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 # i 49 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 # i 59 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 50 x 14 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 3 more variables: repwt_4 <dbl>, repwt_5 <dbl>, fpc_rep <int> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 30 x 2 y w <dbl> <dbl> 1 0.828 2.00 2 0.0757 1.11 3 0.126 1.85 4 2.27 1.22 5 -0.838 1.30 6 -0.469 1.48 7 0.0155 1.20 8 0.961 1.41 9 -0.281 0.965 10 0.0697 1.51 # i 20 more rows # A tibble: 100 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 538 11.6 50.9 -1.43 0 C FALSE 0.0967 2 psu_1 stratum_1 538 12.0 46.7 -0.718 0 C FALSE 0.0967 3 psu_1 stratum_1 538 12.1 42.0 0.205 1 A TRUE 0.0967 4 psu_1 stratum_1 538 11.6 30.8 -1.90 0 A FALSE 0.0967 5 psu_1 stratum_1 538 9.12 53.7 -0.449 0 A FALSE 0.0967 6 psu_1 stratum_1 538 10.3 56.6 0.523 0 B TRUE 0.0967 7 psu_1 stratum_1 538 9.43 69.5 -0.123 0 C FALSE 0.0967 8 psu_1 stratum_1 538 10.7 55.8 -1.11 1 B TRUE 0.0967 9 psu_1 stratum_1 538 10.5 39.5 -0.774 1 C FALSE 0.0967 10 psu_1 stratum_1 538 10.1 39.8 0.615 0 C FALSE 0.0967 # i 90 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 2 y wt <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability, JK1, 4 replicates) [experimental] Sample size: 10 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 i Skipped 2 surveys missing the requested variable: "w1" and "w2". i Skipped 1 survey missing the requested variable: "only". [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] ══ Skipped tests (426) ═════════════════════════════════════════════════════════ • A-13 trigger requires careful numerical construction; tracked for follow-up PR (1): 'test-glm-anova.R:531:3' • A-20 requires a hand-built fit whose @design@data domain column differs from the refit's; deferred to follow-up PR (1): 'test-glm-anova.R:481:3' • On CRAN (422): 'test-analysis-corr-latent-primitives.R:74:1', 'test-analysis-corr-latent-primitives.R:97:1', 'test-analysis-corr-latent-primitives.R:152:1', 'test-analysis-corr-latent-primitives.R:348:1', 'test-analysis-corr-latent-primitives.R:482:1', 'test-analysis-corr-latent-primitives.R:741:1', 'test-analysis-corr-latent-variance.R:14:1', 'test-analysis-corr-latent.R:20:1', 'test-analysis-corr.R:809:1', 'test-analysis-corr.R:817:1', 'test-analysis-corr.R:1231:1', 'test-analysis-corr.R:1646:1', 'test-analysis-corr.R:1664:1', 'test-analysis-covariance.R:690:1', 'test-analysis-covariance.R:699:1', 'test-analysis-covariance.R:712:1', 'test-analysis-covariance.R:734:1', 'test-analysis-covariance.R:747:1', 'test-analysis-covariance.R:768:1', 'test-analysis-covariance.R:785:1', 'test-analysis-covariance.R:798:1', 'test-analysis-covariance.R:819:1', 'test-analysis-covariance.R:851:1', 'test-analysis-covariance.R:884:1', 'test-analysis-covariance.R:924:1', 'test-analysis-covariance.R:1131:1', 'test-analysis-covariance.R:1154:1', 'test-analysis-covariance.R:1176:1', 'test-analysis-diffs-helpers.R:147:1', 'test-analysis-diffs-helpers.R:388:1', 'test-analysis-diffs-marginaleffects.R:6:1', 'test-analysis-diffs-numerical.R:6:1', 'test-analysis-diffs.R:30:1', 'test-analysis-diffs.R:39:1', 'test-analysis-diffs.R:48:1', 'test-analysis-diffs.R:57:1', 'test-analysis-diffs.R:66:1', 'test-analysis-diffs.R:77:1', 'test-analysis-diffs.R:89:1', 'test-analysis-diffs.R:101:1', 'test-analysis-diffs.R:435:1', 'test-analysis-diffs.R:765:1', 'test-analysis-diffs.R:774:1', 'test-analysis-diffs.R:783:1', 'test-analysis-diffs.R:792:1', 'test-analysis-diffs.R:801:1', 'test-analysis-diffs.R:810:1', 'test-analysis-freqs.R:578:1', 'test-analysis-freqs.R:589:1', 'test-analysis-freqs.R:610:1', 'test-analysis-freqs.R:631:1', 'test-analysis-freqs.R:652:1', 'test-analysis-freqs.R:1255:1', 'test-analysis-freqs.R:1499:1', 'test-analysis-helpers.R:59:1', 'test-analysis-helpers.R:77:1', 'test-analysis-helpers.R:110:1', 'test-analysis-helpers.R:398:1', 'test-analysis-helpers.R:754:1', 'test-analysis-helpers.R:1113:1', 'test-analysis-helpers.R:1153:1', 'test-analysis-helpers.R:1462:1', 'test-analysis-means.R:320:1', 'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1', 'test-analysis-quantiles.R:716:1', 'test-analysis-quantiles.R:724:1', 'test-analysis-quantiles.R:759:1', 'test-analysis-quantiles.R:771:1', 'test-analysis-quantiles.R:1095:1', 'test-analysis-ratios.R:578:1', 'test-analysis-ratios.R:588:1', 'test-analysis-ratios.R:598:1', 'test-analysis-ratios.R:608:1', 'test-analysis-ratios.R:1040:1', 'test-analysis-t-test-numerical.R:6:1', 'test-analysis-t-test.R:285:1', 'test-analysis-t-test.R:310:1', 'test-analysis-t-test.R:319:1', 'test-analysis-t-test.R:328:1', 'test-analysis-t-test.R:340:1', 'test-analysis-t-test.R:352:1', 'test-analysis-t-test.R:364:1', 'test-analysis-t-test.R:377:1', 'test-analysis-t-test.R:393:1', 'test-analysis-t-test.R:402:1', 'test-analysis-t-test.R:414:1', 'test-analysis-t-test.R:426:1', 'test-analysis-t-test.R:754:1', 'test-analysis-t-test.R:820:1', 'test-analysis-t-test.R:831:1', 'test-analysis-totals.R:301:1', 'test-analysis-totals.R:320:1', 'test-analysis-totals.R:624:1', 'test-analysis-variance-collection.R:122:1', 'test-analysis-variance-collection.R:146:1', 'test-analysis-variance-collection.R:169:1', 'test-analysis-variance-collection.R:182:1', 'test-analysis-variance-twophase-nonprob.R:9:1', 'test-analysis-variance.R:598:1', 'test-analysis-variance.R:608:1', 'test-analysis-variance.R:622:1', 'test-analysis-variance.R:634:1', 'test-analysis-variance.R:646:1', 'test-analysis-variance.R:657:1', 'test-analysis-variance.R:676:1', 'test-analysis-variance.R:691:1', 'test-analysis-variance.R:705:1', 'test-calibration.R:73:1', 'test-calibration.R:84:1', 'test-calibration.R:96:1', 'test-calibration.R:108:1', 'test-calibration.R:120:1', 'test-calibration.R:132:1', 'test-calibration.R:144:1', 'test-calibration.R:156:1', 'test-calibration.R:170:1', 'test-calibration.R:182:1', 'test-calibration.R:194:1', 'test-calibration.R:207:1', 'test-calibration.R:223:1', 'test-calibration.R:238:1', 'test-calibration.R:264:1', 'test-calibration.R:737:1', 'test-calibration.R:748:1', 'test-calibration.R:762:1', 'test-calibration.R:776:1', 'test-calibration.R:788:1', 'test-calibration.R:802:1', 'test-calibration.R:840:1', 'test-calibration.R:854:1', 'test-calibration.R:866:1', 'test-calibration.R:878:1', 'test-calibration.R:893:1', 'test-calibration.R:906:1', 'test-calibration.R:919:1', 'test-calibration.R:949:1', 'test-calibration.R:974:1', 'test-calibration.R:1002:1', 'test-collection-groups.R:352:1', 'test-collection-groups.R:362:1', 'test-collection-groups.R:375:1', 'test-collection-groups.R:411:1', 'test-collection-groups.R:549:1', 'test-collection-groups.R:556:1', 'test-constructors.R:145:1', 'test-constructors.R:161:1', 'test-constructors.R:171:1', 'test-constructors.R:189:1', 'test-constructors.R:199:1', 'test-constructors.R:259:1', 'test-constructors.R:272:1', 'test-constructors.R:302:1', 'test-constructors.R:329:1', 'test-constructors.R:347:1', 'test-constructors.R:361:1', 'test-constructors.R:730:1', 'test-constructors.R:752:1', 'test-constructors.R:827:1', 'test-constructors.R:850:1', 'test-constructors.R:1145:1', 'test-constructors.R:1159:1', 'test-constructors.R:1200:1', 'test-constructors.R:1211:1', 'test-constructors.R:1227:1', 'test-constructors.R:1243:1', 'test-constructors.R:1265:1', 'test-constructors.R:1613:1', 'test-constructors.R:1624:1', 'test-constructors.R:1636:1', 'test-constructors.R:1648:1', 'test-constructors.R:1660:1', 'test-constructors.R:1672:1', 'test-constructors.R:1738:1', 'test-constructors.R:1744:1', 'test-constructors.R:1750:1', 'test-constructors.R:1756:1', 'test-constructors.R:1762:1', 'test-constructors.R:1769:1', 'test-constructors.R:1917:1', 'test-constructors.R:2079:1', 'test-constructors.R:2091:1', 'test-constructors.R:2103:1', 'test-constructors.R:2115:1', 'test-constructors.R:2137:1', 'test-constructors.R:2159:1', 'test-constructors.R:2181:1', 'test-constructors.R:2193:1', 'test-constructors.R:2216:1', 'test-constructors.R:2289:1', 'test-constructors.R:2316:1', 'test-constructors.R:2343:1', 'test-constructors.R:2497:1', 'test-constructors.R:2524:1', 'test-constructors.R:2551:1', 'test-constructors.R:2648:1', 'test-constructors.R:2686:1', 'test-constructors.R:2710:1', 'test-constructors.R:2734:1', 'test-constructors.R:2757:1', 'test-constructors.R:2781:1', 'test-constructors.R:2891:1', 'test-constructors.R:2906:1', 'test-constructors.R:2921:1', 'test-constructors.R:2940:1', 'test-constructors.R:2959:1', 'test-constructors.R:2978:1', 'test-constructors.R:3009:1', 'test-constructors.R:3021:1', 'test-constructors.R:3035:1', 'test-constructors.R:3050:1', 'test-constructors.R:3067:1', 'test-effective-n.R:212:1', 'test-effective-n.R:220:1', 'test-effective-n.R:229:1', 'test-effective-n.R:444:1', 'test-effective-n.R:452:1', 'test-effective-n.R:460:1', 'test-effective-n.R:468:1', 'test-glm-anova-dispatch.R:270:1', 'test-glm-anova-dispatch.R:274:1', 'test-glm-anova-dispatch.R:280:1', 'test-glm-anova-dispatch.R:284:1', 'test-glm-anova-dispatch.R:289:1', 'test-glm-anova-dispatch.R:295:1', 'test-glm-anova-numerical.R:18:1', 'test-glm-anova.R:353:1', 'test-glm-anova.R:361:1', 'test-glm-anova.R:374:1', 'test-glm-anova.R:398:1', 'test-glm-anova.R:412:1', 'test-glm-anova.R:426:1', 'test-glm-anova.R:436:1', 'test-glm-anova.R:694:1', 'test-glm-anova.R:700:1', 'test-glm-anova.R:709:1', 'test-glm-anova.R:811:1', 'test-glm-anova.R:822:1', 'test-glm-anova.R:833:1', 'test-glm-anova.R:859:1', 'test-glm-anova.R:871:1', 'test-glm-anova.R:919:1', 'test-glm-marginaleffects.R:9:1', 'test-glm-methods.R:52:1', 'test-glm-methods.R:109:1', 'test-glm-methods.R:115:1', 'test-glm-methods.R:205:1', 'test-glm-methods.R:289:1', 'test-glm-methods.R:299:1', 'test-glm-methods.R:312:1', 'test-glm-methods.R:325:1', 'test-glm-methods.R:392:1', 'test-glm-methods.R:424:1', 'test-glm-methods.R:449:1', 'test-glm-methods.R:474:1', 'test-glm-methods.R:526:1', 'test-glm-methods.R:548:1', 'test-glm-methods.R:575:1', 'test-glm-methods.R:584:1', 'test-glm-methods.R:611:1', 'test-glm-methods.R:660:1', 'test-glm-methods.R:675:1', 'test-glm-numerical.R:14:1', 'test-glm.R:128:1', 'test-glm.R:177:1', 'test-glm.R:186:1', 'test-glm.R:196:1', 'test-glm.R:206:1', 'test-glm.R:219:1', 'test-glm.R:229:1', 'test-glm.R:239:1', 'test-glm.R:249:1', 'test-glm.R:261:1', 'test-glm.R:273:1', 'test-glm.R:309:1', 'test-glm.R:325:1', 'test-glm.R:1007:1', 'test-glm.R:1015:1', 'test-glm.R:1288:1', 'test-metadata-infer.R:408:1', 'test-metadata-system.R:187:1', 'test-metadata-system.R:709:1', 'test-metadata-system.R:713:1', 'test-metadata-system.R:721:1', 'test-metadata-system.R:726:1', 'test-metadata-system.R:734:1', 'test-metadata-system.R:739:1', 'test-metadata-system.R:744:1', 'test-metadata-system.R:749:1', 'test-metadata-system.R:925:1', 'test-metadata-system.R:930:1', 'test-metadata-system.R:935:1', 'test-metadata-system.R:939:1', 'test-metadata-system.R:944:1', 'test-metadata-system.R:952:1', 'test-metadata-system.R:960:1', 'test-metadata-system.R:965:1', 'test-metadata-system.R:1107:1', 'test-metadata-system.R:1114:1', 'test-metadata-system.R:1119:1', 'test-metadata-system.R:1127:1', 'test-metadata-system.R:1132:1', 'test-metadata-system.R:1140:1', 'test-metadata-system.R:1145:1', 'test-metadata-system.R:1278:1', 'test-metadata-system.R:1282:1', 'test-metadata-system.R:1290:1', 'test-metadata-system.R:1295:1', 'test-metadata-system.R:1303:1', 'test-metadata-system.R:1308:1', 'test-metadata-system.R:1313:1', 'test-metadata-system.R:1439:1', 'test-metadata-system.R:1443:1', 'test-metadata-system.R:1448:1', 'test-metadata-system.R:1456:1', 'test-metadata-system.R:1461:1', 'test-metadata-system.R:1469:1', 'test-metadata-system.R:1474:1', 'test-metadata-system.R:1623:1', 'test-metadata-system.R:1628:1', 'test-metadata-system.R:1635:1', 'test-metadata-system.R:1643:1', 'test-metadata-system.R:1648:1', 'test-metadata-system.R:1660:1', 'test-metadata-system.R:1665:1', 'test-metadata-system.R:1887:1', 'test-metadata-system.R:2040:1', 'test-metadata-system.R:2054:1', 'test-metadata-system.R:2068:1', 'test-metadata-system.R:2082:1', 'test-metadata-system.R:2202:1', 'test-metadata-system.R:2438:1', 'test-metadata-system.R:2442:1', 'test-metadata-system.R:2622:1', 'test-metadata-system.R:2630:1', 'test-metadata-system.R:2648:1', 'test-metadata-system.R:2663:1', 'test-metadata-system.R:2678:1', 'test-metadata-system.R:2858:1', 'test-metadata-system.R:2866:1', 'test-metadata-system.R:2881:1', 'test-metadata-system.R:2896:1', 'test-metadata-system.R:3079:1', 'test-metadata-system.R:3087:1', 'test-metadata-system.R:3095:1', 'test-metadata-system.R:3110:1', 'test-metadata-system.R:3128:1', 'test-metadata-system.R:3146:1', 'test-metadata-system.R:3164:1', 'test-metadata-system.R:3179:1', 'test-metadata-system.R:3356:1', 'test-metadata-system.R:3364:1', 'test-metadata-system.R:3372:1', 'test-metadata-system.R:3390:1', 'test-metadata-system.R:3408:1', 'test-metadata-system.R:3426:1', 'test-metadata-system.R:3441:1', 'test-metadata-system.R:3506:1', 'test-metadata-system.R:3517:1', 'test-methods-print.R:107:1', 'test-methods-print.R:118:1', 'test-methods-print.R:224:1', 'test-methods-print.R:235:1', 'test-methods-print.R:255:1', 'test-methods-print.R:266:1', 'test-methods-print.R:286:1', 'test-methods-print.R:331:1', 'test-methods-print.R:348:1', 'test-methods-print.R:375:1', 'test-methods-print.R:386:1', 'test-methods-print.R:398:1', 'test-methods-print.R:410:1', 'test-methods-print.R:421:1', 'test-methods-print.R:432:1', 'test-methods-print.R:447:1', 'test-methods-print.R:462:1', 'test-methods-print.R:652:1', 'test-methods-print.R:680:1', 'test-methods-print.R:702:1', 'test-methods-print.R:723:1', 'test-methods-print.R:736:1', 'test-methods-print.R:749:1', 'test-methods-print.R:756:1', 'test-methods-print.R:866:1', 'test-methods-print.R:878:1', 'test-methods-print.R:891:1', 'test-methods-print.R:904:1', 'test-methods-print.R:964:1', 'test-methods-print.R:976:1', 'test-methods-print.R:989:1', 'test-methods-print.R:1002:1', 'test-nonprob-bootstrap-variance.R:585:1', 'test-sata-detection.R:178:1', 'test-sata-detection.R:193:1', 'test-sata-detection.R:211:1', 'test-survey-collection-dispatch.R:319:1', 'test-survey-collection-dispatch.R:343:1', 'test-survey-collection-dispatch.R:366:1', 'test-survey-collection-dispatch.R:379:1', 'test-survey-collection-dispatch.R:389:1', 'test-survey-collection-dispatch.R:399:1', 'test-survey-collection-dispatch.R:424:1', 'test-survey-collection-dispatch.R:446:1', 'test-survey-collection-dispatch.R:559:1', 'test-survey-collection-dispatch.R:819:1', 'test-survey-collection.R:187:1', 'test-survey-collection.R:236:1', 'test-survey-collection.R:381:1', 'test-survey-collection.R:455:1', 'test-survey-collection.R:714:1', 'test-survey-collection.R:742:1', 'test-survey-collection.R:1008:1', 'test-survey-collection.R:1014:1', 'test-survey-collection.R:1025:1', 'test-update-design.R:284:1', 'test-utils.R:640:1', 'test-validators.R:354:1', 'test-validators.R:376:1', 'test-validators.R:398:1', 'test-variance-taylor.R:308:1', 'test-variance-twophase.R:5:1', 'test-variance-vendored-saddlepoint.R:9:1' • Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1): 'test-srr-compliance.R:294:3' • {MASS} is not installed (1): 'test-calibration.R:633:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-analysis-diffs-helpers.R:478:3'): .extract_me_estimates() with groups: result_groups is a data.frame ── Expected `nrow(result$result_groups)` to equal 4L. Differences: `actual`: 3 `expected`: 4 ── Failure ('test-analysis-diffs-helpers.R:668:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `nrow(out$groups_df)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs-helpers.R:669:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `length(out$col_vecs[["treats"]])` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs-helpers.R:858:3'): .build_diffs_output() p-value adjustment with groups: adjusts within each group ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:858:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1038:3'): .build_diffs_output() pct_change with show_means = FALSE + grouped ME + show_pct_change = TRUE: pct_change computed (not NA) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1038:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1334:3'): .build_diffs_output() grouped path with pct_change: group combo loop hits has_group branch ── Error in `if (grp_ok) { ref_mean_val <- all_rows[[ri]]$mean break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1334:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Failure ('test-analysis-diffs.R:471:3'): get_diffs() with group produces grouped output ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs.R:490:3'): get_diffs() with covariates and group ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs.R:562:3'): get_diffs() pval_adj with group adjusts within groups ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:562:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs.R:1026:3'): get_diffs() pct_change is non-NA with show_means = FALSE (grouped) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:1026:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [262s/310s] 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(surveycore) > > test_check("surveycore") i Skipped 2 surveys missing the requested variable: "w1" and "w2". # A survey_diffs result # Design: Taylor series | Family: gaussian (identity) # DV: y | Treatment: arm (ref: Ctrl) # Method: coefficient / intercept # A <survey_diffs> [2 × 4] # A tibble: 2 x 4 arm estimate mean n <fct> <dbl> <dbl> <int> 1 Ctrl 0 0.5 100 2 T1 0.05 0.55 100 Saving _problems/test-analysis-diffs-helpers-478.R Saving _problems/test-analysis-diffs-helpers-668.R Saving _problems/test-analysis-diffs-helpers-669.R Saving _problems/test-analysis-diffs-helpers-876.R Saving _problems/test-analysis-diffs-helpers-1056.R Saving _problems/test-analysis-diffs-helpers-1352.R Saving _problems/test-analysis-diffs-471.R Saving _problems/test-analysis-diffs-490.R Saving _problems/test-analysis-diffs-569.R Saving _problems/test-analysis-diffs-1034.R # A survey_t_test result # Design: Taylor series | N: 400 # DV: outcome | By: grp2 (A vs. B) # A <tbl_df> [1 × 13] # A tibble: 1 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat df <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> <dbl> 1 A B 3.51 50.9 54.4 209 191 1.16 5.86 3.18 15 # i 2 more variables: p_value <dbl>, stars <chr> # A survey_pairwise result # Design: Taylor series | N: 400 # DV: outcome | By: grp3 (3 levels, 3 pairs) # Adjustment: holm # A <tbl_df> [3 × 13] # A tibble: 3 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> 1 X Y -0.910 53.1 52.2 145 136 -3.59 1.77 -0.725 2 X Z -0.847 53.1 52.3 145 119 -3.77 2.08 -0.617 3 Y Z 0.0631 52.2 52.3 136 119 -2.78 2.91 0.0473 # i 3 more variables: df <dbl>, p_value <dbl>, stars <chr> i Skipped 2 surveys missing the requested variable: "w1" and "w2". -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability) [experimental] * Variance: SRS approximation (no bootstrap replicate weights) Sample size: 10 # A tibble: 10 x 2 y w <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design Summary ------------------------------------------------------- Type: non-probability [experimental] Sample size: 10 Weighted N: 10 -- Design -- Weights: w * Range: 1 – 1 * Mean: 1 * CV: 0 Calibration provenance: none stored Metadata: 0 of 2 variable(s) labeled Survey-weighted GLM Family: gaussian (identity link) Formula: y1 ~ y2 + y3 Design: Taylor series Coefficients: (Intercept) y2 y3 51.1868 -0.0624 -2.6042 Degrees of freedom: 16 (design-based) Survey-weighted GLM Call: survey_glm(design = .glm_taylor(), formula = y1 ~ y2 + y3) Deviance Residuals: Min 1Q Median 3Q Max -93.3797 -18.7253 -0.4633 22.9540 75.4878 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 51.1868 0.7268 70.4262 0.0000 *** y2 -0.0624 0.8308 -0.0752 0.9412 y3 -2.6042 1.4802 -1.7594 0.1003 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for gaussian family taken to be 986.9) Null deviance: 197426 on 199 degrees of freedom Residual deviance: 194412 on 197 degrees of freedom AIC: 1492 Design df: 16 (taylor) # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A # i 49 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 10 psu strata fpc wt y1 y2 y3 group prob ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> 1 psu_1 stratum~ 378 14.3 50.9 -0.122 1 A 0.0701 14.3 2 psu_1 stratum~ 378 21.8 20.1 0.188 0 B 0.0459 21.8 3 psu_1 stratum~ 378 14.4 52.8 0.119 1 B 0.0697 14.4 4 psu_2 stratum~ 378 18.9 46.3 -0.0251 0 A 0.0530 18.9 5 psu_2 stratum~ 378 23.0 51.9 0.108 0 B 0.0435 23.0 6 psu_2 stratum~ 378 11.0 55.8 -0.485 0 C 0.0908 11.0 7 psu_2 stratum~ 378 13.8 64.0 -0.504 0 A 0.0727 13.8 8 psu_2 stratum~ 378 14.2 42.7 -1.66 0 B 0.0706 14.2 9 psu_3 stratum~ 378 16.5 63.0 -0.382 1 C 0.0606 16.5 10 psu_3 stratum~ 378 13.7 53.4 -0.513 1 A 0.0728 13.7 # i 40 more rows # A tibble: 30 x 9 psu strata fpc wt y1 y2 y3 group ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <int> 1 psu_1 stratum_1 218 14.3 41.5 1.04 1 B 1 2 psu_1 stratum_1 218 21.8 25.9 0.921 1 B 1 3 psu_2 stratum_1 218 14.4 50.4 0.721 0 B 1 4 psu_2 stratum_1 218 18.9 52.1 -1.04 1 A 1 5 psu_2 stratum_1 218 23.0 46.4 -0.0902 0 A 1 6 psu_3 stratum_1 218 11.0 57.6 0.624 0 C 1 7 psu_3 stratum_1 218 13.7 42.7 -0.954 0 B 1 8 psu_4 stratum_1 218 14.2 36.3 -0.543 0 B 1 9 psu_4 stratum_1 218 16.5 54.3 0.581 0 C 1 10 psu_4 stratum_1 218 13.7 41.9 0.768 0 C 1 # i 20 more rows # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 # i 49 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 # i 59 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 50 x 14 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 3 more variables: repwt_4 <dbl>, repwt_5 <dbl>, fpc_rep <int> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 30 x 2 y w <dbl> <dbl> 1 0.828 2.00 2 0.0757 1.11 3 0.126 1.85 4 2.27 1.22 5 -0.838 1.30 6 -0.469 1.48 7 0.0155 1.20 8 0.961 1.41 9 -0.281 0.965 10 0.0697 1.51 # i 20 more rows # A tibble: 100 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 538 11.6 50.9 -1.43 0 C FALSE 0.0967 2 psu_1 stratum_1 538 12.0 46.7 -0.718 0 C FALSE 0.0967 3 psu_1 stratum_1 538 12.1 42.0 0.205 1 A TRUE 0.0967 4 psu_1 stratum_1 538 11.6 30.8 -1.90 0 A FALSE 0.0967 5 psu_1 stratum_1 538 9.12 53.7 -0.449 0 A FALSE 0.0967 6 psu_1 stratum_1 538 10.3 56.6 0.523 0 B TRUE 0.0967 7 psu_1 stratum_1 538 9.43 69.5 -0.123 0 C FALSE 0.0967 8 psu_1 stratum_1 538 10.7 55.8 -1.11 1 B TRUE 0.0967 9 psu_1 stratum_1 538 10.5 39.5 -0.774 1 C FALSE 0.0967 10 psu_1 stratum_1 538 10.1 39.8 0.615 0 C FALSE 0.0967 # i 90 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 2 y wt <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability, JK1, 4 replicates) [experimental] Sample size: 10 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 i Skipped 2 surveys missing the requested variable: "w1" and "w2". i Skipped 1 survey missing the requested variable: "only". [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] ══ Skipped tests (426) ═════════════════════════════════════════════════════════ • A-13 trigger requires careful numerical construction; tracked for follow-up PR (1): 'test-glm-anova.R:531:3' • A-20 requires a hand-built fit whose @design@data domain column differs from the refit's; deferred to follow-up PR (1): 'test-glm-anova.R:481:3' • On CRAN (422): 'test-analysis-corr-latent-primitives.R:74:1', 'test-analysis-corr-latent-primitives.R:97:1', 'test-analysis-corr-latent-primitives.R:152:1', 'test-analysis-corr-latent-primitives.R:348:1', 'test-analysis-corr-latent-primitives.R:482:1', 'test-analysis-corr-latent-primitives.R:741:1', 'test-analysis-corr-latent-variance.R:14:1', 'test-analysis-corr-latent.R:20:1', 'test-analysis-corr.R:809:1', 'test-analysis-corr.R:817:1', 'test-analysis-corr.R:1231:1', 'test-analysis-corr.R:1646:1', 'test-analysis-corr.R:1664:1', 'test-analysis-covariance.R:690:1', 'test-analysis-covariance.R:699:1', 'test-analysis-covariance.R:712:1', 'test-analysis-covariance.R:734:1', 'test-analysis-covariance.R:747:1', 'test-analysis-covariance.R:768:1', 'test-analysis-covariance.R:785:1', 'test-analysis-covariance.R:798:1', 'test-analysis-covariance.R:819:1', 'test-analysis-covariance.R:851:1', 'test-analysis-covariance.R:884:1', 'test-analysis-covariance.R:924:1', 'test-analysis-covariance.R:1131:1', 'test-analysis-covariance.R:1154:1', 'test-analysis-covariance.R:1176:1', 'test-analysis-diffs-helpers.R:147:1', 'test-analysis-diffs-helpers.R:388:1', 'test-analysis-diffs-marginaleffects.R:6:1', 'test-analysis-diffs-numerical.R:6:1', 'test-analysis-diffs.R:30:1', 'test-analysis-diffs.R:39:1', 'test-analysis-diffs.R:48:1', 'test-analysis-diffs.R:57:1', 'test-analysis-diffs.R:66:1', 'test-analysis-diffs.R:77:1', 'test-analysis-diffs.R:89:1', 'test-analysis-diffs.R:101:1', 'test-analysis-diffs.R:435:1', 'test-analysis-diffs.R:765:1', 'test-analysis-diffs.R:774:1', 'test-analysis-diffs.R:783:1', 'test-analysis-diffs.R:792:1', 'test-analysis-diffs.R:801:1', 'test-analysis-diffs.R:810:1', 'test-analysis-freqs.R:578:1', 'test-analysis-freqs.R:589:1', 'test-analysis-freqs.R:610:1', 'test-analysis-freqs.R:631:1', 'test-analysis-freqs.R:652:1', 'test-analysis-freqs.R:1255:1', 'test-analysis-freqs.R:1499:1', 'test-analysis-helpers.R:59:1', 'test-analysis-helpers.R:77:1', 'test-analysis-helpers.R:110:1', 'test-analysis-helpers.R:398:1', 'test-analysis-helpers.R:754:1', 'test-analysis-helpers.R:1113:1', 'test-analysis-helpers.R:1153:1', 'test-analysis-helpers.R:1462:1', 'test-analysis-means.R:320:1', 'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1', 'test-analysis-quantiles.R:716:1', 'test-analysis-quantiles.R:724:1', 'test-analysis-quantiles.R:759:1', 'test-analysis-quantiles.R:771:1', 'test-analysis-quantiles.R:1095:1', 'test-analysis-ratios.R:578:1', 'test-analysis-ratios.R:588:1', 'test-analysis-ratios.R:598:1', 'test-analysis-ratios.R:608:1', 'test-analysis-ratios.R:1040:1', 'test-analysis-t-test-numerical.R:6:1', 'test-analysis-t-test.R:285:1', 'test-analysis-t-test.R:310:1', 'test-analysis-t-test.R:319:1', 'test-analysis-t-test.R:328:1', 'test-analysis-t-test.R:340:1', 'test-analysis-t-test.R:352:1', 'test-analysis-t-test.R:364:1', 'test-analysis-t-test.R:377:1', 'test-analysis-t-test.R:393:1', 'test-analysis-t-test.R:402:1', 'test-analysis-t-test.R:414:1', 'test-analysis-t-test.R:426:1', 'test-analysis-t-test.R:754:1', 'test-analysis-t-test.R:820:1', 'test-analysis-t-test.R:831:1', 'test-analysis-totals.R:301:1', 'test-analysis-totals.R:320:1', 'test-analysis-totals.R:624:1', 'test-analysis-variance-collection.R:122:1', 'test-analysis-variance-collection.R:146:1', 'test-analysis-variance-collection.R:169:1', 'test-analysis-variance-collection.R:182:1', 'test-analysis-variance-twophase-nonprob.R:9:1', 'test-analysis-variance.R:598:1', 'test-analysis-variance.R:608:1', 'test-analysis-variance.R:622:1', 'test-analysis-variance.R:634:1', 'test-analysis-variance.R:646:1', 'test-analysis-variance.R:657:1', 'test-analysis-variance.R:676:1', 'test-analysis-variance.R:691:1', 'test-analysis-variance.R:705:1', 'test-calibration.R:73:1', 'test-calibration.R:84:1', 'test-calibration.R:96:1', 'test-calibration.R:108:1', 'test-calibration.R:120:1', 'test-calibration.R:132:1', 'test-calibration.R:144:1', 'test-calibration.R:156:1', 'test-calibration.R:170:1', 'test-calibration.R:182:1', 'test-calibration.R:194:1', 'test-calibration.R:207:1', 'test-calibration.R:223:1', 'test-calibration.R:238:1', 'test-calibration.R:264:1', 'test-calibration.R:737:1', 'test-calibration.R:748:1', 'test-calibration.R:762:1', 'test-calibration.R:776:1', 'test-calibration.R:788:1', 'test-calibration.R:802:1', 'test-calibration.R:840:1', 'test-calibration.R:854:1', 'test-calibration.R:866:1', 'test-calibration.R:878:1', 'test-calibration.R:893:1', 'test-calibration.R:906:1', 'test-calibration.R:919:1', 'test-calibration.R:949:1', 'test-calibration.R:974:1', 'test-calibration.R:1002:1', 'test-collection-groups.R:352:1', 'test-collection-groups.R:362:1', 'test-collection-groups.R:375:1', 'test-collection-groups.R:411:1', 'test-collection-groups.R:549:1', 'test-collection-groups.R:556:1', 'test-constructors.R:145:1', 'test-constructors.R:161:1', 'test-constructors.R:171:1', 'test-constructors.R:189:1', 'test-constructors.R:199:1', 'test-constructors.R:259:1', 'test-constructors.R:272:1', 'test-constructors.R:302:1', 'test-constructors.R:329:1', 'test-constructors.R:347:1', 'test-constructors.R:361:1', 'test-constructors.R:730:1', 'test-constructors.R:752:1', 'test-constructors.R:827:1', 'test-constructors.R:850:1', 'test-constructors.R:1145:1', 'test-constructors.R:1159:1', 'test-constructors.R:1200:1', 'test-constructors.R:1211:1', 'test-constructors.R:1227:1', 'test-constructors.R:1243:1', 'test-constructors.R:1265:1', 'test-constructors.R:1613:1', 'test-constructors.R:1624:1', 'test-constructors.R:1636:1', 'test-constructors.R:1648:1', 'test-constructors.R:1660:1', 'test-constructors.R:1672:1', 'test-constructors.R:1738:1', 'test-constructors.R:1744:1', 'test-constructors.R:1750:1', 'test-constructors.R:1756:1', 'test-constructors.R:1762:1', 'test-constructors.R:1769:1', 'test-constructors.R:1917:1', 'test-constructors.R:2079:1', 'test-constructors.R:2091:1', 'test-constructors.R:2103:1', 'test-constructors.R:2115:1', 'test-constructors.R:2137:1', 'test-constructors.R:2159:1', 'test-constructors.R:2181:1', 'test-constructors.R:2193:1', 'test-constructors.R:2216:1', 'test-constructors.R:2289:1', 'test-constructors.R:2316:1', 'test-constructors.R:2343:1', 'test-constructors.R:2497:1', 'test-constructors.R:2524:1', 'test-constructors.R:2551:1', 'test-constructors.R:2648:1', 'test-constructors.R:2686:1', 'test-constructors.R:2710:1', 'test-constructors.R:2734:1', 'test-constructors.R:2757:1', 'test-constructors.R:2781:1', 'test-constructors.R:2891:1', 'test-constructors.R:2906:1', 'test-constructors.R:2921:1', 'test-constructors.R:2940:1', 'test-constructors.R:2959:1', 'test-constructors.R:2978:1', 'test-constructors.R:3009:1', 'test-constructors.R:3021:1', 'test-constructors.R:3035:1', 'test-constructors.R:3050:1', 'test-constructors.R:3067:1', 'test-effective-n.R:212:1', 'test-effective-n.R:220:1', 'test-effective-n.R:229:1', 'test-effective-n.R:444:1', 'test-effective-n.R:452:1', 'test-effective-n.R:460:1', 'test-effective-n.R:468:1', 'test-glm-anova-dispatch.R:270:1', 'test-glm-anova-dispatch.R:274:1', 'test-glm-anova-dispatch.R:280:1', 'test-glm-anova-dispatch.R:284:1', 'test-glm-anova-dispatch.R:289:1', 'test-glm-anova-dispatch.R:295:1', 'test-glm-anova-numerical.R:18:1', 'test-glm-anova.R:353:1', 'test-glm-anova.R:361:1', 'test-glm-anova.R:374:1', 'test-glm-anova.R:398:1', 'test-glm-anova.R:412:1', 'test-glm-anova.R:426:1', 'test-glm-anova.R:436:1', 'test-glm-anova.R:694:1', 'test-glm-anova.R:700:1', 'test-glm-anova.R:709:1', 'test-glm-anova.R:811:1', 'test-glm-anova.R:822:1', 'test-glm-anova.R:833:1', 'test-glm-anova.R:859:1', 'test-glm-anova.R:871:1', 'test-glm-anova.R:919:1', 'test-glm-marginaleffects.R:9:1', 'test-glm-methods.R:52:1', 'test-glm-methods.R:109:1', 'test-glm-methods.R:115:1', 'test-glm-methods.R:205:1', 'test-glm-methods.R:289:1', 'test-glm-methods.R:299:1', 'test-glm-methods.R:312:1', 'test-glm-methods.R:325:1', 'test-glm-methods.R:392:1', 'test-glm-methods.R:424:1', 'test-glm-methods.R:449:1', 'test-glm-methods.R:474:1', 'test-glm-methods.R:526:1', 'test-glm-methods.R:548:1', 'test-glm-methods.R:575:1', 'test-glm-methods.R:584:1', 'test-glm-methods.R:611:1', 'test-glm-methods.R:660:1', 'test-glm-methods.R:675:1', 'test-glm-numerical.R:14:1', 'test-glm.R:128:1', 'test-glm.R:177:1', 'test-glm.R:186:1', 'test-glm.R:196:1', 'test-glm.R:206:1', 'test-glm.R:219:1', 'test-glm.R:229:1', 'test-glm.R:239:1', 'test-glm.R:249:1', 'test-glm.R:261:1', 'test-glm.R:273:1', 'test-glm.R:309:1', 'test-glm.R:325:1', 'test-glm.R:1007:1', 'test-glm.R:1015:1', 'test-glm.R:1288:1', 'test-metadata-infer.R:408:1', 'test-metadata-system.R:187:1', 'test-metadata-system.R:709:1', 'test-metadata-system.R:713:1', 'test-metadata-system.R:721:1', 'test-metadata-system.R:726:1', 'test-metadata-system.R:734:1', 'test-metadata-system.R:739:1', 'test-metadata-system.R:744:1', 'test-metadata-system.R:749:1', 'test-metadata-system.R:925:1', 'test-metadata-system.R:930:1', 'test-metadata-system.R:935:1', 'test-metadata-system.R:939:1', 'test-metadata-system.R:944:1', 'test-metadata-system.R:952:1', 'test-metadata-system.R:960:1', 'test-metadata-system.R:965:1', 'test-metadata-system.R:1107:1', 'test-metadata-system.R:1114:1', 'test-metadata-system.R:1119:1', 'test-metadata-system.R:1127:1', 'test-metadata-system.R:1132:1', 'test-metadata-system.R:1140:1', 'test-metadata-system.R:1145:1', 'test-metadata-system.R:1278:1', 'test-metadata-system.R:1282:1', 'test-metadata-system.R:1290:1', 'test-metadata-system.R:1295:1', 'test-metadata-system.R:1303:1', 'test-metadata-system.R:1308:1', 'test-metadata-system.R:1313:1', 'test-metadata-system.R:1439:1', 'test-metadata-system.R:1443:1', 'test-metadata-system.R:1448:1', 'test-metadata-system.R:1456:1', 'test-metadata-system.R:1461:1', 'test-metadata-system.R:1469:1', 'test-metadata-system.R:1474:1', 'test-metadata-system.R:1623:1', 'test-metadata-system.R:1628:1', 'test-metadata-system.R:1635:1', 'test-metadata-system.R:1643:1', 'test-metadata-system.R:1648:1', 'test-metadata-system.R:1660:1', 'test-metadata-system.R:1665:1', 'test-metadata-system.R:1887:1', 'test-metadata-system.R:2040:1', 'test-metadata-system.R:2054:1', 'test-metadata-system.R:2068:1', 'test-metadata-system.R:2082:1', 'test-metadata-system.R:2202:1', 'test-metadata-system.R:2438:1', 'test-metadata-system.R:2442:1', 'test-metadata-system.R:2622:1', 'test-metadata-system.R:2630:1', 'test-metadata-system.R:2648:1', 'test-metadata-system.R:2663:1', 'test-metadata-system.R:2678:1', 'test-metadata-system.R:2858:1', 'test-metadata-system.R:2866:1', 'test-metadata-system.R:2881:1', 'test-metadata-system.R:2896:1', 'test-metadata-system.R:3079:1', 'test-metadata-system.R:3087:1', 'test-metadata-system.R:3095:1', 'test-metadata-system.R:3110:1', 'test-metadata-system.R:3128:1', 'test-metadata-system.R:3146:1', 'test-metadata-system.R:3164:1', 'test-metadata-system.R:3179:1', 'test-metadata-system.R:3356:1', 'test-metadata-system.R:3364:1', 'test-metadata-system.R:3372:1', 'test-metadata-system.R:3390:1', 'test-metadata-system.R:3408:1', 'test-metadata-system.R:3426:1', 'test-metadata-system.R:3441:1', 'test-metadata-system.R:3506:1', 'test-metadata-system.R:3517:1', 'test-methods-print.R:107:1', 'test-methods-print.R:118:1', 'test-methods-print.R:224:1', 'test-methods-print.R:235:1', 'test-methods-print.R:255:1', 'test-methods-print.R:266:1', 'test-methods-print.R:286:1', 'test-methods-print.R:331:1', 'test-methods-print.R:348:1', 'test-methods-print.R:375:1', 'test-methods-print.R:386:1', 'test-methods-print.R:398:1', 'test-methods-print.R:410:1', 'test-methods-print.R:421:1', 'test-methods-print.R:432:1', 'test-methods-print.R:447:1', 'test-methods-print.R:462:1', 'test-methods-print.R:652:1', 'test-methods-print.R:680:1', 'test-methods-print.R:702:1', 'test-methods-print.R:723:1', 'test-methods-print.R:736:1', 'test-methods-print.R:749:1', 'test-methods-print.R:756:1', 'test-methods-print.R:866:1', 'test-methods-print.R:878:1', 'test-methods-print.R:891:1', 'test-methods-print.R:904:1', 'test-methods-print.R:964:1', 'test-methods-print.R:976:1', 'test-methods-print.R:989:1', 'test-methods-print.R:1002:1', 'test-nonprob-bootstrap-variance.R:585:1', 'test-sata-detection.R:178:1', 'test-sata-detection.R:193:1', 'test-sata-detection.R:211:1', 'test-survey-collection-dispatch.R:319:1', 'test-survey-collection-dispatch.R:343:1', 'test-survey-collection-dispatch.R:366:1', 'test-survey-collection-dispatch.R:379:1', 'test-survey-collection-dispatch.R:389:1', 'test-survey-collection-dispatch.R:399:1', 'test-survey-collection-dispatch.R:424:1', 'test-survey-collection-dispatch.R:446:1', 'test-survey-collection-dispatch.R:559:1', 'test-survey-collection-dispatch.R:819:1', 'test-survey-collection.R:187:1', 'test-survey-collection.R:236:1', 'test-survey-collection.R:381:1', 'test-survey-collection.R:455:1', 'test-survey-collection.R:714:1', 'test-survey-collection.R:742:1', 'test-survey-collection.R:1008:1', 'test-survey-collection.R:1014:1', 'test-survey-collection.R:1025:1', 'test-update-design.R:284:1', 'test-utils.R:640:1', 'test-validators.R:354:1', 'test-validators.R:376:1', 'test-validators.R:398:1', 'test-variance-taylor.R:308:1', 'test-variance-twophase.R:5:1', 'test-variance-vendored-saddlepoint.R:9:1' • Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1): 'test-srr-compliance.R:294:3' • {MASS} is not installed (1): 'test-calibration.R:633:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-analysis-diffs-helpers.R:478:3'): .extract_me_estimates() with groups: result_groups is a data.frame ── Expected `nrow(result$result_groups)` to equal 4L. Differences: `actual`: 3 `expected`: 4 ── Failure ('test-analysis-diffs-helpers.R:668:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `nrow(out$groups_df)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs-helpers.R:669:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `length(out$col_vecs[["treats"]])` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs-helpers.R:858:3'): .build_diffs_output() p-value adjustment with groups: adjusts within each group ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:858:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1038:3'): .build_diffs_output() pct_change with show_means = FALSE + grouped ME + show_pct_change = TRUE: pct_change computed (not NA) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1038:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1334:3'): .build_diffs_output() grouped path with pct_change: group combo loop hits has_group branch ── Error in `if (grp_ok) { ref_mean_val <- all_rows[[ri]]$mean break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1334:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Failure ('test-analysis-diffs.R:471:3'): get_diffs() with group produces grouped output ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs.R:490:3'): get_diffs() with covariates and group ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs.R:562:3'): get_diffs() pval_adj with group adjusts within groups ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:562:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs.R:1026:3'): get_diffs() pct_change is non-NA with show_means = FALSE (grouped) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:1026:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [246s] 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(surveycore) > > test_check("surveycore") i Skipped 2 surveys missing the requested variable: "w1" and "w2". # A survey_diffs result # Design: Taylor series | Family: gaussian (identity) # DV: y | Treatment: arm (ref: Ctrl) # Method: coefficient / intercept # A <survey_diffs> [2 × 4] # A tibble: 2 x 4 arm estimate mean n <fct> <dbl> <dbl> <int> 1 Ctrl 0 0.5 100 2 T1 0.05 0.55 100 Saving _problems/test-analysis-diffs-helpers-478.R Saving _problems/test-analysis-diffs-helpers-668.R Saving _problems/test-analysis-diffs-helpers-669.R Saving _problems/test-analysis-diffs-helpers-876.R Saving _problems/test-analysis-diffs-helpers-1056.R Saving _problems/test-analysis-diffs-helpers-1352.R Saving _problems/test-analysis-diffs-471.R Saving _problems/test-analysis-diffs-490.R Saving _problems/test-analysis-diffs-569.R Saving _problems/test-analysis-diffs-1034.R # A survey_t_test result # Design: Taylor series | N: 400 # DV: outcome | By: grp2 (A vs. B) # A <tbl_df> [1 × 13] # A tibble: 1 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat df <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> <dbl> 1 A B 3.51 50.9 54.4 209 191 1.16 5.86 3.18 15 # i 2 more variables: p_value <dbl>, stars <chr> # A survey_pairwise result # Design: Taylor series | N: 400 # DV: outcome | By: grp3 (3 levels, 3 pairs) # Adjustment: holm # A <tbl_df> [3 × 13] # A tibble: 3 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> 1 X Y -0.910 53.1 52.2 145 136 -3.59 1.77 -0.725 2 X Z -0.847 53.1 52.3 145 119 -3.77 2.08 -0.617 3 Y Z 0.0631 52.2 52.3 136 119 -2.78 2.91 0.0473 # i 3 more variables: df <dbl>, p_value <dbl>, stars <chr> i Skipped 2 surveys missing the requested variable: "w1" and "w2". -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability) [experimental] * Variance: SRS approximation (no bootstrap replicate weights) Sample size: 10 # A tibble: 10 x 2 y w <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design Summary ------------------------------------------------------- Type: non-probability [experimental] Sample size: 10 Weighted N: 10 -- Design -- Weights: w * Range: 1 – 1 * Mean: 1 * CV: 0 Calibration provenance: none stored Metadata: 0 of 2 variable(s) labeled Survey-weighted GLM Family: gaussian (identity link) Formula: y1 ~ y2 + y3 Design: Taylor series Coefficients: (Intercept) y2 y3 51.1868 -0.0624 -2.6042 Degrees of freedom: 16 (design-based) Survey-weighted GLM Call: survey_glm(design = .glm_taylor(), formula = y1 ~ y2 + y3) Deviance Residuals: Min 1Q Median 3Q Max -93.3797 -18.7253 -0.4633 22.9540 75.4878 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 51.1868 0.7268 70.4262 0.0000 *** y2 -0.0624 0.8308 -0.0752 0.9412 y3 -2.6042 1.4802 -1.7594 0.1003 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for gaussian family taken to be 986.9) Null deviance: 197426 on 199 degrees of freedom Residual deviance: 194412 on 197 degrees of freedom AIC: 1492 Design df: 16 (taylor) # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A # i 49 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 10 psu strata fpc wt y1 y2 y3 group prob ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> 1 psu_1 stratum~ 378 14.3 50.9 -0.122 1 A 0.0701 14.3 2 psu_1 stratum~ 378 21.8 20.1 0.188 0 B 0.0459 21.8 3 psu_1 stratum~ 378 14.4 52.8 0.119 1 B 0.0697 14.4 4 psu_2 stratum~ 378 18.9 46.3 -0.0251 0 A 0.0530 18.9 5 psu_2 stratum~ 378 23.0 51.9 0.108 0 B 0.0435 23.0 6 psu_2 stratum~ 378 11.0 55.8 -0.485 0 C 0.0908 11.0 7 psu_2 stratum~ 378 13.8 64.0 -0.504 0 A 0.0727 13.8 8 psu_2 stratum~ 378 14.2 42.7 -1.66 0 B 0.0706 14.2 9 psu_3 stratum~ 378 16.5 63.0 -0.382 1 C 0.0606 16.5 10 psu_3 stratum~ 378 13.7 53.4 -0.513 1 A 0.0728 13.7 # i 40 more rows # A tibble: 30 x 9 psu strata fpc wt y1 y2 y3 group ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <int> 1 psu_1 stratum_1 218 14.3 41.5 1.04 1 B 1 2 psu_1 stratum_1 218 21.8 25.9 0.921 1 B 1 3 psu_2 stratum_1 218 14.4 50.4 0.721 0 B 1 4 psu_2 stratum_1 218 18.9 52.1 -1.04 1 A 1 5 psu_2 stratum_1 218 23.0 46.4 -0.0902 0 A 1 6 psu_3 stratum_1 218 11.0 57.6 0.624 0 C 1 7 psu_3 stratum_1 218 13.7 42.7 -0.954 0 B 1 8 psu_4 stratum_1 218 14.2 36.3 -0.543 0 B 1 9 psu_4 stratum_1 218 16.5 54.3 0.581 0 C 1 10 psu_4 stratum_1 218 13.7 41.9 0.768 0 C 1 # i 20 more rows # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 # i 49 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 # i 59 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 50 x 14 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 3 more variables: repwt_4 <dbl>, repwt_5 <dbl>, fpc_rep <int> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 30 x 2 y w <dbl> <dbl> 1 0.828 2.00 2 0.0757 1.11 3 0.126 1.85 4 2.27 1.22 5 -0.838 1.30 6 -0.469 1.48 7 0.0155 1.20 8 0.961 1.41 9 -0.281 0.965 10 0.0697 1.51 # i 20 more rows # A tibble: 100 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 538 11.6 50.9 -1.43 0 C FALSE 0.0967 2 psu_1 stratum_1 538 12.0 46.7 -0.718 0 C FALSE 0.0967 3 psu_1 stratum_1 538 12.1 42.0 0.205 1 A TRUE 0.0967 4 psu_1 stratum_1 538 11.6 30.8 -1.90 0 A FALSE 0.0967 5 psu_1 stratum_1 538 9.12 53.7 -0.449 0 A FALSE 0.0967 6 psu_1 stratum_1 538 10.3 56.6 0.523 0 B TRUE 0.0967 7 psu_1 stratum_1 538 9.43 69.5 -0.123 0 C FALSE 0.0967 8 psu_1 stratum_1 538 10.7 55.8 -1.11 1 B TRUE 0.0967 9 psu_1 stratum_1 538 10.5 39.5 -0.774 1 C FALSE 0.0967 10 psu_1 stratum_1 538 10.1 39.8 0.615 0 C FALSE 0.0967 # i 90 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 2 y wt <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability, JK1, 4 replicates) [experimental] Sample size: 10 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 i Skipped 2 surveys missing the requested variable: "w1" and "w2". i Skipped 1 survey missing the requested variable: "only". [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] ══ Skipped tests (426) ═════════════════════════════════════════════════════════ • A-13 trigger requires careful numerical construction; tracked for follow-up PR (1): 'test-glm-anova.R:531:3' • A-20 requires a hand-built fit whose @design@data domain column differs from the refit's; deferred to follow-up PR (1): 'test-glm-anova.R:481:3' • On CRAN (422): 'test-analysis-corr-latent-primitives.R:74:1', 'test-analysis-corr-latent-primitives.R:97:1', 'test-analysis-corr-latent-primitives.R:152:1', 'test-analysis-corr-latent-primitives.R:348:1', 'test-analysis-corr-latent-primitives.R:482:1', 'test-analysis-corr-latent-primitives.R:741:1', 'test-analysis-corr-latent-variance.R:14:1', 'test-analysis-corr-latent.R:20:1', 'test-analysis-corr.R:809:1', 'test-analysis-corr.R:817:1', 'test-analysis-corr.R:1231:1', 'test-analysis-corr.R:1646:1', 'test-analysis-corr.R:1664:1', 'test-analysis-covariance.R:690:1', 'test-analysis-covariance.R:699:1', 'test-analysis-covariance.R:712:1', 'test-analysis-covariance.R:734:1', 'test-analysis-covariance.R:747:1', 'test-analysis-covariance.R:768:1', 'test-analysis-covariance.R:785:1', 'test-analysis-covariance.R:798:1', 'test-analysis-covariance.R:819:1', 'test-analysis-covariance.R:851:1', 'test-analysis-covariance.R:884:1', 'test-analysis-covariance.R:924:1', 'test-analysis-covariance.R:1131:1', 'test-analysis-covariance.R:1154:1', 'test-analysis-covariance.R:1176:1', 'test-analysis-diffs-helpers.R:147:1', 'test-analysis-diffs-helpers.R:388:1', 'test-analysis-diffs-marginaleffects.R:6:1', 'test-analysis-diffs-numerical.R:6:1', 'test-analysis-diffs.R:30:1', 'test-analysis-diffs.R:39:1', 'test-analysis-diffs.R:48:1', 'test-analysis-diffs.R:57:1', 'test-analysis-diffs.R:66:1', 'test-analysis-diffs.R:77:1', 'test-analysis-diffs.R:89:1', 'test-analysis-diffs.R:101:1', 'test-analysis-diffs.R:435:1', 'test-analysis-diffs.R:765:1', 'test-analysis-diffs.R:774:1', 'test-analysis-diffs.R:783:1', 'test-analysis-diffs.R:792:1', 'test-analysis-diffs.R:801:1', 'test-analysis-diffs.R:810:1', 'test-analysis-freqs.R:578:1', 'test-analysis-freqs.R:589:1', 'test-analysis-freqs.R:610:1', 'test-analysis-freqs.R:631:1', 'test-analysis-freqs.R:652:1', 'test-analysis-freqs.R:1255:1', 'test-analysis-freqs.R:1499:1', 'test-analysis-helpers.R:59:1', 'test-analysis-helpers.R:77:1', 'test-analysis-helpers.R:110:1', 'test-analysis-helpers.R:398:1', 'test-analysis-helpers.R:754:1', 'test-analysis-helpers.R:1113:1', 'test-analysis-helpers.R:1153:1', 'test-analysis-helpers.R:1462:1', 'test-analysis-means.R:320:1', 'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1', 'test-analysis-quantiles.R:716:1', 'test-analysis-quantiles.R:724:1', 'test-analysis-quantiles.R:759:1', 'test-analysis-quantiles.R:771:1', 'test-analysis-quantiles.R:1095:1', 'test-analysis-ratios.R:578:1', 'test-analysis-ratios.R:588:1', 'test-analysis-ratios.R:598:1', 'test-analysis-ratios.R:608:1', 'test-analysis-ratios.R:1040:1', 'test-analysis-t-test-numerical.R:6:1', 'test-analysis-t-test.R:285:1', 'test-analysis-t-test.R:310:1', 'test-analysis-t-test.R:319:1', 'test-analysis-t-test.R:328:1', 'test-analysis-t-test.R:340:1', 'test-analysis-t-test.R:352:1', 'test-analysis-t-test.R:364:1', 'test-analysis-t-test.R:377:1', 'test-analysis-t-test.R:393:1', 'test-analysis-t-test.R:402:1', 'test-analysis-t-test.R:414:1', 'test-analysis-t-test.R:426:1', 'test-analysis-t-test.R:754:1', 'test-analysis-t-test.R:820:1', 'test-analysis-t-test.R:831:1', 'test-analysis-totals.R:301:1', 'test-analysis-totals.R:320:1', 'test-analysis-totals.R:624:1', 'test-analysis-variance-collection.R:122:1', 'test-analysis-variance-collection.R:146:1', 'test-analysis-variance-collection.R:169:1', 'test-analysis-variance-collection.R:182:1', 'test-analysis-variance-twophase-nonprob.R:9:1', 'test-analysis-variance.R:598:1', 'test-analysis-variance.R:608:1', 'test-analysis-variance.R:622:1', 'test-analysis-variance.R:634:1', 'test-analysis-variance.R:646:1', 'test-analysis-variance.R:657:1', 'test-analysis-variance.R:676:1', 'test-analysis-variance.R:691:1', 'test-analysis-variance.R:705:1', 'test-calibration.R:73:1', 'test-calibration.R:84:1', 'test-calibration.R:96:1', 'test-calibration.R:108:1', 'test-calibration.R:120:1', 'test-calibration.R:132:1', 'test-calibration.R:144:1', 'test-calibration.R:156:1', 'test-calibration.R:170:1', 'test-calibration.R:182:1', 'test-calibration.R:194:1', 'test-calibration.R:207:1', 'test-calibration.R:223:1', 'test-calibration.R:238:1', 'test-calibration.R:264:1', 'test-calibration.R:737:1', 'test-calibration.R:748:1', 'test-calibration.R:762:1', 'test-calibration.R:776:1', 'test-calibration.R:788:1', 'test-calibration.R:802:1', 'test-calibration.R:840:1', 'test-calibration.R:854:1', 'test-calibration.R:866:1', 'test-calibration.R:878:1', 'test-calibration.R:893:1', 'test-calibration.R:906:1', 'test-calibration.R:919:1', 'test-calibration.R:949:1', 'test-calibration.R:974:1', 'test-calibration.R:1002:1', 'test-collection-groups.R:352:1', 'test-collection-groups.R:362:1', 'test-collection-groups.R:375:1', 'test-collection-groups.R:411:1', 'test-collection-groups.R:549:1', 'test-collection-groups.R:556:1', 'test-constructors.R:145:1', 'test-constructors.R:161:1', 'test-constructors.R:171:1', 'test-constructors.R:189:1', 'test-constructors.R:199:1', 'test-constructors.R:259:1', 'test-constructors.R:272:1', 'test-constructors.R:302:1', 'test-constructors.R:329:1', 'test-constructors.R:347:1', 'test-constructors.R:361:1', 'test-constructors.R:730:1', 'test-constructors.R:752:1', 'test-constructors.R:827:1', 'test-constructors.R:850:1', 'test-constructors.R:1145:1', 'test-constructors.R:1159:1', 'test-constructors.R:1200:1', 'test-constructors.R:1211:1', 'test-constructors.R:1227:1', 'test-constructors.R:1243:1', 'test-constructors.R:1265:1', 'test-constructors.R:1613:1', 'test-constructors.R:1624:1', 'test-constructors.R:1636:1', 'test-constructors.R:1648:1', 'test-constructors.R:1660:1', 'test-constructors.R:1672:1', 'test-constructors.R:1738:1', 'test-constructors.R:1744:1', 'test-constructors.R:1750:1', 'test-constructors.R:1756:1', 'test-constructors.R:1762:1', 'test-constructors.R:1769:1', 'test-constructors.R:1917:1', 'test-constructors.R:2079:1', 'test-constructors.R:2091:1', 'test-constructors.R:2103:1', 'test-constructors.R:2115:1', 'test-constructors.R:2137:1', 'test-constructors.R:2159:1', 'test-constructors.R:2181:1', 'test-constructors.R:2193:1', 'test-constructors.R:2216:1', 'test-constructors.R:2289:1', 'test-constructors.R:2316:1', 'test-constructors.R:2343:1', 'test-constructors.R:2497:1', 'test-constructors.R:2524:1', 'test-constructors.R:2551:1', 'test-constructors.R:2648:1', 'test-constructors.R:2686:1', 'test-constructors.R:2710:1', 'test-constructors.R:2734:1', 'test-constructors.R:2757:1', 'test-constructors.R:2781:1', 'test-constructors.R:2891:1', 'test-constructors.R:2906:1', 'test-constructors.R:2921:1', 'test-constructors.R:2940:1', 'test-constructors.R:2959:1', 'test-constructors.R:2978:1', 'test-constructors.R:3009:1', 'test-constructors.R:3021:1', 'test-constructors.R:3035:1', 'test-constructors.R:3050:1', 'test-constructors.R:3067:1', 'test-effective-n.R:212:1', 'test-effective-n.R:220:1', 'test-effective-n.R:229:1', 'test-effective-n.R:444:1', 'test-effective-n.R:452:1', 'test-effective-n.R:460:1', 'test-effective-n.R:468:1', 'test-glm-anova-dispatch.R:270:1', 'test-glm-anova-dispatch.R:274:1', 'test-glm-anova-dispatch.R:280:1', 'test-glm-anova-dispatch.R:284:1', 'test-glm-anova-dispatch.R:289:1', 'test-glm-anova-dispatch.R:295:1', 'test-glm-anova-numerical.R:18:1', 'test-glm-anova.R:353:1', 'test-glm-anova.R:361:1', 'test-glm-anova.R:374:1', 'test-glm-anova.R:398:1', 'test-glm-anova.R:412:1', 'test-glm-anova.R:426:1', 'test-glm-anova.R:436:1', 'test-glm-anova.R:694:1', 'test-glm-anova.R:700:1', 'test-glm-anova.R:709:1', 'test-glm-anova.R:811:1', 'test-glm-anova.R:822:1', 'test-glm-anova.R:833:1', 'test-glm-anova.R:859:1', 'test-glm-anova.R:871:1', 'test-glm-anova.R:919:1', 'test-glm-marginaleffects.R:9:1', 'test-glm-methods.R:52:1', 'test-glm-methods.R:109:1', 'test-glm-methods.R:115:1', 'test-glm-methods.R:205:1', 'test-glm-methods.R:289:1', 'test-glm-methods.R:299:1', 'test-glm-methods.R:312:1', 'test-glm-methods.R:325:1', 'test-glm-methods.R:392:1', 'test-glm-methods.R:424:1', 'test-glm-methods.R:449:1', 'test-glm-methods.R:474:1', 'test-glm-methods.R:526:1', 'test-glm-methods.R:548:1', 'test-glm-methods.R:575:1', 'test-glm-methods.R:584:1', 'test-glm-methods.R:611:1', 'test-glm-methods.R:660:1', 'test-glm-methods.R:675:1', 'test-glm-numerical.R:14:1', 'test-glm.R:128:1', 'test-glm.R:177:1', 'test-glm.R:186:1', 'test-glm.R:196:1', 'test-glm.R:206:1', 'test-glm.R:219:1', 'test-glm.R:229:1', 'test-glm.R:239:1', 'test-glm.R:249:1', 'test-glm.R:261:1', 'test-glm.R:273:1', 'test-glm.R:309:1', 'test-glm.R:325:1', 'test-glm.R:1007:1', 'test-glm.R:1015:1', 'test-glm.R:1288:1', 'test-metadata-infer.R:408:1', 'test-metadata-system.R:187:1', 'test-metadata-system.R:709:1', 'test-metadata-system.R:713:1', 'test-metadata-system.R:721:1', 'test-metadata-system.R:726:1', 'test-metadata-system.R:734:1', 'test-metadata-system.R:739:1', 'test-metadata-system.R:744:1', 'test-metadata-system.R:749:1', 'test-metadata-system.R:925:1', 'test-metadata-system.R:930:1', 'test-metadata-system.R:935:1', 'test-metadata-system.R:939:1', 'test-metadata-system.R:944:1', 'test-metadata-system.R:952:1', 'test-metadata-system.R:960:1', 'test-metadata-system.R:965:1', 'test-metadata-system.R:1107:1', 'test-metadata-system.R:1114:1', 'test-metadata-system.R:1119:1', 'test-metadata-system.R:1127:1', 'test-metadata-system.R:1132:1', 'test-metadata-system.R:1140:1', 'test-metadata-system.R:1145:1', 'test-metadata-system.R:1278:1', 'test-metadata-system.R:1282:1', 'test-metadata-system.R:1290:1', 'test-metadata-system.R:1295:1', 'test-metadata-system.R:1303:1', 'test-metadata-system.R:1308:1', 'test-metadata-system.R:1313:1', 'test-metadata-system.R:1439:1', 'test-metadata-system.R:1443:1', 'test-metadata-system.R:1448:1', 'test-metadata-system.R:1456:1', 'test-metadata-system.R:1461:1', 'test-metadata-system.R:1469:1', 'test-metadata-system.R:1474:1', 'test-metadata-system.R:1623:1', 'test-metadata-system.R:1628:1', 'test-metadata-system.R:1635:1', 'test-metadata-system.R:1643:1', 'test-metadata-system.R:1648:1', 'test-metadata-system.R:1660:1', 'test-metadata-system.R:1665:1', 'test-metadata-system.R:1887:1', 'test-metadata-system.R:2040:1', 'test-metadata-system.R:2054:1', 'test-metadata-system.R:2068:1', 'test-metadata-system.R:2082:1', 'test-metadata-system.R:2202:1', 'test-metadata-system.R:2438:1', 'test-metadata-system.R:2442:1', 'test-metadata-system.R:2622:1', 'test-metadata-system.R:2630:1', 'test-metadata-system.R:2648:1', 'test-metadata-system.R:2663:1', 'test-metadata-system.R:2678:1', 'test-metadata-system.R:2858:1', 'test-metadata-system.R:2866:1', 'test-metadata-system.R:2881:1', 'test-metadata-system.R:2896:1', 'test-metadata-system.R:3079:1', 'test-metadata-system.R:3087:1', 'test-metadata-system.R:3095:1', 'test-metadata-system.R:3110:1', 'test-metadata-system.R:3128:1', 'test-metadata-system.R:3146:1', 'test-metadata-system.R:3164:1', 'test-metadata-system.R:3179:1', 'test-metadata-system.R:3356:1', 'test-metadata-system.R:3364:1', 'test-metadata-system.R:3372:1', 'test-metadata-system.R:3390:1', 'test-metadata-system.R:3408:1', 'test-metadata-system.R:3426:1', 'test-metadata-system.R:3441:1', 'test-metadata-system.R:3506:1', 'test-metadata-system.R:3517:1', 'test-methods-print.R:107:1', 'test-methods-print.R:118:1', 'test-methods-print.R:224:1', 'test-methods-print.R:235:1', 'test-methods-print.R:255:1', 'test-methods-print.R:266:1', 'test-methods-print.R:286:1', 'test-methods-print.R:331:1', 'test-methods-print.R:348:1', 'test-methods-print.R:375:1', 'test-methods-print.R:386:1', 'test-methods-print.R:398:1', 'test-methods-print.R:410:1', 'test-methods-print.R:421:1', 'test-methods-print.R:432:1', 'test-methods-print.R:447:1', 'test-methods-print.R:462:1', 'test-methods-print.R:652:1', 'test-methods-print.R:680:1', 'test-methods-print.R:702:1', 'test-methods-print.R:723:1', 'test-methods-print.R:736:1', 'test-methods-print.R:749:1', 'test-methods-print.R:756:1', 'test-methods-print.R:866:1', 'test-methods-print.R:878:1', 'test-methods-print.R:891:1', 'test-methods-print.R:904:1', 'test-methods-print.R:964:1', 'test-methods-print.R:976:1', 'test-methods-print.R:989:1', 'test-methods-print.R:1002:1', 'test-nonprob-bootstrap-variance.R:585:1', 'test-sata-detection.R:178:1', 'test-sata-detection.R:193:1', 'test-sata-detection.R:211:1', 'test-survey-collection-dispatch.R:319:1', 'test-survey-collection-dispatch.R:343:1', 'test-survey-collection-dispatch.R:366:1', 'test-survey-collection-dispatch.R:379:1', 'test-survey-collection-dispatch.R:389:1', 'test-survey-collection-dispatch.R:399:1', 'test-survey-collection-dispatch.R:424:1', 'test-survey-collection-dispatch.R:446:1', 'test-survey-collection-dispatch.R:559:1', 'test-survey-collection-dispatch.R:819:1', 'test-survey-collection.R:187:1', 'test-survey-collection.R:236:1', 'test-survey-collection.R:381:1', 'test-survey-collection.R:455:1', 'test-survey-collection.R:714:1', 'test-survey-collection.R:742:1', 'test-survey-collection.R:1008:1', 'test-survey-collection.R:1014:1', 'test-survey-collection.R:1025:1', 'test-update-design.R:284:1', 'test-utils.R:640:1', 'test-validators.R:354:1', 'test-validators.R:376:1', 'test-validators.R:398:1', 'test-variance-taylor.R:308:1', 'test-variance-twophase.R:5:1', 'test-variance-vendored-saddlepoint.R:9:1' • Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1): 'test-srr-compliance.R:294:3' • {MASS} is not installed (1): 'test-calibration.R:633:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-analysis-diffs-helpers.R:478:3'): .extract_me_estimates() with groups: result_groups is a data.frame ── Expected `nrow(result$result_groups)` to equal 4L. Differences: `actual`: 3 `expected`: 4 ── Failure ('test-analysis-diffs-helpers.R:668:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `nrow(out$groups_df)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs-helpers.R:669:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `length(out$col_vecs[["treats"]])` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs-helpers.R:858:3'): .build_diffs_output() p-value adjustment with groups: adjusts within each group ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:858:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1038:3'): .build_diffs_output() pct_change with show_means = FALSE + grouped ME + show_pct_change = TRUE: pct_change computed (not NA) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1038:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1334:3'): .build_diffs_output() grouped path with pct_change: group combo loop hits has_group branch ── Error in `if (grp_ok) { ref_mean_val <- all_rows[[ri]]$mean break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1334:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Failure ('test-analysis-diffs.R:471:3'): get_diffs() with group produces grouped output ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs.R:490:3'): get_diffs() with covariates and group ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs.R:562:3'): get_diffs() pval_adj with group adjusts within groups ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:562:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs.R:1026:3'): get_diffs() pct_change is non-NA with show_means = FALSE (grouped) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:1026:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [335s] 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(surveycore) > > test_check("surveycore") i Skipped 2 surveys missing the requested variable: "w1" and "w2". # A survey_diffs result # Design: Taylor series | Family: gaussian (identity) # DV: y | Treatment: arm (ref: Ctrl) # Method: coefficient / intercept # A <survey_diffs> [2 × 4] # A tibble: 2 x 4 arm estimate mean n <fct> <dbl> <dbl> <int> 1 Ctrl 0 0.5 100 2 T1 0.05 0.55 100 Saving _problems/test-analysis-diffs-helpers-478.R Saving _problems/test-analysis-diffs-helpers-668.R Saving _problems/test-analysis-diffs-helpers-669.R Saving _problems/test-analysis-diffs-helpers-876.R Saving _problems/test-analysis-diffs-helpers-1056.R Saving _problems/test-analysis-diffs-helpers-1352.R Saving _problems/test-analysis-diffs-471.R Saving _problems/test-analysis-diffs-490.R Saving _problems/test-analysis-diffs-569.R Saving _problems/test-analysis-diffs-1034.R # A survey_t_test result # Design: Taylor series | N: 400 # DV: outcome | By: grp2 (A vs. B) # A <tbl_df> [1 × 13] # A tibble: 1 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat df <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> <dbl> 1 A B 3.51 50.9 54.4 209 191 1.16 5.86 3.18 15 # i 2 more variables: p_value <dbl>, stars <chr> # A survey_pairwise result # Design: Taylor series | N: 400 # DV: outcome | By: grp3 (3 levels, 3 pairs) # Adjustment: holm # A <tbl_df> [3 × 13] # A tibble: 3 x 13 level_a level_b estimate mean_a mean_b n_a n_b ci_low ci_high t_stat <chr> <chr> <dbl> <dbl> <dbl> <int> <int> <dbl> <dbl> <dbl> 1 X Y -0.910 53.1 52.2 145 136 -3.59 1.77 -0.725 2 X Z -0.847 53.1 52.3 145 119 -3.77 2.08 -0.617 3 Y Z 0.0631 52.2 52.3 136 119 -2.78 2.91 0.0473 # i 3 more variables: df <dbl>, p_value <dbl>, stars <chr> i Skipped 2 surveys missing the requested variable: "w1" and "w2". -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability) [experimental] * Variance: SRS approximation (no bootstrap replicate weights) Sample size: 10 # A tibble: 10 x 2 y w <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design Summary ------------------------------------------------------- Type: non-probability [experimental] Sample size: 10 Weighted N: 10 -- Design -- Weights: w * Range: 1 – 1 * Mean: 1 * CV: 0 Calibration provenance: none stored Metadata: 0 of 2 variable(s) labeled Survey-weighted GLM Family: gaussian (identity link) Formula: y1 ~ y2 + y3 Design: Taylor series Coefficients: (Intercept) y2 y3 51.1868 -0.0624 -2.6042 Degrees of freedom: 16 (design-based) Survey-weighted GLM Call: survey_glm(design = .glm_taylor(), formula = y1 ~ y2 + y3) Deviance Residuals: Min 1Q Median 3Q Max -93.3797 -18.7253 -0.4633 22.9540 75.4878 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 51.1868 0.7268 70.4262 0.0000 *** y2 -0.0624 0.8308 -0.0752 0.9412 y3 -2.6042 1.4802 -1.7594 0.1003 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for gaussian family taken to be 986.9) Null deviance: 197426 on 199 degrees of freedom Residual deviance: 194412 on 197 degrees of freedom AIC: 1492 Design df: 16 (taylor) # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A # i 49 more rows # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 50 x 10 psu strata fpc wt y1 y2 y3 group prob ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> 1 psu_1 stratum~ 378 14.3 50.9 -0.122 1 A 0.0701 14.3 2 psu_1 stratum~ 378 21.8 20.1 0.188 0 B 0.0459 21.8 3 psu_1 stratum~ 378 14.4 52.8 0.119 1 B 0.0697 14.4 4 psu_2 stratum~ 378 18.9 46.3 -0.0251 0 A 0.0530 18.9 5 psu_2 stratum~ 378 23.0 51.9 0.108 0 B 0.0435 23.0 6 psu_2 stratum~ 378 11.0 55.8 -0.485 0 C 0.0908 11.0 7 psu_2 stratum~ 378 13.8 64.0 -0.504 0 A 0.0727 13.8 8 psu_2 stratum~ 378 14.2 42.7 -1.66 0 B 0.0706 14.2 9 psu_3 stratum~ 378 16.5 63.0 -0.382 1 C 0.0606 16.5 10 psu_3 stratum~ 378 13.7 53.4 -0.513 1 A 0.0728 13.7 # i 40 more rows # A tibble: 30 x 9 psu strata fpc wt y1 y2 y3 group ..surveycore_wt.. <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <int> 1 psu_1 stratum_1 218 14.3 41.5 1.04 1 B 1 2 psu_1 stratum_1 218 21.8 25.9 0.921 1 B 1 3 psu_2 stratum_1 218 14.4 50.4 0.721 0 B 1 4 psu_2 stratum_1 218 18.9 52.1 -1.04 1 A 1 5 psu_2 stratum_1 218 23.0 46.4 -0.0902 0 A 1 6 psu_3 stratum_1 218 11.0 57.6 0.624 0 C 1 7 psu_3 stratum_1 218 13.7 42.7 -0.954 0 B 1 8 psu_4 stratum_1 218 14.2 36.3 -0.543 0 B 1 9 psu_4 stratum_1 218 16.5 54.3 0.581 0 C 1 10 psu_4 stratum_1 218 13.7 41.9 0.768 0 C 1 # i 20 more rows # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 # i 49 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 # i 59 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 13 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 2 more variables: repwt_4 <dbl>, repwt_5 <dbl> # A tibble: 50 x 14 psu strata fpc wt y1 y2 y3 group repwt_1 repwt_2 repwt_3 <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <dbl> <dbl> <dbl> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 14.4 13.2 13.3 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 19.0 22.6 20.3 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 11.6 12.6 15.2 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 17.5 19.0 19.0 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 22.9 21.2 24.3 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 12.7 13.1 9.77 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 15.3 12.5 15.1 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 14.0 15.2 14.9 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 18.0 15.3 15.9 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A 11.8 13.1 15.8 # i 40 more rows # i 3 more variables: repwt_4 <dbl>, repwt_5 <dbl>, fpc_rep <int> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 60 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 451 14.3 60.4 -2.02 0 B TRUE 0.0687 2 psu_1 stratum_1 451 21.8 59.2 -1.22 0 B FALSE 0.0687 3 psu_1 stratum_1 451 14.4 57.2 0.180 1 B FALSE 0.0687 4 psu_1 stratum_1 451 18.9 39.6 0.568 1 C TRUE 0.0687 5 psu_2 stratum_1 451 23.0 49.1 -0.493 1 A FALSE 0.0687 6 psu_2 stratum_1 451 11.0 56.2 0.0000629 0 C TRUE 0.0687 7 psu_2 stratum_1 451 13.8 40.5 1.12 0 A TRUE 0.0687 8 psu_2 stratum_1 451 14.2 44.6 1.44 0 C FALSE 0.0687 9 psu_2 stratum_1 451 16.5 55.8 -1.10 0 A TRUE 0.0687 10 psu_2 stratum_1 451 13.7 57.7 -0.117 1 B TRUE 0.0687 # i 50 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 30 x 2 y w <dbl> <dbl> 1 0.828 2.00 2 0.0757 1.11 3 0.126 1.85 4 2.27 1.22 5 -0.838 1.30 6 -0.469 1.48 7 0.0155 1.20 8 0.961 1.41 9 -0.281 0.965 10 0.0697 1.51 # i 20 more rows # A tibble: 100 x 11 psu strata fpc wt y1 y2 y3 group subset phase1_prob <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> <lgl> <dbl> 1 psu_1 stratum_1 538 11.6 50.9 -1.43 0 C FALSE 0.0967 2 psu_1 stratum_1 538 12.0 46.7 -0.718 0 C FALSE 0.0967 3 psu_1 stratum_1 538 12.1 42.0 0.205 1 A TRUE 0.0967 4 psu_1 stratum_1 538 11.6 30.8 -1.90 0 A FALSE 0.0967 5 psu_1 stratum_1 538 9.12 53.7 -0.449 0 A FALSE 0.0967 6 psu_1 stratum_1 538 10.3 56.6 0.523 0 B TRUE 0.0967 7 psu_1 stratum_1 538 9.43 69.5 -0.123 0 C FALSE 0.0967 8 psu_1 stratum_1 538 10.7 55.8 -1.11 1 B TRUE 0.0967 9 psu_1 stratum_1 538 10.5 39.5 -0.774 1 C FALSE 0.0967 10 psu_1 stratum_1 538 10.1 39.8 0.615 0 C FALSE 0.0967 # i 90 more rows # i 1 more variable: phase2_prob <dbl> # A tibble: 50 x 8 psu strata fpc wt y1 y2 y3 group <chr> <chr> <dbl> <dbl> <dbl> <dbl> <int> <chr> 1 psu_1 stratum_1 378 14.3 50.9 -0.122 1 A 2 psu_1 stratum_1 378 21.8 20.1 0.188 0 B 3 psu_1 stratum_1 378 14.4 52.8 0.119 1 B 4 psu_2 stratum_1 378 18.9 46.3 -0.0251 0 A 5 psu_2 stratum_1 378 23.0 51.9 0.108 0 B 6 psu_2 stratum_1 378 11.0 55.8 -0.485 0 C 7 psu_2 stratum_1 378 13.8 64.0 -0.504 0 A 8 psu_2 stratum_1 378 14.2 42.7 -1.66 0 B 9 psu_3 stratum_1 378 16.5 63.0 -0.382 1 C 10 psu_3 stratum_1 378 13.7 53.4 -0.513 1 A # i 40 more rows # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 # A tibble: 10 x 2 y wt <int> <dbl> 1 1 1 2 2 1 3 3 1 4 4 1 5 5 1 6 6 1 7 7 1 8 8 1 9 9 1 10 10 1 -- Survey Design --------------------------------------------------------------- <survey_nonprob> (non-probability, JK1, 4 replicates) [experimental] Sample size: 10 # A tibble: 10 x 6 y wt r1 r2 r3 r4 <int> <dbl> <dbl> <dbl> <dbl> <dbl> 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 3 1 1 1 1 1 4 4 1 1 1 1 1 5 5 1 1 1 1 1 6 6 1 1 1 1 1 7 7 1 1 1 1 1 8 8 1 1 1 1 1 9 9 1 1 1 1 1 10 10 1 1 1 1 1 i Skipped 2 surveys missing the requested variable: "w1" and "w2". i Skipped 1 survey missing the requested variable: "only". [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] ══ Skipped tests (426) ═════════════════════════════════════════════════════════ • A-13 trigger requires careful numerical construction; tracked for follow-up PR (1): 'test-glm-anova.R:531:3' • A-20 requires a hand-built fit whose @design@data domain column differs from the refit's; deferred to follow-up PR (1): 'test-glm-anova.R:481:3' • On CRAN (422): 'test-analysis-corr-latent-primitives.R:74:1', 'test-analysis-corr-latent-primitives.R:97:1', 'test-analysis-corr-latent-primitives.R:152:1', 'test-analysis-corr-latent-primitives.R:348:1', 'test-analysis-corr-latent-primitives.R:482:1', 'test-analysis-corr-latent-primitives.R:741:1', 'test-analysis-corr-latent-variance.R:14:1', 'test-analysis-corr-latent.R:20:1', 'test-analysis-corr.R:809:1', 'test-analysis-corr.R:817:1', 'test-analysis-corr.R:1231:1', 'test-analysis-corr.R:1646:1', 'test-analysis-corr.R:1664:1', 'test-analysis-covariance.R:690:1', 'test-analysis-covariance.R:699:1', 'test-analysis-covariance.R:712:1', 'test-analysis-covariance.R:734:1', 'test-analysis-covariance.R:747:1', 'test-analysis-covariance.R:768:1', 'test-analysis-covariance.R:785:1', 'test-analysis-covariance.R:798:1', 'test-analysis-covariance.R:819:1', 'test-analysis-covariance.R:851:1', 'test-analysis-covariance.R:884:1', 'test-analysis-covariance.R:924:1', 'test-analysis-covariance.R:1131:1', 'test-analysis-covariance.R:1154:1', 'test-analysis-covariance.R:1176:1', 'test-analysis-diffs-helpers.R:147:1', 'test-analysis-diffs-helpers.R:388:1', 'test-analysis-diffs-marginaleffects.R:6:1', 'test-analysis-diffs-numerical.R:6:1', 'test-analysis-diffs.R:30:1', 'test-analysis-diffs.R:39:1', 'test-analysis-diffs.R:48:1', 'test-analysis-diffs.R:57:1', 'test-analysis-diffs.R:66:1', 'test-analysis-diffs.R:77:1', 'test-analysis-diffs.R:89:1', 'test-analysis-diffs.R:101:1', 'test-analysis-diffs.R:435:1', 'test-analysis-diffs.R:765:1', 'test-analysis-diffs.R:774:1', 'test-analysis-diffs.R:783:1', 'test-analysis-diffs.R:792:1', 'test-analysis-diffs.R:801:1', 'test-analysis-diffs.R:810:1', 'test-analysis-freqs.R:578:1', 'test-analysis-freqs.R:589:1', 'test-analysis-freqs.R:610:1', 'test-analysis-freqs.R:631:1', 'test-analysis-freqs.R:652:1', 'test-analysis-freqs.R:1255:1', 'test-analysis-freqs.R:1499:1', 'test-analysis-helpers.R:59:1', 'test-analysis-helpers.R:77:1', 'test-analysis-helpers.R:110:1', 'test-analysis-helpers.R:398:1', 'test-analysis-helpers.R:754:1', 'test-analysis-helpers.R:1113:1', 'test-analysis-helpers.R:1153:1', 'test-analysis-helpers.R:1462:1', 'test-analysis-means.R:320:1', 'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1', 'test-analysis-quantiles.R:716:1', 'test-analysis-quantiles.R:724:1', 'test-analysis-quantiles.R:759:1', 'test-analysis-quantiles.R:771:1', 'test-analysis-quantiles.R:1095:1', 'test-analysis-ratios.R:578:1', 'test-analysis-ratios.R:588:1', 'test-analysis-ratios.R:598:1', 'test-analysis-ratios.R:608:1', 'test-analysis-ratios.R:1040:1', 'test-analysis-t-test-numerical.R:6:1', 'test-analysis-t-test.R:285:1', 'test-analysis-t-test.R:310:1', 'test-analysis-t-test.R:319:1', 'test-analysis-t-test.R:328:1', 'test-analysis-t-test.R:340:1', 'test-analysis-t-test.R:352:1', 'test-analysis-t-test.R:364:1', 'test-analysis-t-test.R:377:1', 'test-analysis-t-test.R:393:1', 'test-analysis-t-test.R:402:1', 'test-analysis-t-test.R:414:1', 'test-analysis-t-test.R:426:1', 'test-analysis-t-test.R:754:1', 'test-analysis-t-test.R:820:1', 'test-analysis-t-test.R:831:1', 'test-analysis-totals.R:301:1', 'test-analysis-totals.R:320:1', 'test-analysis-totals.R:624:1', 'test-analysis-variance-collection.R:122:1', 'test-analysis-variance-collection.R:146:1', 'test-analysis-variance-collection.R:169:1', 'test-analysis-variance-collection.R:182:1', 'test-analysis-variance-twophase-nonprob.R:9:1', 'test-analysis-variance.R:598:1', 'test-analysis-variance.R:608:1', 'test-analysis-variance.R:622:1', 'test-analysis-variance.R:634:1', 'test-analysis-variance.R:646:1', 'test-analysis-variance.R:657:1', 'test-analysis-variance.R:676:1', 'test-analysis-variance.R:691:1', 'test-analysis-variance.R:705:1', 'test-calibration.R:73:1', 'test-calibration.R:84:1', 'test-calibration.R:96:1', 'test-calibration.R:108:1', 'test-calibration.R:120:1', 'test-calibration.R:132:1', 'test-calibration.R:144:1', 'test-calibration.R:156:1', 'test-calibration.R:170:1', 'test-calibration.R:182:1', 'test-calibration.R:194:1', 'test-calibration.R:207:1', 'test-calibration.R:223:1', 'test-calibration.R:238:1', 'test-calibration.R:264:1', 'test-calibration.R:737:1', 'test-calibration.R:748:1', 'test-calibration.R:762:1', 'test-calibration.R:776:1', 'test-calibration.R:788:1', 'test-calibration.R:802:1', 'test-calibration.R:840:1', 'test-calibration.R:854:1', 'test-calibration.R:866:1', 'test-calibration.R:878:1', 'test-calibration.R:893:1', 'test-calibration.R:906:1', 'test-calibration.R:919:1', 'test-calibration.R:949:1', 'test-calibration.R:974:1', 'test-calibration.R:1002:1', 'test-collection-groups.R:352:1', 'test-collection-groups.R:362:1', 'test-collection-groups.R:375:1', 'test-collection-groups.R:411:1', 'test-collection-groups.R:549:1', 'test-collection-groups.R:556:1', 'test-constructors.R:145:1', 'test-constructors.R:161:1', 'test-constructors.R:171:1', 'test-constructors.R:189:1', 'test-constructors.R:199:1', 'test-constructors.R:259:1', 'test-constructors.R:272:1', 'test-constructors.R:302:1', 'test-constructors.R:329:1', 'test-constructors.R:347:1', 'test-constructors.R:361:1', 'test-constructors.R:730:1', 'test-constructors.R:752:1', 'test-constructors.R:827:1', 'test-constructors.R:850:1', 'test-constructors.R:1145:1', 'test-constructors.R:1159:1', 'test-constructors.R:1200:1', 'test-constructors.R:1211:1', 'test-constructors.R:1227:1', 'test-constructors.R:1243:1', 'test-constructors.R:1265:1', 'test-constructors.R:1613:1', 'test-constructors.R:1624:1', 'test-constructors.R:1636:1', 'test-constructors.R:1648:1', 'test-constructors.R:1660:1', 'test-constructors.R:1672:1', 'test-constructors.R:1738:1', 'test-constructors.R:1744:1', 'test-constructors.R:1750:1', 'test-constructors.R:1756:1', 'test-constructors.R:1762:1', 'test-constructors.R:1769:1', 'test-constructors.R:1917:1', 'test-constructors.R:2079:1', 'test-constructors.R:2091:1', 'test-constructors.R:2103:1', 'test-constructors.R:2115:1', 'test-constructors.R:2137:1', 'test-constructors.R:2159:1', 'test-constructors.R:2181:1', 'test-constructors.R:2193:1', 'test-constructors.R:2216:1', 'test-constructors.R:2289:1', 'test-constructors.R:2316:1', 'test-constructors.R:2343:1', 'test-constructors.R:2497:1', 'test-constructors.R:2524:1', 'test-constructors.R:2551:1', 'test-constructors.R:2648:1', 'test-constructors.R:2686:1', 'test-constructors.R:2710:1', 'test-constructors.R:2734:1', 'test-constructors.R:2757:1', 'test-constructors.R:2781:1', 'test-constructors.R:2891:1', 'test-constructors.R:2906:1', 'test-constructors.R:2921:1', 'test-constructors.R:2940:1', 'test-constructors.R:2959:1', 'test-constructors.R:2978:1', 'test-constructors.R:3009:1', 'test-constructors.R:3021:1', 'test-constructors.R:3035:1', 'test-constructors.R:3050:1', 'test-constructors.R:3067:1', 'test-effective-n.R:212:1', 'test-effective-n.R:220:1', 'test-effective-n.R:229:1', 'test-effective-n.R:444:1', 'test-effective-n.R:452:1', 'test-effective-n.R:460:1', 'test-effective-n.R:468:1', 'test-glm-anova-dispatch.R:270:1', 'test-glm-anova-dispatch.R:274:1', 'test-glm-anova-dispatch.R:280:1', 'test-glm-anova-dispatch.R:284:1', 'test-glm-anova-dispatch.R:289:1', 'test-glm-anova-dispatch.R:295:1', 'test-glm-anova-numerical.R:18:1', 'test-glm-anova.R:353:1', 'test-glm-anova.R:361:1', 'test-glm-anova.R:374:1', 'test-glm-anova.R:398:1', 'test-glm-anova.R:412:1', 'test-glm-anova.R:426:1', 'test-glm-anova.R:436:1', 'test-glm-anova.R:694:1', 'test-glm-anova.R:700:1', 'test-glm-anova.R:709:1', 'test-glm-anova.R:811:1', 'test-glm-anova.R:822:1', 'test-glm-anova.R:833:1', 'test-glm-anova.R:859:1', 'test-glm-anova.R:871:1', 'test-glm-anova.R:919:1', 'test-glm-marginaleffects.R:9:1', 'test-glm-methods.R:52:1', 'test-glm-methods.R:109:1', 'test-glm-methods.R:115:1', 'test-glm-methods.R:205:1', 'test-glm-methods.R:289:1', 'test-glm-methods.R:299:1', 'test-glm-methods.R:312:1', 'test-glm-methods.R:325:1', 'test-glm-methods.R:392:1', 'test-glm-methods.R:424:1', 'test-glm-methods.R:449:1', 'test-glm-methods.R:474:1', 'test-glm-methods.R:526:1', 'test-glm-methods.R:548:1', 'test-glm-methods.R:575:1', 'test-glm-methods.R:584:1', 'test-glm-methods.R:611:1', 'test-glm-methods.R:660:1', 'test-glm-methods.R:675:1', 'test-glm-numerical.R:14:1', 'test-glm.R:128:1', 'test-glm.R:177:1', 'test-glm.R:186:1', 'test-glm.R:196:1', 'test-glm.R:206:1', 'test-glm.R:219:1', 'test-glm.R:229:1', 'test-glm.R:239:1', 'test-glm.R:249:1', 'test-glm.R:261:1', 'test-glm.R:273:1', 'test-glm.R:309:1', 'test-glm.R:325:1', 'test-glm.R:1007:1', 'test-glm.R:1015:1', 'test-glm.R:1288:1', 'test-metadata-infer.R:408:1', 'test-metadata-system.R:187:1', 'test-metadata-system.R:709:1', 'test-metadata-system.R:713:1', 'test-metadata-system.R:721:1', 'test-metadata-system.R:726:1', 'test-metadata-system.R:734:1', 'test-metadata-system.R:739:1', 'test-metadata-system.R:744:1', 'test-metadata-system.R:749:1', 'test-metadata-system.R:925:1', 'test-metadata-system.R:930:1', 'test-metadata-system.R:935:1', 'test-metadata-system.R:939:1', 'test-metadata-system.R:944:1', 'test-metadata-system.R:952:1', 'test-metadata-system.R:960:1', 'test-metadata-system.R:965:1', 'test-metadata-system.R:1107:1', 'test-metadata-system.R:1114:1', 'test-metadata-system.R:1119:1', 'test-metadata-system.R:1127:1', 'test-metadata-system.R:1132:1', 'test-metadata-system.R:1140:1', 'test-metadata-system.R:1145:1', 'test-metadata-system.R:1278:1', 'test-metadata-system.R:1282:1', 'test-metadata-system.R:1290:1', 'test-metadata-system.R:1295:1', 'test-metadata-system.R:1303:1', 'test-metadata-system.R:1308:1', 'test-metadata-system.R:1313:1', 'test-metadata-system.R:1439:1', 'test-metadata-system.R:1443:1', 'test-metadata-system.R:1448:1', 'test-metadata-system.R:1456:1', 'test-metadata-system.R:1461:1', 'test-metadata-system.R:1469:1', 'test-metadata-system.R:1474:1', 'test-metadata-system.R:1623:1', 'test-metadata-system.R:1628:1', 'test-metadata-system.R:1635:1', 'test-metadata-system.R:1643:1', 'test-metadata-system.R:1648:1', 'test-metadata-system.R:1660:1', 'test-metadata-system.R:1665:1', 'test-metadata-system.R:1887:1', 'test-metadata-system.R:2040:1', 'test-metadata-system.R:2054:1', 'test-metadata-system.R:2068:1', 'test-metadata-system.R:2082:1', 'test-metadata-system.R:2202:1', 'test-metadata-system.R:2438:1', 'test-metadata-system.R:2442:1', 'test-metadata-system.R:2622:1', 'test-metadata-system.R:2630:1', 'test-metadata-system.R:2648:1', 'test-metadata-system.R:2663:1', 'test-metadata-system.R:2678:1', 'test-metadata-system.R:2858:1', 'test-metadata-system.R:2866:1', 'test-metadata-system.R:2881:1', 'test-metadata-system.R:2896:1', 'test-metadata-system.R:3079:1', 'test-metadata-system.R:3087:1', 'test-metadata-system.R:3095:1', 'test-metadata-system.R:3110:1', 'test-metadata-system.R:3128:1', 'test-metadata-system.R:3146:1', 'test-metadata-system.R:3164:1', 'test-metadata-system.R:3179:1', 'test-metadata-system.R:3356:1', 'test-metadata-system.R:3364:1', 'test-metadata-system.R:3372:1', 'test-metadata-system.R:3390:1', 'test-metadata-system.R:3408:1', 'test-metadata-system.R:3426:1', 'test-metadata-system.R:3441:1', 'test-metadata-system.R:3506:1', 'test-metadata-system.R:3517:1', 'test-methods-print.R:107:1', 'test-methods-print.R:118:1', 'test-methods-print.R:224:1', 'test-methods-print.R:235:1', 'test-methods-print.R:255:1', 'test-methods-print.R:266:1', 'test-methods-print.R:286:1', 'test-methods-print.R:331:1', 'test-methods-print.R:348:1', 'test-methods-print.R:375:1', 'test-methods-print.R:386:1', 'test-methods-print.R:398:1', 'test-methods-print.R:410:1', 'test-methods-print.R:421:1', 'test-methods-print.R:432:1', 'test-methods-print.R:447:1', 'test-methods-print.R:462:1', 'test-methods-print.R:652:1', 'test-methods-print.R:680:1', 'test-methods-print.R:702:1', 'test-methods-print.R:723:1', 'test-methods-print.R:736:1', 'test-methods-print.R:749:1', 'test-methods-print.R:756:1', 'test-methods-print.R:866:1', 'test-methods-print.R:878:1', 'test-methods-print.R:891:1', 'test-methods-print.R:904:1', 'test-methods-print.R:964:1', 'test-methods-print.R:976:1', 'test-methods-print.R:989:1', 'test-methods-print.R:1002:1', 'test-nonprob-bootstrap-variance.R:585:1', 'test-sata-detection.R:178:1', 'test-sata-detection.R:193:1', 'test-sata-detection.R:211:1', 'test-survey-collection-dispatch.R:319:1', 'test-survey-collection-dispatch.R:343:1', 'test-survey-collection-dispatch.R:366:1', 'test-survey-collection-dispatch.R:379:1', 'test-survey-collection-dispatch.R:389:1', 'test-survey-collection-dispatch.R:399:1', 'test-survey-collection-dispatch.R:424:1', 'test-survey-collection-dispatch.R:446:1', 'test-survey-collection-dispatch.R:559:1', 'test-survey-collection-dispatch.R:819:1', 'test-survey-collection.R:187:1', 'test-survey-collection.R:236:1', 'test-survey-collection.R:381:1', 'test-survey-collection.R:455:1', 'test-survey-collection.R:714:1', 'test-survey-collection.R:742:1', 'test-survey-collection.R:1008:1', 'test-survey-collection.R:1014:1', 'test-survey-collection.R:1025:1', 'test-update-design.R:284:1', 'test-utils.R:640:1', 'test-validators.R:354:1', 'test-validators.R:376:1', 'test-validators.R:398:1', 'test-variance-taylor.R:308:1', 'test-variance-twophase.R:5:1', 'test-variance-vendored-saddlepoint.R:9:1' • Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1): 'test-srr-compliance.R:294:3' • {MASS} is not installed (1): 'test-calibration.R:633:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-analysis-diffs-helpers.R:478:3'): .extract_me_estimates() with groups: result_groups is a data.frame ── Expected `nrow(result$result_groups)` to equal 4L. Differences: `actual`: 3 `expected`: 4 ── Failure ('test-analysis-diffs-helpers.R:668:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `nrow(out$groups_df)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs-helpers.R:669:3'): .build_diffs_output() grouped path: groups_df has correct columns and row count ── Expected `length(out$col_vecs[["treats"]])` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs-helpers.R:858:3'): .build_diffs_output() p-value adjustment with groups: adjusts within each group ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:858:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1038:3'): .build_diffs_output() pct_change with show_means = FALSE + grouped ME + show_pct_change = TRUE: pct_change computed (not NA) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1038:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs-helpers.R:1334:3'): .build_diffs_output() grouped path with pct_change: group combo loop hits has_group branch ── Error in `if (grp_ok) { ref_mean_val <- all_rows[[ri]]$mean break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs-helpers.R:1334:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore:::.build_diffs_output(...) ── Failure ('test-analysis-diffs.R:471:3'): get_diffs() with group produces grouped output ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Failure ('test-analysis-diffs.R:490:3'): get_diffs() with covariates and group ── Expected `nrow(result)` to equal 6L. Differences: `actual`: 5 `expected`: 6 ── Error ('test-analysis-diffs.R:562:3'): get_diffs() pval_adj with group adjusts within groups ── Error in `if (grp_match) { comp_idx <- c(comp_idx, ri) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:562:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) ── Error ('test-analysis-diffs.R:1026:3'): get_diffs() pct_change is non-NA with show_means = FALSE (grouped) ── Error in `if (match_g) { combo_idx <- gi break }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-analysis-diffs.R:1026:3 2. │ └─base::withCallingHandlers(...) 3. └─surveycore::get_diffs(...) 4. └─surveycore:::.build_diffs_output(...) [ FAIL 10 | WARN 335 | SKIP 426 | PASS 11128 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.