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.
Last updated on 2026-11-24 11:51:46 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.2.0 | 27.59 | 624.31 | 651.90 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.2.0 | 20.17 | 420.26 | 440.43 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.2.0 | 25.00 | 413.65 | 438.65 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.2.0 | 22.00 | 391.69 | 413.69 | ERROR | |
| r-devel-windows-x86_64 | 1.2.0 | 37.00 | 614.00 | 651.00 | OK | |
| r-patched-linux-x86_64 | 1.2.0 | 35.24 | 582.46 | 617.70 | OK | |
| r-release-linux-x86_64 | 1.2.0 | 29.99 | 594.45 | 624.44 | ERROR | |
| r-release-macos-arm64 | 1.2.0 | 9.00 | 139.00 | 148.00 | OK | |
| r-release-macos-x86_64 | 1.2.0 | 25.00 | 736.00 | 761.00 | OK | |
| r-release-windows-x86_64 | 1.2.0 | 37.00 | 614.00 | 651.00 | ERROR | |
| r-oldrel-macos-arm64 | 1.2.0 | 10.00 | 165.00 | 175.00 | OK | |
| r-oldrel-macos-x86_64 | 1.2.0 | 24.00 | 578.00 | 602.00 | OK | |
| r-oldrel-windows-x86_64 | 1.2.0 | 51.00 | 822.00 | 873.00 | ERROR |
Version: 1.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [417s/492s]
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
# 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".
Saving _problems/test-constructors-78.R
Saving _problems/test-constructors-79.R
Saving _problems/test-constructors-544.R
Saving _problems/test-constructors-545.R
Saving _problems/test-constructors-3818.R
Saving _problems/test-constructors-3819.R
-- 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
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-2436.R
Saving _problems/test-dataset-metadata-2437.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2459.R
Saving _problems/test-dataset-metadata-2472.R
Saving _problems/test-dataset-metadata-2489.R
Saving _problems/test-dataset-metadata-3529.R
Saving _problems/test-dataset-metadata-3533.R
Saving _problems/test-dataset-metadata-3537.R
Saving _problems/test-dataset-metadata-3541.R
Saving _problems/test-dataset-metadata-3545.R
Saving _problems/test-dataset-metadata-3554.R
Saving _problems/test-dataset-metadata-3555.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3579.R
Saving _problems/test-dataset-metadata-3594.R
Saving _problems/test-dataset-metadata-3627.R
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
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)
Saving _problems/test-glm-methods-602.R
x is ignored when method = 'kish'
x is ignored when method = 'kish'
# 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 42 | WARN 340 | SKIP 621 | PASS 12317 ]
══ Skipped tests (621) ═════════════════════════════════════════════════════════
• 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 (583): '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:378:1',
'test-analysis-corr-latent-primitives.R:512:1',
'test-analysis-corr-latent-primitives.R:803: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:1645:1', 'test-analysis-corr.R:1662:1',
'test-analysis-covariance.R:696:1', 'test-analysis-covariance.R:705:1',
'test-analysis-covariance.R:718:1', 'test-analysis-covariance.R:740:1',
'test-analysis-covariance.R:753:1', 'test-analysis-covariance.R:774:1',
'test-analysis-covariance.R:791:1', 'test-analysis-covariance.R:804:1',
'test-analysis-covariance.R:825:1', 'test-analysis-covariance.R:857:1',
'test-analysis-covariance.R:890:1', 'test-analysis-covariance.R:930:1',
'test-analysis-covariance.R:1135:1', 'test-analysis-covariance.R:1158:1',
'test-analysis-covariance.R:1180: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:590:1', 'test-analysis-freqs.R:601:1',
'test-analysis-freqs.R:622:1', 'test-analysis-freqs.R:643:1',
'test-analysis-freqs.R:664:1', 'test-analysis-freqs.R:1335:1',
'test-analysis-freqs.R:1579: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:877:1',
'test-analysis-helpers.R:1236:1', 'test-analysis-helpers.R:1276:1',
'test-analysis-helpers.R:1587:1', 'test-analysis-means.R:320:1',
'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1',
'test-analysis-methods-coef-vcov.R:261:1',
'test-analysis-methods-coef-vcov.R:270:1',
'test-analysis-methods-coef-vcov.R:279:1',
'test-analysis-methods-coef-vcov.R:288:1',
'test-analysis-methods-coef-vcov.R:297:1',
'test-analysis-methods-coef-vcov.R:306:1',
'test-analysis-methods-coef-vcov.R:334:1',
'test-analysis-methods-coef-vcov.R:343:1',
'test-analysis-methods-coef-vcov.R:352:1',
'test-analysis-methods-coef-vcov.R:361:1',
'test-analysis-methods-coef-vcov.R:373:1',
'test-analysis-methods-coef-vcov.R:386:1',
'test-analysis-methods-coef-vcov.R:410:1',
'test-analysis-methods-coef-vcov.R:421:1',
'test-analysis-methods-coef-vcov.R:433:1',
'test-analysis-methods-coef-vcov.R:778:1',
'test-analysis-methods-coef-vcov.R:813:1',
'test-analysis-methods-coef-vcov.R:1124:1',
'test-analysis-quantiles.R:866:1', 'test-analysis-quantiles.R:874:1',
'test-analysis-quantiles.R:909:1', 'test-analysis-quantiles.R:921:1',
'test-analysis-quantiles.R:1244: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-totals.R:1337: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:577:1', 'test-analysis-variance.R:587:1',
'test-analysis-variance.R:601:1', 'test-analysis-variance.R:613:1',
'test-analysis-variance.R:625:1', 'test-analysis-variance.R:636:1',
'test-analysis-variance.R:655:1', 'test-analysis-variance.R:670:1',
'test-analysis-variance.R:684: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:759:1', 'test-calibration.R:770:1',
'test-calibration.R:784:1', 'test-calibration.R:798:1',
'test-calibration.R:810:1', 'test-calibration.R:824:1',
'test-calibration.R:862:1', 'test-calibration.R:876:1',
'test-calibration.R:888:1', 'test-calibration.R:900:1',
'test-calibration.R:915:1', 'test-calibration.R:928:1',
'test-calibration.R:941:1', 'test-calibration.R:970:1',
'test-calibration.R:995:1', 'test-calibration.R:1023: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:136:1', 'test-constructors.R:152:1',
'test-constructors.R:162:1', 'test-constructors.R:180:1',
'test-constructors.R:190:1', 'test-constructors.R:249:1',
'test-constructors.R:262:1', 'test-constructors.R:292:1',
'test-constructors.R:305:1', 'test-constructors.R:332:1',
'test-constructors.R:350:1', 'test-constructors.R:364:1',
'test-constructors.R:857:1', 'test-constructors.R:1113:1',
'test-constructors.R:1142:1', 'test-constructors.R:1214:1',
'test-constructors.R:1305:1', 'test-constructors.R:1762:1',
'test-constructors.R:2038:1', 'test-constructors.R:2060:1',
'test-constructors.R:2216:1', 'test-constructors.R:2664:1',
'test-constructors.R:2690:1', 'test-constructors.R:2776:1',
'test-constructors.R:3136:1', 'test-constructors.R:3166:1',
'test-constructors.R:3192:1', 'test-constructors.R:3216:1',
'test-constructors.R:3245:1', 'test-constructors.R:3273:1',
'test-constructors.R:3302:1', 'test-constructors.R:3330:1',
'test-constructors.R:3358:1', 'test-constructors.R:3418:1',
'test-constructors.R:3440:1', 'test-constructors.R:3506:1',
'test-constructors.R:3521:1', 'test-constructors.R:3534:1',
'test-constructors.R:3557:1', 'test-constructors.R:3879:1',
'test-constructors.R:4014:1', 'test-constructors.R:4038:1',
'test-constructors.R:4161:1', 'test-constructors.R:4172:1',
'test-constructors.R:4188:1', 'test-constructors.R:4204:1',
'test-constructors.R:4226:1', 'test-constructors.R:4287:1',
'test-constructors.R:4577:1', 'test-constructors.R:4588:1',
'test-constructors.R:4600:1', 'test-constructors.R:4612:1',
'test-constructors.R:4624:1', 'test-constructors.R:4636:1',
'test-constructors.R:4702:1', 'test-constructors.R:4708:1',
'test-constructors.R:4714:1', 'test-constructors.R:4720:1',
'test-constructors.R:4726:1', 'test-constructors.R:4733:1',
'test-constructors.R:4881:1', 'test-constructors.R:5037:1',
'test-constructors.R:5049:1', 'test-constructors.R:5061:1',
'test-constructors.R:5073:1', 'test-constructors.R:5095:1',
'test-constructors.R:5117:1', 'test-constructors.R:5139:1',
'test-constructors.R:5151:1', 'test-constructors.R:5174:1',
'test-constructors.R:5247:1', 'test-constructors.R:5274:1',
'test-constructors.R:5301:1', 'test-constructors.R:5448:1',
'test-constructors.R:5475:1', 'test-constructors.R:5502:1',
'test-constructors.R:5593:1', 'test-constructors.R:5631:1',
'test-constructors.R:5655:1', 'test-constructors.R:5679:1',
'test-constructors.R:5702:1', 'test-constructors.R:5809:1',
'test-constructors.R:5824:1', 'test-constructors.R:5839:1',
'test-constructors.R:5858:1', 'test-constructors.R:5877:1',
'test-constructors.R:5896:1', 'test-constructors.R:5927:1',
'test-constructors.R:5939:1', 'test-constructors.R:5953:1',
'test-constructors.R:5968:1', 'test-constructors.R:5985:1',
'test-constructors.R:6238:1', 'test-constructors.R:6249:1',
'test-constructors.R:6260:1', 'test-constructors.R:6271:1',
'test-constructors.R:6347:1', 'test-constructors.R:6362:1',
'test-constructors.R:6401:1', 'test-constructors.R:6412:1',
'test-constructors.R:6425:1', 'test-constructors.R:6623:1',
'test-conversion.R:285:1', 'test-conversion.R:1906:1',
'test-conversion.R:1972:1', 'test-conversion.R:2014:1',
'test-conversion.R:2068:1', 'test-conversion.R:2180:1',
'test-conversion.R:2487:1', 'test-conversion.R:2706:1',
'test-conversion.R:2747:1', 'test-conversion.R:3518:1',
'test-conversion.R:5500:1', 'test-conversion.R:5518:1',
'test-conversion.R:5536:1', 'test-conversion.R:5591:1',
'test-dataset-metadata.R:296:1', 'test-dataset-metadata.R:715:1',
'test-dataset-metadata.R:738:1', 'test-dataset-metadata.R:761:1',
'test-dataset-metadata.R:781:1', 'test-dataset-metadata.R:810:1',
'test-dataset-metadata.R:833:1', 'test-dataset-metadata.R:881:1',
'test-dataset-metadata.R:892:1', 'test-dataset-metadata.R:900:1',
'test-dataset-metadata.R:911:1', 'test-dataset-metadata.R:925:1',
'test-dataset-metadata.R:959:1', 'test-dataset-metadata.R:981:1',
'test-dataset-metadata.R:1000:1', 'test-dataset-metadata.R:1022:1',
'test-dataset-metadata.R:1056:1', 'test-dataset-metadata.R:1251:1',
'test-dataset-metadata.R:1279:1', 'test-dataset-metadata.R:1288:1',
'test-dataset-metadata.R:1310:1', 'test-dataset-metadata.R:1349:1',
'test-dataset-metadata.R:1375:1', 'test-dataset-metadata.R:1394:1',
'test-dataset-metadata.R:1404:1', 'test-dataset-metadata.R:1414:1',
'test-dataset-metadata.R:1420:1', 'test-dataset-metadata.R:1454:1',
'test-dataset-metadata.R:1478:1', 'test-dataset-metadata.R:1488:1',
'test-dataset-metadata.R:1500:1', 'test-dataset-metadata.R:1635:1',
'test-dataset-metadata.R:1654:1', 'test-dataset-metadata.R:1995:1',
'test-dataset-metadata.R:2546:1', 'test-dataset-metadata.R:2559:1',
'test-dataset-metadata.R:2788:1', 'test-dataset-metadata.R:2795:1',
'test-dataset-metadata.R:2812:1', 'test-dataset-metadata.R:2822:1',
'test-dataset-metadata.R:2979:1', 'test-dataset-metadata.R:2991:1',
'test-dataset-metadata.R:3205:1', 'test-dataset-metadata.R:3217:1',
'test-dataset-metadata.R:3228:1', 'test-dataset-metadata.R:3247:1',
'test-dataset-metadata.R:3257:1', 'test-dataset-metadata.R:3399:1',
'test-dataset-metadata.R:3421:1', 'test-dataset-metadata.R:3859:1',
'test-effective-n.R:212:1', 'test-effective-n.R:220:1',
'test-effective-n.R:229:1', 'test-effective-n.R:455:1',
'test-effective-n.R:463:1', 'test-effective-n.R:471:1',
'test-effective-n.R:479: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-labelled-storage.R:492:1', 'test-labelled-storage.R:507:1',
'test-labelled-storage.R:522:1', 'test-labelled-storage.R:539:1',
'test-labelled-storage.R:610:1', 'test-labelled-storage.R:637:1',
'test-labelled-storage.R:687:1', 'test-labelled-storage.R:753:1',
'test-metadata-infer.R:408:1', 'test-metadata-system.R:188:1',
'test-metadata-system.R:872:1', 'test-metadata-system.R:876:1',
'test-metadata-system.R:884:1', 'test-metadata-system.R:889:1',
'test-metadata-system.R:897:1', 'test-metadata-system.R:902:1',
'test-metadata-system.R:907:1', 'test-metadata-system.R:912:1',
'test-metadata-system.R:1088:1', 'test-metadata-system.R:1093:1',
'test-metadata-system.R:1098:1', 'test-metadata-system.R:1102:1',
'test-metadata-system.R:1107:1', 'test-metadata-system.R:1115:1',
'test-metadata-system.R:1123:1', 'test-metadata-system.R:1128:1',
'test-metadata-system.R:1270:1', 'test-metadata-system.R:1277: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:1441:1',
'test-metadata-system.R:1445:1', 'test-metadata-system.R:1453:1',
'test-metadata-system.R:1458:1', 'test-metadata-system.R:1466:1',
'test-metadata-system.R:1471:1', 'test-metadata-system.R:1476:1',
'test-metadata-system.R:1602:1', 'test-metadata-system.R:1606:1',
'test-metadata-system.R:1611:1', 'test-metadata-system.R:1619:1',
'test-metadata-system.R:1624:1', 'test-metadata-system.R:1632:1',
'test-metadata-system.R:1637:1', 'test-metadata-system.R:1786:1',
'test-metadata-system.R:1791:1', 'test-metadata-system.R:1798:1',
'test-metadata-system.R:1806:1', 'test-metadata-system.R:1811:1',
'test-metadata-system.R:1823:1', 'test-metadata-system.R:1828:1',
'test-metadata-system.R:2203:1', 'test-metadata-system.R:2210:1',
'test-metadata-system.R:2218:1', 'test-metadata-system.R:2223:1',
'test-metadata-system.R:2231:1', 'test-metadata-system.R:2236:1',
'test-metadata-system.R:2241:1', 'test-metadata-system.R:2249:1',
'test-metadata-system.R:2254:1', 'test-metadata-system.R:2531:1',
'test-metadata-system.R:2684:1', 'test-metadata-system.R:2698:1',
'test-metadata-system.R:2712:1', 'test-metadata-system.R:2726:1',
'test-metadata-system.R:2846:1', 'test-metadata-system.R:3133:1',
'test-metadata-system.R:3137:1', 'test-metadata-system.R:3317:1',
'test-metadata-system.R:3325:1', 'test-metadata-system.R:3343:1',
'test-metadata-system.R:3358:1', 'test-metadata-system.R:3373:1',
'test-metadata-system.R:3553:1', 'test-metadata-system.R:3561:1',
'test-metadata-system.R:3576:1', 'test-metadata-system.R:3591:1',
'test-metadata-system.R:3774:1', 'test-metadata-system.R:3782:1',
'test-metadata-system.R:3790:1', 'test-metadata-system.R:3805:1',
'test-metadata-system.R:3823:1', 'test-metadata-system.R:3841:1',
'test-metadata-system.R:3859:1', 'test-metadata-system.R:3874:1',
'test-metadata-system.R:4051:1', 'test-metadata-system.R:4059:1',
'test-metadata-system.R:4067:1', 'test-metadata-system.R:4085:1',
'test-metadata-system.R:4103:1', 'test-metadata-system.R:4121:1',
'test-metadata-system.R:4136:1', 'test-metadata-system.R:4201:1',
'test-metadata-system.R:4212:1', 'test-metadata-system.R:4361:1',
'test-methods-compat.R:249:1', 'test-methods-compat.R:264:1',
'test-methods-compat.R:274:1', 'test-methods-print.R:107:1',
'test-methods-print.R:118:1', 'test-methods-print.R:216:1',
'test-methods-print.R:226:1', 'test-methods-print.R:244:1',
'test-methods-print.R:254:1', 'test-methods-print.R:272:1',
'test-methods-print.R:313:1', 'test-methods-print.R:328:1',
'test-methods-print.R:353:1', 'test-methods-print.R:363:1',
'test-methods-print.R:374:1', 'test-methods-print.R:385:1',
'test-methods-print.R:395:1', 'test-methods-print.R:405:1',
'test-methods-print.R:420:1', 'test-methods-print.R:434:1',
'test-methods-print.R:502:1', 'test-methods-print.R:513:1',
'test-methods-print.R:554:1', 'test-methods-print.R:562:1',
'test-methods-print.R:723:1', 'test-methods-print.R:749:1',
'test-methods-print.R:771:1', 'test-methods-print.R:792:1',
'test-methods-print.R:805:1', 'test-methods-print.R:818:1',
'test-methods-print.R:825:1', 'test-methods-print.R:931:1',
'test-methods-print.R:943:1', 'test-methods-print.R:956:1',
'test-methods-print.R:969:1', 'test-methods-print.R:1029:1',
'test-methods-print.R:1041:1', 'test-methods-print.R:1054:1',
'test-methods-print.R:1067:1', 'test-methods-print.R:1779:1',
'test-methods-print.R:1788:1', 'test-methods-print.R:1794:1',
'test-methods-print.R:1801:1', 'test-methods-print.R:1807:1',
'test-methods-print.R:1813:1', 'test-methods-print.R:1819:1',
'test-methods-print.R:1825:1', 'test-methods-print.R:1866:1',
'test-methods-print.R:1873:1', 'test-methods-print.R:1887:1',
'test-methods-print.R:2038:1', 'test-methods-print.R:2052:1',
'test-methods-print.R:2065:1', 'test-methods-print.R:2080:1',
'test-methods-print.R:2187:1', 'test-nonprob-bootstrap-variance.R:618: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:447:1',
'test-survey-collection-dispatch.R:560:1',
'test-survey-collection-dispatch.R:820: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:146:1', 'test-update-design.R:395:1',
'test-utils.R:632:1', 'test-utils.R:1049:1', 'test-utils.R:1075: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:4:1', 'test-variance-vendored-saddlepoint.R:9:1'
• R/ source tree not available (installed-package test layout) (1):
'test-metadata-system.R:2946:5'
• Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1):
'test-edge-conditions.R:240:3'
• {MASS} is not installed (1): 'test-calibration.R:655:3'
• {surveytidy} is not installed (33): 'test-analysis-corr.R:153:3',
'test-analysis-corr.R:237:3', 'test-analysis-corr.R:265:3',
'test-analysis-corr.R:320:3', 'test-analysis-corr.R:344:3',
'test-analysis-corr.R:373:3', 'test-analysis-corr.R:394:3',
'test-analysis-corr.R:1214:3', 'test-analysis-corr.R:1223:3',
'test-analysis-diffs.R:641:3', 'test-analysis-freqs.R:1562:3',
'test-analysis-freqs.R:1571:3', 'test-analysis-means.R:795:3',
'test-analysis-means.R:804:3', 'test-analysis-quantiles.R:1227:3',
'test-analysis-quantiles.R:1236:3', 'test-analysis-ratios.R:384:3',
'test-analysis-ratios.R:416:3', 'test-analysis-ratios.R:1023:3',
'test-analysis-ratios.R:1032:3', 'test-analysis-totals.R:607:3',
'test-analysis-totals.R:616:3', 'test-analysis-variance.R:259:3',
'test-conversion.R:3793:3', 'test-conversion.R:4255:3',
'test-effective-n.R:278:3', 'test-glm.R:387:3',
'test-methods-compat.R:363:3', 'test-methods-compat.R:376:3',
'test-methods-compat.R:395:3', 'test-methods-compat.R:409:3',
'test-variance-taylor.R:1531:5', 'test-variance-taylor.R:1583:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-constructors.R:78:3'): as_survey() stores call in @call ──────
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:79:3'): as_survey() stores call in @call ──────
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:544:3'): as_survey_replicate() stores call in @call ──
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:545:3'): as_survey_replicate() stores call in @call ──
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:3818:3'): as_survey_twophase() stores call in @call ──
Expected `is.null(d2@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:3819:3'): as_survey_twophase() stores call in @call ──
Expected `is.call(d2@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:2433:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2437:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-dataset-metadata.R:2437:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:2456:3'): the stale guard runs ahead of the convention rules ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_dataset_metadata()` requires at least one key-value pair.
v Use named `...` args: `set_dataset_metadata(x, vendor = 'Ipsos')`.
Backtrace:
▆
1. ├─testthat::expect_error(set_dataset_metadata(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:2456:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d)
8. └─surveycore:::.parse_setter_input(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2469:3'): the stale guard runs ahead of the unknown-key rule ──
<surveycore_error_dataset_key_unknown/rlang_error/error/condition>
Error in `eval(code, test_env)`: x "mode" is not a dataset metadata key.
i Valid keys: "survey_name", "data_name", "vendor", "field_start", "field_end", and "field_period".
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2469:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d, mode = "web")
8. └─surveycore:::.abort_dataset_key_unknown(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2486:3'): a deletion on a stale design raises the unavailable error ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2486:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_dataset_metadata(d, vendor = NULL)
8. │ ├─base::`@<-`(...)
9. │ └─S7:::`@<-.S7_object`(...)
10. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
11. └─S7 (local) `<fn>`(...)
12. └─S7:::stop2(msg, call = prop_call(object, name))
── Failure ('test-dataset-metadata.R:3526:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3530:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_survey_name(d, "Example Survey")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3534:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_data_name(d, "Example (2026)")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3538:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_period(d, "February-March 2026")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3542:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_dates(d, "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3551:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3555:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(error = TRUE, set_vendor(d, "x")) at test-dataset-metadata.R:3555:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:3576:3'): a wrapper deletion on a stale design also raises DM-8 ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, NULL), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3576:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_vendor(d, NULL)
8. │ └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. │ ├─base::`@<-`(...)
10. │ └─S7:::`@<-.S7_object`(...)
11. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
12. └─S7 (local) `<fn>`(...)
13. └─S7:::stop2(msg, call = prop_call(object, name))
── Error ('test-dataset-metadata.R:3591:3'): the stale guard runs ahead of a wrapper's missing-value guard ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_vendor()` requires a value for `vendor`.
v Supply a single character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3591:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d)
8. └─surveycore:::.abort_wrapper_setter_empty(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:3624:3'): the stale guard runs ahead of a wrapper's value check ──
<surveycore_error_dataset_metadata_bad_type/rlang_error/error/condition>
Error in `set_vendor(d, 1L)`: x Dataset metadata key "vendor" must be a single non-NA character string, not <integer> of length 1.
v Supply a single non-NA character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, 1L), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3624:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d, 1L)
8. └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. └─surveycore:::.check_dataset_key_value(...)
10. └─cli::cli_abort(...)
11. └─rlang::abort(...)
── Error ('test-glm-methods.R:602:3'): update(fit, family = poisson()) returns new survey_glm_fit with Poisson family ──
<surveycore_error_update_no_call/rlang_error/error/condition>
Error in `update(fit_gauss, family = poisson())`: x Cannot update <survey_glm_fit>: @call is NULL.
v Refit the model to restore `update()` support.
Backtrace:
▆
1. ├─stats::update(fit_gauss, family = poisson()) at test-glm-methods.R:602:3
2. └─surveycore (local) `update.surveycore::survey_glm_fit`(fit_gauss, family = poisson())
3. └─cli::cli_abort(...)
4. └─rlang::abort(...)
[ FAIL 42 | WARN 340 | SKIP 621 | PASS 12317 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [276s/331s]
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
# 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".
Saving _problems/test-constructors-78.R
Saving _problems/test-constructors-79.R
Saving _problems/test-constructors-544.R
Saving _problems/test-constructors-545.R
Saving _problems/test-constructors-3818.R
Saving _problems/test-constructors-3819.R
-- 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
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-2436.R
Saving _problems/test-dataset-metadata-2437.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2459.R
Saving _problems/test-dataset-metadata-2472.R
Saving _problems/test-dataset-metadata-2489.R
Saving _problems/test-dataset-metadata-3529.R
Saving _problems/test-dataset-metadata-3533.R
Saving _problems/test-dataset-metadata-3537.R
Saving _problems/test-dataset-metadata-3541.R
Saving _problems/test-dataset-metadata-3545.R
Saving _problems/test-dataset-metadata-3554.R
Saving _problems/test-dataset-metadata-3555.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3579.R
Saving _problems/test-dataset-metadata-3594.R
Saving _problems/test-dataset-metadata-3627.R
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
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)
Saving _problems/test-glm-methods-602.R
x is ignored when method = 'kish'
x is ignored when method = 'kish'
# 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 42 | WARN 340 | SKIP 621 | PASS 12317 ]
══ Skipped tests (621) ═════════════════════════════════════════════════════════
• 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 (583): '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:378:1',
'test-analysis-corr-latent-primitives.R:512:1',
'test-analysis-corr-latent-primitives.R:803: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:1645:1', 'test-analysis-corr.R:1662:1',
'test-analysis-covariance.R:696:1', 'test-analysis-covariance.R:705:1',
'test-analysis-covariance.R:718:1', 'test-analysis-covariance.R:740:1',
'test-analysis-covariance.R:753:1', 'test-analysis-covariance.R:774:1',
'test-analysis-covariance.R:791:1', 'test-analysis-covariance.R:804:1',
'test-analysis-covariance.R:825:1', 'test-analysis-covariance.R:857:1',
'test-analysis-covariance.R:890:1', 'test-analysis-covariance.R:930:1',
'test-analysis-covariance.R:1135:1', 'test-analysis-covariance.R:1158:1',
'test-analysis-covariance.R:1180: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:590:1', 'test-analysis-freqs.R:601:1',
'test-analysis-freqs.R:622:1', 'test-analysis-freqs.R:643:1',
'test-analysis-freqs.R:664:1', 'test-analysis-freqs.R:1335:1',
'test-analysis-freqs.R:1579: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:877:1',
'test-analysis-helpers.R:1236:1', 'test-analysis-helpers.R:1276:1',
'test-analysis-helpers.R:1587:1', 'test-analysis-means.R:320:1',
'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1',
'test-analysis-methods-coef-vcov.R:261:1',
'test-analysis-methods-coef-vcov.R:270:1',
'test-analysis-methods-coef-vcov.R:279:1',
'test-analysis-methods-coef-vcov.R:288:1',
'test-analysis-methods-coef-vcov.R:297:1',
'test-analysis-methods-coef-vcov.R:306:1',
'test-analysis-methods-coef-vcov.R:334:1',
'test-analysis-methods-coef-vcov.R:343:1',
'test-analysis-methods-coef-vcov.R:352:1',
'test-analysis-methods-coef-vcov.R:361:1',
'test-analysis-methods-coef-vcov.R:373:1',
'test-analysis-methods-coef-vcov.R:386:1',
'test-analysis-methods-coef-vcov.R:410:1',
'test-analysis-methods-coef-vcov.R:421:1',
'test-analysis-methods-coef-vcov.R:433:1',
'test-analysis-methods-coef-vcov.R:778:1',
'test-analysis-methods-coef-vcov.R:813:1',
'test-analysis-methods-coef-vcov.R:1124:1',
'test-analysis-quantiles.R:866:1', 'test-analysis-quantiles.R:874:1',
'test-analysis-quantiles.R:909:1', 'test-analysis-quantiles.R:921:1',
'test-analysis-quantiles.R:1244: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-totals.R:1337: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:577:1', 'test-analysis-variance.R:587:1',
'test-analysis-variance.R:601:1', 'test-analysis-variance.R:613:1',
'test-analysis-variance.R:625:1', 'test-analysis-variance.R:636:1',
'test-analysis-variance.R:655:1', 'test-analysis-variance.R:670:1',
'test-analysis-variance.R:684: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:759:1', 'test-calibration.R:770:1',
'test-calibration.R:784:1', 'test-calibration.R:798:1',
'test-calibration.R:810:1', 'test-calibration.R:824:1',
'test-calibration.R:862:1', 'test-calibration.R:876:1',
'test-calibration.R:888:1', 'test-calibration.R:900:1',
'test-calibration.R:915:1', 'test-calibration.R:928:1',
'test-calibration.R:941:1', 'test-calibration.R:970:1',
'test-calibration.R:995:1', 'test-calibration.R:1023: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:136:1', 'test-constructors.R:152:1',
'test-constructors.R:162:1', 'test-constructors.R:180:1',
'test-constructors.R:190:1', 'test-constructors.R:249:1',
'test-constructors.R:262:1', 'test-constructors.R:292:1',
'test-constructors.R:305:1', 'test-constructors.R:332:1',
'test-constructors.R:350:1', 'test-constructors.R:364:1',
'test-constructors.R:857:1', 'test-constructors.R:1113:1',
'test-constructors.R:1142:1', 'test-constructors.R:1214:1',
'test-constructors.R:1305:1', 'test-constructors.R:1762:1',
'test-constructors.R:2038:1', 'test-constructors.R:2060:1',
'test-constructors.R:2216:1', 'test-constructors.R:2664:1',
'test-constructors.R:2690:1', 'test-constructors.R:2776:1',
'test-constructors.R:3136:1', 'test-constructors.R:3166:1',
'test-constructors.R:3192:1', 'test-constructors.R:3216:1',
'test-constructors.R:3245:1', 'test-constructors.R:3273:1',
'test-constructors.R:3302:1', 'test-constructors.R:3330:1',
'test-constructors.R:3358:1', 'test-constructors.R:3418:1',
'test-constructors.R:3440:1', 'test-constructors.R:3506:1',
'test-constructors.R:3521:1', 'test-constructors.R:3534:1',
'test-constructors.R:3557:1', 'test-constructors.R:3879:1',
'test-constructors.R:4014:1', 'test-constructors.R:4038:1',
'test-constructors.R:4161:1', 'test-constructors.R:4172:1',
'test-constructors.R:4188:1', 'test-constructors.R:4204:1',
'test-constructors.R:4226:1', 'test-constructors.R:4287:1',
'test-constructors.R:4577:1', 'test-constructors.R:4588:1',
'test-constructors.R:4600:1', 'test-constructors.R:4612:1',
'test-constructors.R:4624:1', 'test-constructors.R:4636:1',
'test-constructors.R:4702:1', 'test-constructors.R:4708:1',
'test-constructors.R:4714:1', 'test-constructors.R:4720:1',
'test-constructors.R:4726:1', 'test-constructors.R:4733:1',
'test-constructors.R:4881:1', 'test-constructors.R:5037:1',
'test-constructors.R:5049:1', 'test-constructors.R:5061:1',
'test-constructors.R:5073:1', 'test-constructors.R:5095:1',
'test-constructors.R:5117:1', 'test-constructors.R:5139:1',
'test-constructors.R:5151:1', 'test-constructors.R:5174:1',
'test-constructors.R:5247:1', 'test-constructors.R:5274:1',
'test-constructors.R:5301:1', 'test-constructors.R:5448:1',
'test-constructors.R:5475:1', 'test-constructors.R:5502:1',
'test-constructors.R:5593:1', 'test-constructors.R:5631:1',
'test-constructors.R:5655:1', 'test-constructors.R:5679:1',
'test-constructors.R:5702:1', 'test-constructors.R:5809:1',
'test-constructors.R:5824:1', 'test-constructors.R:5839:1',
'test-constructors.R:5858:1', 'test-constructors.R:5877:1',
'test-constructors.R:5896:1', 'test-constructors.R:5927:1',
'test-constructors.R:5939:1', 'test-constructors.R:5953:1',
'test-constructors.R:5968:1', 'test-constructors.R:5985:1',
'test-constructors.R:6238:1', 'test-constructors.R:6249:1',
'test-constructors.R:6260:1', 'test-constructors.R:6271:1',
'test-constructors.R:6347:1', 'test-constructors.R:6362:1',
'test-constructors.R:6401:1', 'test-constructors.R:6412:1',
'test-constructors.R:6425:1', 'test-constructors.R:6623:1',
'test-conversion.R:285:1', 'test-conversion.R:1906:1',
'test-conversion.R:1972:1', 'test-conversion.R:2014:1',
'test-conversion.R:2068:1', 'test-conversion.R:2180:1',
'test-conversion.R:2487:1', 'test-conversion.R:2706:1',
'test-conversion.R:2747:1', 'test-conversion.R:3518:1',
'test-conversion.R:5500:1', 'test-conversion.R:5518:1',
'test-conversion.R:5536:1', 'test-conversion.R:5591:1',
'test-dataset-metadata.R:296:1', 'test-dataset-metadata.R:715:1',
'test-dataset-metadata.R:738:1', 'test-dataset-metadata.R:761:1',
'test-dataset-metadata.R:781:1', 'test-dataset-metadata.R:810:1',
'test-dataset-metadata.R:833:1', 'test-dataset-metadata.R:881:1',
'test-dataset-metadata.R:892:1', 'test-dataset-metadata.R:900:1',
'test-dataset-metadata.R:911:1', 'test-dataset-metadata.R:925:1',
'test-dataset-metadata.R:959:1', 'test-dataset-metadata.R:981:1',
'test-dataset-metadata.R:1000:1', 'test-dataset-metadata.R:1022:1',
'test-dataset-metadata.R:1056:1', 'test-dataset-metadata.R:1251:1',
'test-dataset-metadata.R:1279:1', 'test-dataset-metadata.R:1288:1',
'test-dataset-metadata.R:1310:1', 'test-dataset-metadata.R:1349:1',
'test-dataset-metadata.R:1375:1', 'test-dataset-metadata.R:1394:1',
'test-dataset-metadata.R:1404:1', 'test-dataset-metadata.R:1414:1',
'test-dataset-metadata.R:1420:1', 'test-dataset-metadata.R:1454:1',
'test-dataset-metadata.R:1478:1', 'test-dataset-metadata.R:1488:1',
'test-dataset-metadata.R:1500:1', 'test-dataset-metadata.R:1635:1',
'test-dataset-metadata.R:1654:1', 'test-dataset-metadata.R:1995:1',
'test-dataset-metadata.R:2546:1', 'test-dataset-metadata.R:2559:1',
'test-dataset-metadata.R:2788:1', 'test-dataset-metadata.R:2795:1',
'test-dataset-metadata.R:2812:1', 'test-dataset-metadata.R:2822:1',
'test-dataset-metadata.R:2979:1', 'test-dataset-metadata.R:2991:1',
'test-dataset-metadata.R:3205:1', 'test-dataset-metadata.R:3217:1',
'test-dataset-metadata.R:3228:1', 'test-dataset-metadata.R:3247:1',
'test-dataset-metadata.R:3257:1', 'test-dataset-metadata.R:3399:1',
'test-dataset-metadata.R:3421:1', 'test-dataset-metadata.R:3859:1',
'test-effective-n.R:212:1', 'test-effective-n.R:220:1',
'test-effective-n.R:229:1', 'test-effective-n.R:455:1',
'test-effective-n.R:463:1', 'test-effective-n.R:471:1',
'test-effective-n.R:479: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-labelled-storage.R:492:1', 'test-labelled-storage.R:507:1',
'test-labelled-storage.R:522:1', 'test-labelled-storage.R:539:1',
'test-labelled-storage.R:610:1', 'test-labelled-storage.R:637:1',
'test-labelled-storage.R:687:1', 'test-labelled-storage.R:753:1',
'test-metadata-infer.R:408:1', 'test-metadata-system.R:188:1',
'test-metadata-system.R:872:1', 'test-metadata-system.R:876:1',
'test-metadata-system.R:884:1', 'test-metadata-system.R:889:1',
'test-metadata-system.R:897:1', 'test-metadata-system.R:902:1',
'test-metadata-system.R:907:1', 'test-metadata-system.R:912:1',
'test-metadata-system.R:1088:1', 'test-metadata-system.R:1093:1',
'test-metadata-system.R:1098:1', 'test-metadata-system.R:1102:1',
'test-metadata-system.R:1107:1', 'test-metadata-system.R:1115:1',
'test-metadata-system.R:1123:1', 'test-metadata-system.R:1128:1',
'test-metadata-system.R:1270:1', 'test-metadata-system.R:1277: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:1441:1',
'test-metadata-system.R:1445:1', 'test-metadata-system.R:1453:1',
'test-metadata-system.R:1458:1', 'test-metadata-system.R:1466:1',
'test-metadata-system.R:1471:1', 'test-metadata-system.R:1476:1',
'test-metadata-system.R:1602:1', 'test-metadata-system.R:1606:1',
'test-metadata-system.R:1611:1', 'test-metadata-system.R:1619:1',
'test-metadata-system.R:1624:1', 'test-metadata-system.R:1632:1',
'test-metadata-system.R:1637:1', 'test-metadata-system.R:1786:1',
'test-metadata-system.R:1791:1', 'test-metadata-system.R:1798:1',
'test-metadata-system.R:1806:1', 'test-metadata-system.R:1811:1',
'test-metadata-system.R:1823:1', 'test-metadata-system.R:1828:1',
'test-metadata-system.R:2203:1', 'test-metadata-system.R:2210:1',
'test-metadata-system.R:2218:1', 'test-metadata-system.R:2223:1',
'test-metadata-system.R:2231:1', 'test-metadata-system.R:2236:1',
'test-metadata-system.R:2241:1', 'test-metadata-system.R:2249:1',
'test-metadata-system.R:2254:1', 'test-metadata-system.R:2531:1',
'test-metadata-system.R:2684:1', 'test-metadata-system.R:2698:1',
'test-metadata-system.R:2712:1', 'test-metadata-system.R:2726:1',
'test-metadata-system.R:2846:1', 'test-metadata-system.R:3133:1',
'test-metadata-system.R:3137:1', 'test-metadata-system.R:3317:1',
'test-metadata-system.R:3325:1', 'test-metadata-system.R:3343:1',
'test-metadata-system.R:3358:1', 'test-metadata-system.R:3373:1',
'test-metadata-system.R:3553:1', 'test-metadata-system.R:3561:1',
'test-metadata-system.R:3576:1', 'test-metadata-system.R:3591:1',
'test-metadata-system.R:3774:1', 'test-metadata-system.R:3782:1',
'test-metadata-system.R:3790:1', 'test-metadata-system.R:3805:1',
'test-metadata-system.R:3823:1', 'test-metadata-system.R:3841:1',
'test-metadata-system.R:3859:1', 'test-metadata-system.R:3874:1',
'test-metadata-system.R:4051:1', 'test-metadata-system.R:4059:1',
'test-metadata-system.R:4067:1', 'test-metadata-system.R:4085:1',
'test-metadata-system.R:4103:1', 'test-metadata-system.R:4121:1',
'test-metadata-system.R:4136:1', 'test-metadata-system.R:4201:1',
'test-metadata-system.R:4212:1', 'test-metadata-system.R:4361:1',
'test-methods-compat.R:249:1', 'test-methods-compat.R:264:1',
'test-methods-compat.R:274:1', 'test-methods-print.R:107:1',
'test-methods-print.R:118:1', 'test-methods-print.R:216:1',
'test-methods-print.R:226:1', 'test-methods-print.R:244:1',
'test-methods-print.R:254:1', 'test-methods-print.R:272:1',
'test-methods-print.R:313:1', 'test-methods-print.R:328:1',
'test-methods-print.R:353:1', 'test-methods-print.R:363:1',
'test-methods-print.R:374:1', 'test-methods-print.R:385:1',
'test-methods-print.R:395:1', 'test-methods-print.R:405:1',
'test-methods-print.R:420:1', 'test-methods-print.R:434:1',
'test-methods-print.R:502:1', 'test-methods-print.R:513:1',
'test-methods-print.R:554:1', 'test-methods-print.R:562:1',
'test-methods-print.R:723:1', 'test-methods-print.R:749:1',
'test-methods-print.R:771:1', 'test-methods-print.R:792:1',
'test-methods-print.R:805:1', 'test-methods-print.R:818:1',
'test-methods-print.R:825:1', 'test-methods-print.R:931:1',
'test-methods-print.R:943:1', 'test-methods-print.R:956:1',
'test-methods-print.R:969:1', 'test-methods-print.R:1029:1',
'test-methods-print.R:1041:1', 'test-methods-print.R:1054:1',
'test-methods-print.R:1067:1', 'test-methods-print.R:1779:1',
'test-methods-print.R:1788:1', 'test-methods-print.R:1794:1',
'test-methods-print.R:1801:1', 'test-methods-print.R:1807:1',
'test-methods-print.R:1813:1', 'test-methods-print.R:1819:1',
'test-methods-print.R:1825:1', 'test-methods-print.R:1866:1',
'test-methods-print.R:1873:1', 'test-methods-print.R:1887:1',
'test-methods-print.R:2038:1', 'test-methods-print.R:2052:1',
'test-methods-print.R:2065:1', 'test-methods-print.R:2080:1',
'test-methods-print.R:2187:1', 'test-nonprob-bootstrap-variance.R:618: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:447:1',
'test-survey-collection-dispatch.R:560:1',
'test-survey-collection-dispatch.R:820: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:146:1', 'test-update-design.R:395:1',
'test-utils.R:632:1', 'test-utils.R:1049:1', 'test-utils.R:1075: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:4:1', 'test-variance-vendored-saddlepoint.R:9:1'
• R/ source tree not available (installed-package test layout) (1):
'test-metadata-system.R:2946:5'
• Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1):
'test-edge-conditions.R:240:3'
• {MASS} is not installed (1): 'test-calibration.R:655:3'
• {surveytidy} is not installed (33): 'test-analysis-corr.R:153:3',
'test-analysis-corr.R:237:3', 'test-analysis-corr.R:265:3',
'test-analysis-corr.R:320:3', 'test-analysis-corr.R:344:3',
'test-analysis-corr.R:373:3', 'test-analysis-corr.R:394:3',
'test-analysis-corr.R:1214:3', 'test-analysis-corr.R:1223:3',
'test-analysis-diffs.R:641:3', 'test-analysis-freqs.R:1562:3',
'test-analysis-freqs.R:1571:3', 'test-analysis-means.R:795:3',
'test-analysis-means.R:804:3', 'test-analysis-quantiles.R:1227:3',
'test-analysis-quantiles.R:1236:3', 'test-analysis-ratios.R:384:3',
'test-analysis-ratios.R:416:3', 'test-analysis-ratios.R:1023:3',
'test-analysis-ratios.R:1032:3', 'test-analysis-totals.R:607:3',
'test-analysis-totals.R:616:3', 'test-analysis-variance.R:259:3',
'test-conversion.R:3793:3', 'test-conversion.R:4255:3',
'test-effective-n.R:278:3', 'test-glm.R:387:3',
'test-methods-compat.R:363:3', 'test-methods-compat.R:376:3',
'test-methods-compat.R:395:3', 'test-methods-compat.R:409:3',
'test-variance-taylor.R:1531:5', 'test-variance-taylor.R:1583:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-constructors.R:78:3'): as_survey() stores call in @call ──────
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:79:3'): as_survey() stores call in @call ──────
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:544:3'): as_survey_replicate() stores call in @call ──
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:545:3'): as_survey_replicate() stores call in @call ──
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:3818:3'): as_survey_twophase() stores call in @call ──
Expected `is.null(d2@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:3819:3'): as_survey_twophase() stores call in @call ──
Expected `is.call(d2@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:2433:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2437:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-dataset-metadata.R:2437:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:2456:3'): the stale guard runs ahead of the convention rules ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_dataset_metadata()` requires at least one key-value pair.
v Use named `...` args: `set_dataset_metadata(x, vendor = 'Ipsos')`.
Backtrace:
▆
1. ├─testthat::expect_error(set_dataset_metadata(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:2456:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d)
8. └─surveycore:::.parse_setter_input(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2469:3'): the stale guard runs ahead of the unknown-key rule ──
<surveycore_error_dataset_key_unknown/rlang_error/error/condition>
Error in `eval(code, test_env)`: x "mode" is not a dataset metadata key.
i Valid keys: "survey_name", "data_name", "vendor", "field_start", "field_end", and "field_period".
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2469:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d, mode = "web")
8. └─surveycore:::.abort_dataset_key_unknown(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2486:3'): a deletion on a stale design raises the unavailable error ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2486:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_dataset_metadata(d, vendor = NULL)
8. │ ├─base::`@<-`(...)
9. │ └─S7:::`@<-.S7_object`(...)
10. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
11. └─S7 (local) `<fn>`(...)
12. └─S7:::stop2(msg, call = prop_call(object, name))
── Failure ('test-dataset-metadata.R:3526:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3530:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_survey_name(d, "Example Survey")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3534:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_data_name(d, "Example (2026)")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3538:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_period(d, "February-March 2026")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3542:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_dates(d, "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3551:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3555:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(error = TRUE, set_vendor(d, "x")) at test-dataset-metadata.R:3555:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:3576:3'): a wrapper deletion on a stale design also raises DM-8 ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, NULL), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3576:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_vendor(d, NULL)
8. │ └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. │ ├─base::`@<-`(...)
10. │ └─S7:::`@<-.S7_object`(...)
11. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
12. └─S7 (local) `<fn>`(...)
13. └─S7:::stop2(msg, call = prop_call(object, name))
── Error ('test-dataset-metadata.R:3591:3'): the stale guard runs ahead of a wrapper's missing-value guard ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_vendor()` requires a value for `vendor`.
v Supply a single character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3591:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d)
8. └─surveycore:::.abort_wrapper_setter_empty(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:3624:3'): the stale guard runs ahead of a wrapper's value check ──
<surveycore_error_dataset_metadata_bad_type/rlang_error/error/condition>
Error in `set_vendor(d, 1L)`: x Dataset metadata key "vendor" must be a single non-NA character string, not <integer> of length 1.
v Supply a single non-NA character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, 1L), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3624:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d, 1L)
8. └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. └─surveycore:::.check_dataset_key_value(...)
10. └─cli::cli_abort(...)
11. └─rlang::abort(...)
── Error ('test-glm-methods.R:602:3'): update(fit, family = poisson()) returns new survey_glm_fit with Poisson family ──
<surveycore_error_update_no_call/rlang_error/error/condition>
Error in `update(fit_gauss, family = poisson())`: x Cannot update <survey_glm_fit>: @call is NULL.
v Refit the model to restore `update()` support.
Backtrace:
▆
1. ├─stats::update(fit_gauss, family = poisson()) at test-glm-methods.R:602:3
2. └─surveycore (local) `update.surveycore::survey_glm_fit`(fit_gauss, family = poisson())
3. └─cli::cli_abort(...)
4. └─rlang::abort(...)
[ FAIL 42 | WARN 340 | SKIP 621 | PASS 12317 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [271s/336s]
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
# 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".
Saving _problems/test-constructors-78.R
Saving _problems/test-constructors-79.R
Saving _problems/test-constructors-544.R
Saving _problems/test-constructors-545.R
Saving _problems/test-constructors-3818.R
Saving _problems/test-constructors-3819.R
-- 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
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-2436.R
Saving _problems/test-dataset-metadata-2437.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2459.R
Saving _problems/test-dataset-metadata-2472.R
Saving _problems/test-dataset-metadata-2489.R
Saving _problems/test-dataset-metadata-3529.R
Saving _problems/test-dataset-metadata-3533.R
Saving _problems/test-dataset-metadata-3537.R
Saving _problems/test-dataset-metadata-3541.R
Saving _problems/test-dataset-metadata-3545.R
Saving _problems/test-dataset-metadata-3554.R
Saving _problems/test-dataset-metadata-3555.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3579.R
Saving _problems/test-dataset-metadata-3594.R
Saving _problems/test-dataset-metadata-3627.R
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
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)
Saving _problems/test-glm-methods-602.R
x is ignored when method = 'kish'
x is ignored when method = 'kish'
# 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 42 | WARN 340 | SKIP 621 | PASS 12317 ]
══ Skipped tests (621) ═════════════════════════════════════════════════════════
• 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 (583): '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:378:1',
'test-analysis-corr-latent-primitives.R:512:1',
'test-analysis-corr-latent-primitives.R:803: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:1645:1', 'test-analysis-corr.R:1662:1',
'test-analysis-covariance.R:696:1', 'test-analysis-covariance.R:705:1',
'test-analysis-covariance.R:718:1', 'test-analysis-covariance.R:740:1',
'test-analysis-covariance.R:753:1', 'test-analysis-covariance.R:774:1',
'test-analysis-covariance.R:791:1', 'test-analysis-covariance.R:804:1',
'test-analysis-covariance.R:825:1', 'test-analysis-covariance.R:857:1',
'test-analysis-covariance.R:890:1', 'test-analysis-covariance.R:930:1',
'test-analysis-covariance.R:1135:1', 'test-analysis-covariance.R:1158:1',
'test-analysis-covariance.R:1180: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:590:1', 'test-analysis-freqs.R:601:1',
'test-analysis-freqs.R:622:1', 'test-analysis-freqs.R:643:1',
'test-analysis-freqs.R:664:1', 'test-analysis-freqs.R:1335:1',
'test-analysis-freqs.R:1579: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:877:1',
'test-analysis-helpers.R:1236:1', 'test-analysis-helpers.R:1276:1',
'test-analysis-helpers.R:1587:1', 'test-analysis-means.R:320:1',
'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1',
'test-analysis-methods-coef-vcov.R:261:1',
'test-analysis-methods-coef-vcov.R:270:1',
'test-analysis-methods-coef-vcov.R:279:1',
'test-analysis-methods-coef-vcov.R:288:1',
'test-analysis-methods-coef-vcov.R:297:1',
'test-analysis-methods-coef-vcov.R:306:1',
'test-analysis-methods-coef-vcov.R:334:1',
'test-analysis-methods-coef-vcov.R:343:1',
'test-analysis-methods-coef-vcov.R:352:1',
'test-analysis-methods-coef-vcov.R:361:1',
'test-analysis-methods-coef-vcov.R:373:1',
'test-analysis-methods-coef-vcov.R:386:1',
'test-analysis-methods-coef-vcov.R:410:1',
'test-analysis-methods-coef-vcov.R:421:1',
'test-analysis-methods-coef-vcov.R:433:1',
'test-analysis-methods-coef-vcov.R:778:1',
'test-analysis-methods-coef-vcov.R:813:1',
'test-analysis-methods-coef-vcov.R:1124:1',
'test-analysis-quantiles.R:866:1', 'test-analysis-quantiles.R:874:1',
'test-analysis-quantiles.R:909:1', 'test-analysis-quantiles.R:921:1',
'test-analysis-quantiles.R:1244: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-totals.R:1337: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:577:1', 'test-analysis-variance.R:587:1',
'test-analysis-variance.R:601:1', 'test-analysis-variance.R:613:1',
'test-analysis-variance.R:625:1', 'test-analysis-variance.R:636:1',
'test-analysis-variance.R:655:1', 'test-analysis-variance.R:670:1',
'test-analysis-variance.R:684: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:759:1', 'test-calibration.R:770:1',
'test-calibration.R:784:1', 'test-calibration.R:798:1',
'test-calibration.R:810:1', 'test-calibration.R:824:1',
'test-calibration.R:862:1', 'test-calibration.R:876:1',
'test-calibration.R:888:1', 'test-calibration.R:900:1',
'test-calibration.R:915:1', 'test-calibration.R:928:1',
'test-calibration.R:941:1', 'test-calibration.R:970:1',
'test-calibration.R:995:1', 'test-calibration.R:1023: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:136:1', 'test-constructors.R:152:1',
'test-constructors.R:162:1', 'test-constructors.R:180:1',
'test-constructors.R:190:1', 'test-constructors.R:249:1',
'test-constructors.R:262:1', 'test-constructors.R:292:1',
'test-constructors.R:305:1', 'test-constructors.R:332:1',
'test-constructors.R:350:1', 'test-constructors.R:364:1',
'test-constructors.R:857:1', 'test-constructors.R:1113:1',
'test-constructors.R:1142:1', 'test-constructors.R:1214:1',
'test-constructors.R:1305:1', 'test-constructors.R:1762:1',
'test-constructors.R:2038:1', 'test-constructors.R:2060:1',
'test-constructors.R:2216:1', 'test-constructors.R:2664:1',
'test-constructors.R:2690:1', 'test-constructors.R:2776:1',
'test-constructors.R:3136:1', 'test-constructors.R:3166:1',
'test-constructors.R:3192:1', 'test-constructors.R:3216:1',
'test-constructors.R:3245:1', 'test-constructors.R:3273:1',
'test-constructors.R:3302:1', 'test-constructors.R:3330:1',
'test-constructors.R:3358:1', 'test-constructors.R:3418:1',
'test-constructors.R:3440:1', 'test-constructors.R:3506:1',
'test-constructors.R:3521:1', 'test-constructors.R:3534:1',
'test-constructors.R:3557:1', 'test-constructors.R:3879:1',
'test-constructors.R:4014:1', 'test-constructors.R:4038:1',
'test-constructors.R:4161:1', 'test-constructors.R:4172:1',
'test-constructors.R:4188:1', 'test-constructors.R:4204:1',
'test-constructors.R:4226:1', 'test-constructors.R:4287:1',
'test-constructors.R:4577:1', 'test-constructors.R:4588:1',
'test-constructors.R:4600:1', 'test-constructors.R:4612:1',
'test-constructors.R:4624:1', 'test-constructors.R:4636:1',
'test-constructors.R:4702:1', 'test-constructors.R:4708:1',
'test-constructors.R:4714:1', 'test-constructors.R:4720:1',
'test-constructors.R:4726:1', 'test-constructors.R:4733:1',
'test-constructors.R:4881:1', 'test-constructors.R:5037:1',
'test-constructors.R:5049:1', 'test-constructors.R:5061:1',
'test-constructors.R:5073:1', 'test-constructors.R:5095:1',
'test-constructors.R:5117:1', 'test-constructors.R:5139:1',
'test-constructors.R:5151:1', 'test-constructors.R:5174:1',
'test-constructors.R:5247:1', 'test-constructors.R:5274:1',
'test-constructors.R:5301:1', 'test-constructors.R:5448:1',
'test-constructors.R:5475:1', 'test-constructors.R:5502:1',
'test-constructors.R:5593:1', 'test-constructors.R:5631:1',
'test-constructors.R:5655:1', 'test-constructors.R:5679:1',
'test-constructors.R:5702:1', 'test-constructors.R:5809:1',
'test-constructors.R:5824:1', 'test-constructors.R:5839:1',
'test-constructors.R:5858:1', 'test-constructors.R:5877:1',
'test-constructors.R:5896:1', 'test-constructors.R:5927:1',
'test-constructors.R:5939:1', 'test-constructors.R:5953:1',
'test-constructors.R:5968:1', 'test-constructors.R:5985:1',
'test-constructors.R:6238:1', 'test-constructors.R:6249:1',
'test-constructors.R:6260:1', 'test-constructors.R:6271:1',
'test-constructors.R:6347:1', 'test-constructors.R:6362:1',
'test-constructors.R:6401:1', 'test-constructors.R:6412:1',
'test-constructors.R:6425:1', 'test-constructors.R:6623:1',
'test-conversion.R:285:1', 'test-conversion.R:1906:1',
'test-conversion.R:1972:1', 'test-conversion.R:2014:1',
'test-conversion.R:2068:1', 'test-conversion.R:2180:1',
'test-conversion.R:2487:1', 'test-conversion.R:2706:1',
'test-conversion.R:2747:1', 'test-conversion.R:3518:1',
'test-conversion.R:5500:1', 'test-conversion.R:5518:1',
'test-conversion.R:5536:1', 'test-conversion.R:5591:1',
'test-dataset-metadata.R:296:1', 'test-dataset-metadata.R:715:1',
'test-dataset-metadata.R:738:1', 'test-dataset-metadata.R:761:1',
'test-dataset-metadata.R:781:1', 'test-dataset-metadata.R:810:1',
'test-dataset-metadata.R:833:1', 'test-dataset-metadata.R:881:1',
'test-dataset-metadata.R:892:1', 'test-dataset-metadata.R:900:1',
'test-dataset-metadata.R:911:1', 'test-dataset-metadata.R:925:1',
'test-dataset-metadata.R:959:1', 'test-dataset-metadata.R:981:1',
'test-dataset-metadata.R:1000:1', 'test-dataset-metadata.R:1022:1',
'test-dataset-metadata.R:1056:1', 'test-dataset-metadata.R:1251:1',
'test-dataset-metadata.R:1279:1', 'test-dataset-metadata.R:1288:1',
'test-dataset-metadata.R:1310:1', 'test-dataset-metadata.R:1349:1',
'test-dataset-metadata.R:1375:1', 'test-dataset-metadata.R:1394:1',
'test-dataset-metadata.R:1404:1', 'test-dataset-metadata.R:1414:1',
'test-dataset-metadata.R:1420:1', 'test-dataset-metadata.R:1454:1',
'test-dataset-metadata.R:1478:1', 'test-dataset-metadata.R:1488:1',
'test-dataset-metadata.R:1500:1', 'test-dataset-metadata.R:1635:1',
'test-dataset-metadata.R:1654:1', 'test-dataset-metadata.R:1995:1',
'test-dataset-metadata.R:2546:1', 'test-dataset-metadata.R:2559:1',
'test-dataset-metadata.R:2788:1', 'test-dataset-metadata.R:2795:1',
'test-dataset-metadata.R:2812:1', 'test-dataset-metadata.R:2822:1',
'test-dataset-metadata.R:2979:1', 'test-dataset-metadata.R:2991:1',
'test-dataset-metadata.R:3205:1', 'test-dataset-metadata.R:3217:1',
'test-dataset-metadata.R:3228:1', 'test-dataset-metadata.R:3247:1',
'test-dataset-metadata.R:3257:1', 'test-dataset-metadata.R:3399:1',
'test-dataset-metadata.R:3421:1', 'test-dataset-metadata.R:3859:1',
'test-effective-n.R:212:1', 'test-effective-n.R:220:1',
'test-effective-n.R:229:1', 'test-effective-n.R:455:1',
'test-effective-n.R:463:1', 'test-effective-n.R:471:1',
'test-effective-n.R:479: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-labelled-storage.R:492:1', 'test-labelled-storage.R:507:1',
'test-labelled-storage.R:522:1', 'test-labelled-storage.R:539:1',
'test-labelled-storage.R:610:1', 'test-labelled-storage.R:637:1',
'test-labelled-storage.R:687:1', 'test-labelled-storage.R:753:1',
'test-metadata-infer.R:408:1', 'test-metadata-system.R:188:1',
'test-metadata-system.R:872:1', 'test-metadata-system.R:876:1',
'test-metadata-system.R:884:1', 'test-metadata-system.R:889:1',
'test-metadata-system.R:897:1', 'test-metadata-system.R:902:1',
'test-metadata-system.R:907:1', 'test-metadata-system.R:912:1',
'test-metadata-system.R:1088:1', 'test-metadata-system.R:1093:1',
'test-metadata-system.R:1098:1', 'test-metadata-system.R:1102:1',
'test-metadata-system.R:1107:1', 'test-metadata-system.R:1115:1',
'test-metadata-system.R:1123:1', 'test-metadata-system.R:1128:1',
'test-metadata-system.R:1270:1', 'test-metadata-system.R:1277: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:1441:1',
'test-metadata-system.R:1445:1', 'test-metadata-system.R:1453:1',
'test-metadata-system.R:1458:1', 'test-metadata-system.R:1466:1',
'test-metadata-system.R:1471:1', 'test-metadata-system.R:1476:1',
'test-metadata-system.R:1602:1', 'test-metadata-system.R:1606:1',
'test-metadata-system.R:1611:1', 'test-metadata-system.R:1619:1',
'test-metadata-system.R:1624:1', 'test-metadata-system.R:1632:1',
'test-metadata-system.R:1637:1', 'test-metadata-system.R:1786:1',
'test-metadata-system.R:1791:1', 'test-metadata-system.R:1798:1',
'test-metadata-system.R:1806:1', 'test-metadata-system.R:1811:1',
'test-metadata-system.R:1823:1', 'test-metadata-system.R:1828:1',
'test-metadata-system.R:2203:1', 'test-metadata-system.R:2210:1',
'test-metadata-system.R:2218:1', 'test-metadata-system.R:2223:1',
'test-metadata-system.R:2231:1', 'test-metadata-system.R:2236:1',
'test-metadata-system.R:2241:1', 'test-metadata-system.R:2249:1',
'test-metadata-system.R:2254:1', 'test-metadata-system.R:2531:1',
'test-metadata-system.R:2684:1', 'test-metadata-system.R:2698:1',
'test-metadata-system.R:2712:1', 'test-metadata-system.R:2726:1',
'test-metadata-system.R:2846:1', 'test-metadata-system.R:3133:1',
'test-metadata-system.R:3137:1', 'test-metadata-system.R:3317:1',
'test-metadata-system.R:3325:1', 'test-metadata-system.R:3343:1',
'test-metadata-system.R:3358:1', 'test-metadata-system.R:3373:1',
'test-metadata-system.R:3553:1', 'test-metadata-system.R:3561:1',
'test-metadata-system.R:3576:1', 'test-metadata-system.R:3591:1',
'test-metadata-system.R:3774:1', 'test-metadata-system.R:3782:1',
'test-metadata-system.R:3790:1', 'test-metadata-system.R:3805:1',
'test-metadata-system.R:3823:1', 'test-metadata-system.R:3841:1',
'test-metadata-system.R:3859:1', 'test-metadata-system.R:3874:1',
'test-metadata-system.R:4051:1', 'test-metadata-system.R:4059:1',
'test-metadata-system.R:4067:1', 'test-metadata-system.R:4085:1',
'test-metadata-system.R:4103:1', 'test-metadata-system.R:4121:1',
'test-metadata-system.R:4136:1', 'test-metadata-system.R:4201:1',
'test-metadata-system.R:4212:1', 'test-metadata-system.R:4361:1',
'test-methods-compat.R:249:1', 'test-methods-compat.R:264:1',
'test-methods-compat.R:274:1', 'test-methods-print.R:107:1',
'test-methods-print.R:118:1', 'test-methods-print.R:216:1',
'test-methods-print.R:226:1', 'test-methods-print.R:244:1',
'test-methods-print.R:254:1', 'test-methods-print.R:272:1',
'test-methods-print.R:313:1', 'test-methods-print.R:328:1',
'test-methods-print.R:353:1', 'test-methods-print.R:363:1',
'test-methods-print.R:374:1', 'test-methods-print.R:385:1',
'test-methods-print.R:395:1', 'test-methods-print.R:405:1',
'test-methods-print.R:420:1', 'test-methods-print.R:434:1',
'test-methods-print.R:502:1', 'test-methods-print.R:513:1',
'test-methods-print.R:554:1', 'test-methods-print.R:562:1',
'test-methods-print.R:723:1', 'test-methods-print.R:749:1',
'test-methods-print.R:771:1', 'test-methods-print.R:792:1',
'test-methods-print.R:805:1', 'test-methods-print.R:818:1',
'test-methods-print.R:825:1', 'test-methods-print.R:931:1',
'test-methods-print.R:943:1', 'test-methods-print.R:956:1',
'test-methods-print.R:969:1', 'test-methods-print.R:1029:1',
'test-methods-print.R:1041:1', 'test-methods-print.R:1054:1',
'test-methods-print.R:1067:1', 'test-methods-print.R:1779:1',
'test-methods-print.R:1788:1', 'test-methods-print.R:1794:1',
'test-methods-print.R:1801:1', 'test-methods-print.R:1807:1',
'test-methods-print.R:1813:1', 'test-methods-print.R:1819:1',
'test-methods-print.R:1825:1', 'test-methods-print.R:1866:1',
'test-methods-print.R:1873:1', 'test-methods-print.R:1887:1',
'test-methods-print.R:2038:1', 'test-methods-print.R:2052:1',
'test-methods-print.R:2065:1', 'test-methods-print.R:2080:1',
'test-methods-print.R:2187:1', 'test-nonprob-bootstrap-variance.R:618: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:447:1',
'test-survey-collection-dispatch.R:560:1',
'test-survey-collection-dispatch.R:820: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:146:1', 'test-update-design.R:395:1',
'test-utils.R:632:1', 'test-utils.R:1049:1', 'test-utils.R:1075: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:4:1', 'test-variance-vendored-saddlepoint.R:9:1'
• R/ source tree not available (installed-package test layout) (1):
'test-metadata-system.R:2946:5'
• Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1):
'test-edge-conditions.R:240:3'
• {MASS} is not installed (1): 'test-calibration.R:655:3'
• {surveytidy} is not installed (33): 'test-analysis-corr.R:153:3',
'test-analysis-corr.R:237:3', 'test-analysis-corr.R:265:3',
'test-analysis-corr.R:320:3', 'test-analysis-corr.R:344:3',
'test-analysis-corr.R:373:3', 'test-analysis-corr.R:394:3',
'test-analysis-corr.R:1214:3', 'test-analysis-corr.R:1223:3',
'test-analysis-diffs.R:641:3', 'test-analysis-freqs.R:1562:3',
'test-analysis-freqs.R:1571:3', 'test-analysis-means.R:795:3',
'test-analysis-means.R:804:3', 'test-analysis-quantiles.R:1227:3',
'test-analysis-quantiles.R:1236:3', 'test-analysis-ratios.R:384:3',
'test-analysis-ratios.R:416:3', 'test-analysis-ratios.R:1023:3',
'test-analysis-ratios.R:1032:3', 'test-analysis-totals.R:607:3',
'test-analysis-totals.R:616:3', 'test-analysis-variance.R:259:3',
'test-conversion.R:3793:3', 'test-conversion.R:4255:3',
'test-effective-n.R:278:3', 'test-glm.R:387:3',
'test-methods-compat.R:363:3', 'test-methods-compat.R:376:3',
'test-methods-compat.R:395:3', 'test-methods-compat.R:409:3',
'test-variance-taylor.R:1531:5', 'test-variance-taylor.R:1583:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-constructors.R:78:3'): as_survey() stores call in @call ──────
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:79:3'): as_survey() stores call in @call ──────
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:544:3'): as_survey_replicate() stores call in @call ──
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:545:3'): as_survey_replicate() stores call in @call ──
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:3818:3'): as_survey_twophase() stores call in @call ──
Expected `is.null(d2@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:3819:3'): as_survey_twophase() stores call in @call ──
Expected `is.call(d2@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:2433:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2437:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-dataset-metadata.R:2437:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:2456:3'): the stale guard runs ahead of the convention rules ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_dataset_metadata()` requires at least one key-value pair.
v Use named `...` args: `set_dataset_metadata(x, vendor = 'Ipsos')`.
Backtrace:
▆
1. ├─testthat::expect_error(set_dataset_metadata(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:2456:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d)
8. └─surveycore:::.parse_setter_input(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2469:3'): the stale guard runs ahead of the unknown-key rule ──
<surveycore_error_dataset_key_unknown/rlang_error/error/condition>
Error in `eval(code, test_env)`: x "mode" is not a dataset metadata key.
i Valid keys: "survey_name", "data_name", "vendor", "field_start", "field_end", and "field_period".
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2469:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d, mode = "web")
8. └─surveycore:::.abort_dataset_key_unknown(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2486:3'): a deletion on a stale design raises the unavailable error ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2486:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_dataset_metadata(d, vendor = NULL)
8. │ ├─base::`@<-`(...)
9. │ └─S7:::`@<-.S7_object`(...)
10. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
11. └─S7 (local) `<fn>`(...)
12. └─S7:::stop2(msg, call = prop_call(object, name))
── Failure ('test-dataset-metadata.R:3526:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3530:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_survey_name(d, "Example Survey")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3534:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_data_name(d, "Example (2026)")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3538:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_period(d, "February-March 2026")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3542:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_dates(d, "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3551:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3555:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(error = TRUE, set_vendor(d, "x")) at test-dataset-metadata.R:3555:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:3576:3'): a wrapper deletion on a stale design also raises DM-8 ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, NULL), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3576:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_vendor(d, NULL)
8. │ └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. │ ├─base::`@<-`(...)
10. │ └─S7:::`@<-.S7_object`(...)
11. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
12. └─S7 (local) `<fn>`(...)
13. └─S7:::stop2(msg, call = prop_call(object, name))
── Error ('test-dataset-metadata.R:3591:3'): the stale guard runs ahead of a wrapper's missing-value guard ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_vendor()` requires a value for `vendor`.
v Supply a single character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3591:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d)
8. └─surveycore:::.abort_wrapper_setter_empty(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:3624:3'): the stale guard runs ahead of a wrapper's value check ──
<surveycore_error_dataset_metadata_bad_type/rlang_error/error/condition>
Error in `set_vendor(d, 1L)`: x Dataset metadata key "vendor" must be a single non-NA character string, not <integer> of length 1.
v Supply a single non-NA character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, 1L), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3624:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d, 1L)
8. └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. └─surveycore:::.check_dataset_key_value(...)
10. └─cli::cli_abort(...)
11. └─rlang::abort(...)
── Error ('test-glm-methods.R:602:3'): update(fit, family = poisson()) returns new survey_glm_fit with Poisson family ──
<surveycore_error_update_no_call/rlang_error/error/condition>
Error in `update(fit_gauss, family = poisson())`: x Cannot update <survey_glm_fit>: @call is NULL.
v Refit the model to restore `update()` support.
Backtrace:
▆
1. ├─stats::update(fit_gauss, family = poisson()) at test-glm-methods.R:602:3
2. └─surveycore (local) `update.surveycore::survey_glm_fit`(fit_gauss, family = poisson())
3. └─cli::cli_abort(...)
4. └─rlang::abort(...)
[ FAIL 42 | WARN 340 | SKIP 621 | PASS 12317 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [253s/283s]
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
# 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".
Saving _problems/test-constructors-78.R
Saving _problems/test-constructors-79.R
Saving _problems/test-constructors-544.R
Saving _problems/test-constructors-545.R
Saving _problems/test-constructors-3818.R
Saving _problems/test-constructors-3819.R
-- 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
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-2436.R
Saving _problems/test-dataset-metadata-2437.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2459.R
Saving _problems/test-dataset-metadata-2472.R
Saving _problems/test-dataset-metadata-2489.R
Saving _problems/test-dataset-metadata-3529.R
Saving _problems/test-dataset-metadata-3533.R
Saving _problems/test-dataset-metadata-3537.R
Saving _problems/test-dataset-metadata-3541.R
Saving _problems/test-dataset-metadata-3545.R
Saving _problems/test-dataset-metadata-3554.R
Saving _problems/test-dataset-metadata-3555.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3579.R
Saving _problems/test-dataset-metadata-3594.R
Saving _problems/test-dataset-metadata-3627.R
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
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)
Saving _problems/test-glm-methods-602.R
x is ignored when method = 'kish'
x is ignored when method = 'kish'
# 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 42 | WARN 340 | SKIP 620 | PASS 12318 ]
══ Skipped tests (620) ═════════════════════════════════════════════════════════
• 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 (583): '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:378:1',
'test-analysis-corr-latent-primitives.R:512:1',
'test-analysis-corr-latent-primitives.R:803: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:1645:1', 'test-analysis-corr.R:1662:1',
'test-analysis-covariance.R:696:1', 'test-analysis-covariance.R:705:1',
'test-analysis-covariance.R:718:1', 'test-analysis-covariance.R:740:1',
'test-analysis-covariance.R:753:1', 'test-analysis-covariance.R:774:1',
'test-analysis-covariance.R:791:1', 'test-analysis-covariance.R:804:1',
'test-analysis-covariance.R:825:1', 'test-analysis-covariance.R:857:1',
'test-analysis-covariance.R:890:1', 'test-analysis-covariance.R:930:1',
'test-analysis-covariance.R:1135:1', 'test-analysis-covariance.R:1158:1',
'test-analysis-covariance.R:1180: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:590:1', 'test-analysis-freqs.R:601:1',
'test-analysis-freqs.R:622:1', 'test-analysis-freqs.R:643:1',
'test-analysis-freqs.R:664:1', 'test-analysis-freqs.R:1335:1',
'test-analysis-freqs.R:1579: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:877:1',
'test-analysis-helpers.R:1236:1', 'test-analysis-helpers.R:1276:1',
'test-analysis-helpers.R:1587:1', 'test-analysis-means.R:320:1',
'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1',
'test-analysis-methods-coef-vcov.R:261:1',
'test-analysis-methods-coef-vcov.R:270:1',
'test-analysis-methods-coef-vcov.R:279:1',
'test-analysis-methods-coef-vcov.R:288:1',
'test-analysis-methods-coef-vcov.R:297:1',
'test-analysis-methods-coef-vcov.R:306:1',
'test-analysis-methods-coef-vcov.R:334:1',
'test-analysis-methods-coef-vcov.R:343:1',
'test-analysis-methods-coef-vcov.R:352:1',
'test-analysis-methods-coef-vcov.R:361:1',
'test-analysis-methods-coef-vcov.R:373:1',
'test-analysis-methods-coef-vcov.R:386:1',
'test-analysis-methods-coef-vcov.R:410:1',
'test-analysis-methods-coef-vcov.R:421:1',
'test-analysis-methods-coef-vcov.R:433:1',
'test-analysis-methods-coef-vcov.R:778:1',
'test-analysis-methods-coef-vcov.R:813:1',
'test-analysis-methods-coef-vcov.R:1124:1',
'test-analysis-quantiles.R:866:1', 'test-analysis-quantiles.R:874:1',
'test-analysis-quantiles.R:909:1', 'test-analysis-quantiles.R:921:1',
'test-analysis-quantiles.R:1244: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-totals.R:1337: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:577:1', 'test-analysis-variance.R:587:1',
'test-analysis-variance.R:601:1', 'test-analysis-variance.R:613:1',
'test-analysis-variance.R:625:1', 'test-analysis-variance.R:636:1',
'test-analysis-variance.R:655:1', 'test-analysis-variance.R:670:1',
'test-analysis-variance.R:684: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:759:1', 'test-calibration.R:770:1',
'test-calibration.R:784:1', 'test-calibration.R:798:1',
'test-calibration.R:810:1', 'test-calibration.R:824:1',
'test-calibration.R:862:1', 'test-calibration.R:876:1',
'test-calibration.R:888:1', 'test-calibration.R:900:1',
'test-calibration.R:915:1', 'test-calibration.R:928:1',
'test-calibration.R:941:1', 'test-calibration.R:970:1',
'test-calibration.R:995:1', 'test-calibration.R:1023: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:136:1', 'test-constructors.R:152:1',
'test-constructors.R:162:1', 'test-constructors.R:180:1',
'test-constructors.R:190:1', 'test-constructors.R:249:1',
'test-constructors.R:262:1', 'test-constructors.R:292:1',
'test-constructors.R:305:1', 'test-constructors.R:332:1',
'test-constructors.R:350:1', 'test-constructors.R:364:1',
'test-constructors.R:857:1', 'test-constructors.R:1113:1',
'test-constructors.R:1142:1', 'test-constructors.R:1214:1',
'test-constructors.R:1305:1', 'test-constructors.R:1762:1',
'test-constructors.R:2038:1', 'test-constructors.R:2060:1',
'test-constructors.R:2216:1', 'test-constructors.R:2664:1',
'test-constructors.R:2690:1', 'test-constructors.R:2776:1',
'test-constructors.R:3136:1', 'test-constructors.R:3166:1',
'test-constructors.R:3192:1', 'test-constructors.R:3216:1',
'test-constructors.R:3245:1', 'test-constructors.R:3273:1',
'test-constructors.R:3302:1', 'test-constructors.R:3330:1',
'test-constructors.R:3358:1', 'test-constructors.R:3418:1',
'test-constructors.R:3440:1', 'test-constructors.R:3506:1',
'test-constructors.R:3521:1', 'test-constructors.R:3534:1',
'test-constructors.R:3557:1', 'test-constructors.R:3879:1',
'test-constructors.R:4014:1', 'test-constructors.R:4038:1',
'test-constructors.R:4161:1', 'test-constructors.R:4172:1',
'test-constructors.R:4188:1', 'test-constructors.R:4204:1',
'test-constructors.R:4226:1', 'test-constructors.R:4287:1',
'test-constructors.R:4577:1', 'test-constructors.R:4588:1',
'test-constructors.R:4600:1', 'test-constructors.R:4612:1',
'test-constructors.R:4624:1', 'test-constructors.R:4636:1',
'test-constructors.R:4702:1', 'test-constructors.R:4708:1',
'test-constructors.R:4714:1', 'test-constructors.R:4720:1',
'test-constructors.R:4726:1', 'test-constructors.R:4733:1',
'test-constructors.R:4881:1', 'test-constructors.R:5037:1',
'test-constructors.R:5049:1', 'test-constructors.R:5061:1',
'test-constructors.R:5073:1', 'test-constructors.R:5095:1',
'test-constructors.R:5117:1', 'test-constructors.R:5139:1',
'test-constructors.R:5151:1', 'test-constructors.R:5174:1',
'test-constructors.R:5247:1', 'test-constructors.R:5274:1',
'test-constructors.R:5301:1', 'test-constructors.R:5448:1',
'test-constructors.R:5475:1', 'test-constructors.R:5502:1',
'test-constructors.R:5593:1', 'test-constructors.R:5631:1',
'test-constructors.R:5655:1', 'test-constructors.R:5679:1',
'test-constructors.R:5702:1', 'test-constructors.R:5809:1',
'test-constructors.R:5824:1', 'test-constructors.R:5839:1',
'test-constructors.R:5858:1', 'test-constructors.R:5877:1',
'test-constructors.R:5896:1', 'test-constructors.R:5927:1',
'test-constructors.R:5939:1', 'test-constructors.R:5953:1',
'test-constructors.R:5968:1', 'test-constructors.R:5985:1',
'test-constructors.R:6238:1', 'test-constructors.R:6249:1',
'test-constructors.R:6260:1', 'test-constructors.R:6271:1',
'test-constructors.R:6347:1', 'test-constructors.R:6362:1',
'test-constructors.R:6401:1', 'test-constructors.R:6412:1',
'test-constructors.R:6425:1', 'test-constructors.R:6623:1',
'test-conversion.R:285:1', 'test-conversion.R:1906:1',
'test-conversion.R:1972:1', 'test-conversion.R:2014:1',
'test-conversion.R:2068:1', 'test-conversion.R:2180:1',
'test-conversion.R:2487:1', 'test-conversion.R:2706:1',
'test-conversion.R:2747:1', 'test-conversion.R:3518:1',
'test-conversion.R:5500:1', 'test-conversion.R:5518:1',
'test-conversion.R:5536:1', 'test-conversion.R:5591:1',
'test-dataset-metadata.R:296:1', 'test-dataset-metadata.R:715:1',
'test-dataset-metadata.R:738:1', 'test-dataset-metadata.R:761:1',
'test-dataset-metadata.R:781:1', 'test-dataset-metadata.R:810:1',
'test-dataset-metadata.R:833:1', 'test-dataset-metadata.R:881:1',
'test-dataset-metadata.R:892:1', 'test-dataset-metadata.R:900:1',
'test-dataset-metadata.R:911:1', 'test-dataset-metadata.R:925:1',
'test-dataset-metadata.R:959:1', 'test-dataset-metadata.R:981:1',
'test-dataset-metadata.R:1000:1', 'test-dataset-metadata.R:1022:1',
'test-dataset-metadata.R:1056:1', 'test-dataset-metadata.R:1251:1',
'test-dataset-metadata.R:1279:1', 'test-dataset-metadata.R:1288:1',
'test-dataset-metadata.R:1310:1', 'test-dataset-metadata.R:1349:1',
'test-dataset-metadata.R:1375:1', 'test-dataset-metadata.R:1394:1',
'test-dataset-metadata.R:1404:1', 'test-dataset-metadata.R:1414:1',
'test-dataset-metadata.R:1420:1', 'test-dataset-metadata.R:1454:1',
'test-dataset-metadata.R:1478:1', 'test-dataset-metadata.R:1488:1',
'test-dataset-metadata.R:1500:1', 'test-dataset-metadata.R:1635:1',
'test-dataset-metadata.R:1654:1', 'test-dataset-metadata.R:1995:1',
'test-dataset-metadata.R:2546:1', 'test-dataset-metadata.R:2559:1',
'test-dataset-metadata.R:2788:1', 'test-dataset-metadata.R:2795:1',
'test-dataset-metadata.R:2812:1', 'test-dataset-metadata.R:2822:1',
'test-dataset-metadata.R:2979:1', 'test-dataset-metadata.R:2991:1',
'test-dataset-metadata.R:3205:1', 'test-dataset-metadata.R:3217:1',
'test-dataset-metadata.R:3228:1', 'test-dataset-metadata.R:3247:1',
'test-dataset-metadata.R:3257:1', 'test-dataset-metadata.R:3399:1',
'test-dataset-metadata.R:3421:1', 'test-dataset-metadata.R:3859:1',
'test-effective-n.R:212:1', 'test-effective-n.R:220:1',
'test-effective-n.R:229:1', 'test-effective-n.R:455:1',
'test-effective-n.R:463:1', 'test-effective-n.R:471:1',
'test-effective-n.R:479: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-labelled-storage.R:492:1', 'test-labelled-storage.R:507:1',
'test-labelled-storage.R:522:1', 'test-labelled-storage.R:539:1',
'test-labelled-storage.R:610:1', 'test-labelled-storage.R:637:1',
'test-labelled-storage.R:687:1', 'test-labelled-storage.R:753:1',
'test-metadata-infer.R:408:1', 'test-metadata-system.R:188:1',
'test-metadata-system.R:872:1', 'test-metadata-system.R:876:1',
'test-metadata-system.R:884:1', 'test-metadata-system.R:889:1',
'test-metadata-system.R:897:1', 'test-metadata-system.R:902:1',
'test-metadata-system.R:907:1', 'test-metadata-system.R:912:1',
'test-metadata-system.R:1088:1', 'test-metadata-system.R:1093:1',
'test-metadata-system.R:1098:1', 'test-metadata-system.R:1102:1',
'test-metadata-system.R:1107:1', 'test-metadata-system.R:1115:1',
'test-metadata-system.R:1123:1', 'test-metadata-system.R:1128:1',
'test-metadata-system.R:1270:1', 'test-metadata-system.R:1277: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:1441:1',
'test-metadata-system.R:1445:1', 'test-metadata-system.R:1453:1',
'test-metadata-system.R:1458:1', 'test-metadata-system.R:1466:1',
'test-metadata-system.R:1471:1', 'test-metadata-system.R:1476:1',
'test-metadata-system.R:1602:1', 'test-metadata-system.R:1606:1',
'test-metadata-system.R:1611:1', 'test-metadata-system.R:1619:1',
'test-metadata-system.R:1624:1', 'test-metadata-system.R:1632:1',
'test-metadata-system.R:1637:1', 'test-metadata-system.R:1786:1',
'test-metadata-system.R:1791:1', 'test-metadata-system.R:1798:1',
'test-metadata-system.R:1806:1', 'test-metadata-system.R:1811:1',
'test-metadata-system.R:1823:1', 'test-metadata-system.R:1828:1',
'test-metadata-system.R:2203:1', 'test-metadata-system.R:2210:1',
'test-metadata-system.R:2218:1', 'test-metadata-system.R:2223:1',
'test-metadata-system.R:2231:1', 'test-metadata-system.R:2236:1',
'test-metadata-system.R:2241:1', 'test-metadata-system.R:2249:1',
'test-metadata-system.R:2254:1', 'test-metadata-system.R:2531:1',
'test-metadata-system.R:2684:1', 'test-metadata-system.R:2698:1',
'test-metadata-system.R:2712:1', 'test-metadata-system.R:2726:1',
'test-metadata-system.R:2846:1', 'test-metadata-system.R:3133:1',
'test-metadata-system.R:3137:1', 'test-metadata-system.R:3317:1',
'test-metadata-system.R:3325:1', 'test-metadata-system.R:3343:1',
'test-metadata-system.R:3358:1', 'test-metadata-system.R:3373:1',
'test-metadata-system.R:3553:1', 'test-metadata-system.R:3561:1',
'test-metadata-system.R:3576:1', 'test-metadata-system.R:3591:1',
'test-metadata-system.R:3774:1', 'test-metadata-system.R:3782:1',
'test-metadata-system.R:3790:1', 'test-metadata-system.R:3805:1',
'test-metadata-system.R:3823:1', 'test-metadata-system.R:3841:1',
'test-metadata-system.R:3859:1', 'test-metadata-system.R:3874:1',
'test-metadata-system.R:4051:1', 'test-metadata-system.R:4059:1',
'test-metadata-system.R:4067:1', 'test-metadata-system.R:4085:1',
'test-metadata-system.R:4103:1', 'test-metadata-system.R:4121:1',
'test-metadata-system.R:4136:1', 'test-metadata-system.R:4201:1',
'test-metadata-system.R:4212:1', 'test-metadata-system.R:4361:1',
'test-methods-compat.R:249:1', 'test-methods-compat.R:264:1',
'test-methods-compat.R:274:1', 'test-methods-print.R:107:1',
'test-methods-print.R:118:1', 'test-methods-print.R:216:1',
'test-methods-print.R:226:1', 'test-methods-print.R:244:1',
'test-methods-print.R:254:1', 'test-methods-print.R:272:1',
'test-methods-print.R:313:1', 'test-methods-print.R:328:1',
'test-methods-print.R:353:1', 'test-methods-print.R:363:1',
'test-methods-print.R:374:1', 'test-methods-print.R:385:1',
'test-methods-print.R:395:1', 'test-methods-print.R:405:1',
'test-methods-print.R:420:1', 'test-methods-print.R:434:1',
'test-methods-print.R:502:1', 'test-methods-print.R:513:1',
'test-methods-print.R:554:1', 'test-methods-print.R:562:1',
'test-methods-print.R:723:1', 'test-methods-print.R:749:1',
'test-methods-print.R:771:1', 'test-methods-print.R:792:1',
'test-methods-print.R:805:1', 'test-methods-print.R:818:1',
'test-methods-print.R:825:1', 'test-methods-print.R:931:1',
'test-methods-print.R:943:1', 'test-methods-print.R:956:1',
'test-methods-print.R:969:1', 'test-methods-print.R:1029:1',
'test-methods-print.R:1041:1', 'test-methods-print.R:1054:1',
'test-methods-print.R:1067:1', 'test-methods-print.R:1779:1',
'test-methods-print.R:1788:1', 'test-methods-print.R:1794:1',
'test-methods-print.R:1801:1', 'test-methods-print.R:1807:1',
'test-methods-print.R:1813:1', 'test-methods-print.R:1819:1',
'test-methods-print.R:1825:1', 'test-methods-print.R:1866:1',
'test-methods-print.R:1873:1', 'test-methods-print.R:1887:1',
'test-methods-print.R:2038:1', 'test-methods-print.R:2052:1',
'test-methods-print.R:2065:1', 'test-methods-print.R:2080:1',
'test-methods-print.R:2187:1', 'test-nonprob-bootstrap-variance.R:618: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:447:1',
'test-survey-collection-dispatch.R:560:1',
'test-survey-collection-dispatch.R:820: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:146:1', 'test-update-design.R:395:1',
'test-utils.R:632:1', 'test-utils.R:1049:1', 'test-utils.R:1075: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:4:1', 'test-variance-vendored-saddlepoint.R:9:1'
• R/ source tree not available (installed-package test layout) (1):
'test-metadata-system.R:2946:5'
• Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1):
'test-edge-conditions.R:240:3'
• {surveytidy} is not installed (33): 'test-analysis-corr.R:153:3',
'test-analysis-corr.R:237:3', 'test-analysis-corr.R:265:3',
'test-analysis-corr.R:320:3', 'test-analysis-corr.R:344:3',
'test-analysis-corr.R:373:3', 'test-analysis-corr.R:394:3',
'test-analysis-corr.R:1214:3', 'test-analysis-corr.R:1223:3',
'test-analysis-diffs.R:641:3', 'test-analysis-freqs.R:1562:3',
'test-analysis-freqs.R:1571:3', 'test-analysis-means.R:795:3',
'test-analysis-means.R:804:3', 'test-analysis-quantiles.R:1227:3',
'test-analysis-quantiles.R:1236:3', 'test-analysis-ratios.R:384:3',
'test-analysis-ratios.R:416:3', 'test-analysis-ratios.R:1023:3',
'test-analysis-ratios.R:1032:3', 'test-analysis-totals.R:607:3',
'test-analysis-totals.R:616:3', 'test-analysis-variance.R:259:3',
'test-conversion.R:3793:3', 'test-conversion.R:4255:3',
'test-effective-n.R:278:3', 'test-glm.R:387:3',
'test-methods-compat.R:363:3', 'test-methods-compat.R:376:3',
'test-methods-compat.R:395:3', 'test-methods-compat.R:409:3',
'test-variance-taylor.R:1531:5', 'test-variance-taylor.R:1583:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-constructors.R:78:3'): as_survey() stores call in @call ──────
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:79:3'): as_survey() stores call in @call ──────
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:544:3'): as_survey_replicate() stores call in @call ──
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:545:3'): as_survey_replicate() stores call in @call ──
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:3818:3'): as_survey_twophase() stores call in @call ──
Expected `is.null(d2@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:3819:3'): as_survey_twophase() stores call in @call ──
Expected `is.call(d2@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:2433:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2437:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-dataset-metadata.R:2437:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:2456:3'): the stale guard runs ahead of the convention rules ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_dataset_metadata()` requires at least one key-value pair.
v Use named `...` args: `set_dataset_metadata(x, vendor = 'Ipsos')`.
Backtrace:
▆
1. ├─testthat::expect_error(set_dataset_metadata(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:2456:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d)
8. └─surveycore:::.parse_setter_input(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2469:3'): the stale guard runs ahead of the unknown-key rule ──
<surveycore_error_dataset_key_unknown/rlang_error/error/condition>
Error in `eval(code, test_env)`: x "mode" is not a dataset metadata key.
i Valid keys: "survey_name", "data_name", "vendor", "field_start", "field_end", and "field_period".
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2469:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d, mode = "web")
8. └─surveycore:::.abort_dataset_key_unknown(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2486:3'): a deletion on a stale design raises the unavailable error ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2486:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_dataset_metadata(d, vendor = NULL)
8. │ ├─base::`@<-`(...)
9. │ └─S7:::`@<-.S7_object`(...)
10. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
11. └─S7 (local) `<fn>`(...)
12. └─S7:::stop2(msg, call = prop_call(object, name))
── Failure ('test-dataset-metadata.R:3526:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3530:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_survey_name(d, "Example Survey")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3534:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_data_name(d, "Example (2026)")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3538:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_period(d, "February-March 2026")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3542:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_dates(d, "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3551:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3555:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(error = TRUE, set_vendor(d, "x")) at test-dataset-metadata.R:3555:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:3576:3'): a wrapper deletion on a stale design also raises DM-8 ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, NULL), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3576:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_vendor(d, NULL)
8. │ └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. │ ├─base::`@<-`(...)
10. │ └─S7:::`@<-.S7_object`(...)
11. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
12. └─S7 (local) `<fn>`(...)
13. └─S7:::stop2(msg, call = prop_call(object, name))
── Error ('test-dataset-metadata.R:3591:3'): the stale guard runs ahead of a wrapper's missing-value guard ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_vendor()` requires a value for `vendor`.
v Supply a single character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3591:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d)
8. └─surveycore:::.abort_wrapper_setter_empty(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:3624:3'): the stale guard runs ahead of a wrapper's value check ──
<surveycore_error_dataset_metadata_bad_type/rlang_error/error/condition>
Error in `set_vendor(d, 1L)`: x Dataset metadata key "vendor" must be a single non-NA character string, not <integer> of length 1.
v Supply a single non-NA character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, 1L), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3624:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d, 1L)
8. └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. └─surveycore:::.check_dataset_key_value(...)
10. └─cli::cli_abort(...)
11. └─rlang::abort(...)
── Error ('test-glm-methods.R:602:3'): update(fit, family = poisson()) returns new survey_glm_fit with Poisson family ──
<surveycore_error_update_no_call/rlang_error/error/condition>
Error in `update(fit_gauss, family = poisson())`: x Cannot update <survey_glm_fit>: @call is NULL.
v Refit the model to restore `update()` support.
Backtrace:
▆
1. ├─stats::update(fit_gauss, family = poisson()) at test-glm-methods.R:602:3
2. └─surveycore (local) `update.surveycore::survey_glm_fit`(fit_gauss, family = poisson())
3. └─cli::cli_abort(...)
4. └─rlang::abort(...)
[ FAIL 42 | WARN 340 | SKIP 620 | PASS 12318 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [399s/463s]
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
# 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".
Saving _problems/test-constructors-78.R
Saving _problems/test-constructors-79.R
Saving _problems/test-constructors-544.R
Saving _problems/test-constructors-545.R
Saving _problems/test-constructors-3818.R
Saving _problems/test-constructors-3819.R
-- 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
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-2436.R
Saving _problems/test-dataset-metadata-2437.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2459.R
Saving _problems/test-dataset-metadata-2472.R
Saving _problems/test-dataset-metadata-2489.R
Saving _problems/test-dataset-metadata-3529.R
Saving _problems/test-dataset-metadata-3533.R
Saving _problems/test-dataset-metadata-3537.R
Saving _problems/test-dataset-metadata-3541.R
Saving _problems/test-dataset-metadata-3545.R
Saving _problems/test-dataset-metadata-3554.R
Saving _problems/test-dataset-metadata-3555.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3579.R
Saving _problems/test-dataset-metadata-3594.R
Saving _problems/test-dataset-metadata-3627.R
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
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)
Saving _problems/test-glm-methods-602.R
x is ignored when method = 'kish'
x is ignored when method = 'kish'
# 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 42 | WARN 340 | SKIP 621 | PASS 12317 ]
══ Skipped tests (621) ═════════════════════════════════════════════════════════
• 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 (583): '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:378:1',
'test-analysis-corr-latent-primitives.R:512:1',
'test-analysis-corr-latent-primitives.R:803: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:1645:1', 'test-analysis-corr.R:1662:1',
'test-analysis-covariance.R:696:1', 'test-analysis-covariance.R:705:1',
'test-analysis-covariance.R:718:1', 'test-analysis-covariance.R:740:1',
'test-analysis-covariance.R:753:1', 'test-analysis-covariance.R:774:1',
'test-analysis-covariance.R:791:1', 'test-analysis-covariance.R:804:1',
'test-analysis-covariance.R:825:1', 'test-analysis-covariance.R:857:1',
'test-analysis-covariance.R:890:1', 'test-analysis-covariance.R:930:1',
'test-analysis-covariance.R:1135:1', 'test-analysis-covariance.R:1158:1',
'test-analysis-covariance.R:1180: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:590:1', 'test-analysis-freqs.R:601:1',
'test-analysis-freqs.R:622:1', 'test-analysis-freqs.R:643:1',
'test-analysis-freqs.R:664:1', 'test-analysis-freqs.R:1335:1',
'test-analysis-freqs.R:1579: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:877:1',
'test-analysis-helpers.R:1236:1', 'test-analysis-helpers.R:1276:1',
'test-analysis-helpers.R:1587:1', 'test-analysis-means.R:320:1',
'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1',
'test-analysis-methods-coef-vcov.R:261:1',
'test-analysis-methods-coef-vcov.R:270:1',
'test-analysis-methods-coef-vcov.R:279:1',
'test-analysis-methods-coef-vcov.R:288:1',
'test-analysis-methods-coef-vcov.R:297:1',
'test-analysis-methods-coef-vcov.R:306:1',
'test-analysis-methods-coef-vcov.R:334:1',
'test-analysis-methods-coef-vcov.R:343:1',
'test-analysis-methods-coef-vcov.R:352:1',
'test-analysis-methods-coef-vcov.R:361:1',
'test-analysis-methods-coef-vcov.R:373:1',
'test-analysis-methods-coef-vcov.R:386:1',
'test-analysis-methods-coef-vcov.R:410:1',
'test-analysis-methods-coef-vcov.R:421:1',
'test-analysis-methods-coef-vcov.R:433:1',
'test-analysis-methods-coef-vcov.R:778:1',
'test-analysis-methods-coef-vcov.R:813:1',
'test-analysis-methods-coef-vcov.R:1124:1',
'test-analysis-quantiles.R:866:1', 'test-analysis-quantiles.R:874:1',
'test-analysis-quantiles.R:909:1', 'test-analysis-quantiles.R:921:1',
'test-analysis-quantiles.R:1244: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-totals.R:1337: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:577:1', 'test-analysis-variance.R:587:1',
'test-analysis-variance.R:601:1', 'test-analysis-variance.R:613:1',
'test-analysis-variance.R:625:1', 'test-analysis-variance.R:636:1',
'test-analysis-variance.R:655:1', 'test-analysis-variance.R:670:1',
'test-analysis-variance.R:684: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:759:1', 'test-calibration.R:770:1',
'test-calibration.R:784:1', 'test-calibration.R:798:1',
'test-calibration.R:810:1', 'test-calibration.R:824:1',
'test-calibration.R:862:1', 'test-calibration.R:876:1',
'test-calibration.R:888:1', 'test-calibration.R:900:1',
'test-calibration.R:915:1', 'test-calibration.R:928:1',
'test-calibration.R:941:1', 'test-calibration.R:970:1',
'test-calibration.R:995:1', 'test-calibration.R:1023: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:136:1', 'test-constructors.R:152:1',
'test-constructors.R:162:1', 'test-constructors.R:180:1',
'test-constructors.R:190:1', 'test-constructors.R:249:1',
'test-constructors.R:262:1', 'test-constructors.R:292:1',
'test-constructors.R:305:1', 'test-constructors.R:332:1',
'test-constructors.R:350:1', 'test-constructors.R:364:1',
'test-constructors.R:857:1', 'test-constructors.R:1113:1',
'test-constructors.R:1142:1', 'test-constructors.R:1214:1',
'test-constructors.R:1305:1', 'test-constructors.R:1762:1',
'test-constructors.R:2038:1', 'test-constructors.R:2060:1',
'test-constructors.R:2216:1', 'test-constructors.R:2664:1',
'test-constructors.R:2690:1', 'test-constructors.R:2776:1',
'test-constructors.R:3136:1', 'test-constructors.R:3166:1',
'test-constructors.R:3192:1', 'test-constructors.R:3216:1',
'test-constructors.R:3245:1', 'test-constructors.R:3273:1',
'test-constructors.R:3302:1', 'test-constructors.R:3330:1',
'test-constructors.R:3358:1', 'test-constructors.R:3418:1',
'test-constructors.R:3440:1', 'test-constructors.R:3506:1',
'test-constructors.R:3521:1', 'test-constructors.R:3534:1',
'test-constructors.R:3557:1', 'test-constructors.R:3879:1',
'test-constructors.R:4014:1', 'test-constructors.R:4038:1',
'test-constructors.R:4161:1', 'test-constructors.R:4172:1',
'test-constructors.R:4188:1', 'test-constructors.R:4204:1',
'test-constructors.R:4226:1', 'test-constructors.R:4287:1',
'test-constructors.R:4577:1', 'test-constructors.R:4588:1',
'test-constructors.R:4600:1', 'test-constructors.R:4612:1',
'test-constructors.R:4624:1', 'test-constructors.R:4636:1',
'test-constructors.R:4702:1', 'test-constructors.R:4708:1',
'test-constructors.R:4714:1', 'test-constructors.R:4720:1',
'test-constructors.R:4726:1', 'test-constructors.R:4733:1',
'test-constructors.R:4881:1', 'test-constructors.R:5037:1',
'test-constructors.R:5049:1', 'test-constructors.R:5061:1',
'test-constructors.R:5073:1', 'test-constructors.R:5095:1',
'test-constructors.R:5117:1', 'test-constructors.R:5139:1',
'test-constructors.R:5151:1', 'test-constructors.R:5174:1',
'test-constructors.R:5247:1', 'test-constructors.R:5274:1',
'test-constructors.R:5301:1', 'test-constructors.R:5448:1',
'test-constructors.R:5475:1', 'test-constructors.R:5502:1',
'test-constructors.R:5593:1', 'test-constructors.R:5631:1',
'test-constructors.R:5655:1', 'test-constructors.R:5679:1',
'test-constructors.R:5702:1', 'test-constructors.R:5809:1',
'test-constructors.R:5824:1', 'test-constructors.R:5839:1',
'test-constructors.R:5858:1', 'test-constructors.R:5877:1',
'test-constructors.R:5896:1', 'test-constructors.R:5927:1',
'test-constructors.R:5939:1', 'test-constructors.R:5953:1',
'test-constructors.R:5968:1', 'test-constructors.R:5985:1',
'test-constructors.R:6238:1', 'test-constructors.R:6249:1',
'test-constructors.R:6260:1', 'test-constructors.R:6271:1',
'test-constructors.R:6347:1', 'test-constructors.R:6362:1',
'test-constructors.R:6401:1', 'test-constructors.R:6412:1',
'test-constructors.R:6425:1', 'test-constructors.R:6623:1',
'test-conversion.R:285:1', 'test-conversion.R:1906:1',
'test-conversion.R:1972:1', 'test-conversion.R:2014:1',
'test-conversion.R:2068:1', 'test-conversion.R:2180:1',
'test-conversion.R:2487:1', 'test-conversion.R:2706:1',
'test-conversion.R:2747:1', 'test-conversion.R:3518:1',
'test-conversion.R:5500:1', 'test-conversion.R:5518:1',
'test-conversion.R:5536:1', 'test-conversion.R:5591:1',
'test-dataset-metadata.R:296:1', 'test-dataset-metadata.R:715:1',
'test-dataset-metadata.R:738:1', 'test-dataset-metadata.R:761:1',
'test-dataset-metadata.R:781:1', 'test-dataset-metadata.R:810:1',
'test-dataset-metadata.R:833:1', 'test-dataset-metadata.R:881:1',
'test-dataset-metadata.R:892:1', 'test-dataset-metadata.R:900:1',
'test-dataset-metadata.R:911:1', 'test-dataset-metadata.R:925:1',
'test-dataset-metadata.R:959:1', 'test-dataset-metadata.R:981:1',
'test-dataset-metadata.R:1000:1', 'test-dataset-metadata.R:1022:1',
'test-dataset-metadata.R:1056:1', 'test-dataset-metadata.R:1251:1',
'test-dataset-metadata.R:1279:1', 'test-dataset-metadata.R:1288:1',
'test-dataset-metadata.R:1310:1', 'test-dataset-metadata.R:1349:1',
'test-dataset-metadata.R:1375:1', 'test-dataset-metadata.R:1394:1',
'test-dataset-metadata.R:1404:1', 'test-dataset-metadata.R:1414:1',
'test-dataset-metadata.R:1420:1', 'test-dataset-metadata.R:1454:1',
'test-dataset-metadata.R:1478:1', 'test-dataset-metadata.R:1488:1',
'test-dataset-metadata.R:1500:1', 'test-dataset-metadata.R:1635:1',
'test-dataset-metadata.R:1654:1', 'test-dataset-metadata.R:1995:1',
'test-dataset-metadata.R:2546:1', 'test-dataset-metadata.R:2559:1',
'test-dataset-metadata.R:2788:1', 'test-dataset-metadata.R:2795:1',
'test-dataset-metadata.R:2812:1', 'test-dataset-metadata.R:2822:1',
'test-dataset-metadata.R:2979:1', 'test-dataset-metadata.R:2991:1',
'test-dataset-metadata.R:3205:1', 'test-dataset-metadata.R:3217:1',
'test-dataset-metadata.R:3228:1', 'test-dataset-metadata.R:3247:1',
'test-dataset-metadata.R:3257:1', 'test-dataset-metadata.R:3399:1',
'test-dataset-metadata.R:3421:1', 'test-dataset-metadata.R:3859:1',
'test-effective-n.R:212:1', 'test-effective-n.R:220:1',
'test-effective-n.R:229:1', 'test-effective-n.R:455:1',
'test-effective-n.R:463:1', 'test-effective-n.R:471:1',
'test-effective-n.R:479: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-labelled-storage.R:492:1', 'test-labelled-storage.R:507:1',
'test-labelled-storage.R:522:1', 'test-labelled-storage.R:539:1',
'test-labelled-storage.R:610:1', 'test-labelled-storage.R:637:1',
'test-labelled-storage.R:687:1', 'test-labelled-storage.R:753:1',
'test-metadata-infer.R:408:1', 'test-metadata-system.R:188:1',
'test-metadata-system.R:872:1', 'test-metadata-system.R:876:1',
'test-metadata-system.R:884:1', 'test-metadata-system.R:889:1',
'test-metadata-system.R:897:1', 'test-metadata-system.R:902:1',
'test-metadata-system.R:907:1', 'test-metadata-system.R:912:1',
'test-metadata-system.R:1088:1', 'test-metadata-system.R:1093:1',
'test-metadata-system.R:1098:1', 'test-metadata-system.R:1102:1',
'test-metadata-system.R:1107:1', 'test-metadata-system.R:1115:1',
'test-metadata-system.R:1123:1', 'test-metadata-system.R:1128:1',
'test-metadata-system.R:1270:1', 'test-metadata-system.R:1277: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:1441:1',
'test-metadata-system.R:1445:1', 'test-metadata-system.R:1453:1',
'test-metadata-system.R:1458:1', 'test-metadata-system.R:1466:1',
'test-metadata-system.R:1471:1', 'test-metadata-system.R:1476:1',
'test-metadata-system.R:1602:1', 'test-metadata-system.R:1606:1',
'test-metadata-system.R:1611:1', 'test-metadata-system.R:1619:1',
'test-metadata-system.R:1624:1', 'test-metadata-system.R:1632:1',
'test-metadata-system.R:1637:1', 'test-metadata-system.R:1786:1',
'test-metadata-system.R:1791:1', 'test-metadata-system.R:1798:1',
'test-metadata-system.R:1806:1', 'test-metadata-system.R:1811:1',
'test-metadata-system.R:1823:1', 'test-metadata-system.R:1828:1',
'test-metadata-system.R:2203:1', 'test-metadata-system.R:2210:1',
'test-metadata-system.R:2218:1', 'test-metadata-system.R:2223:1',
'test-metadata-system.R:2231:1', 'test-metadata-system.R:2236:1',
'test-metadata-system.R:2241:1', 'test-metadata-system.R:2249:1',
'test-metadata-system.R:2254:1', 'test-metadata-system.R:2531:1',
'test-metadata-system.R:2684:1', 'test-metadata-system.R:2698:1',
'test-metadata-system.R:2712:1', 'test-metadata-system.R:2726:1',
'test-metadata-system.R:2846:1', 'test-metadata-system.R:3133:1',
'test-metadata-system.R:3137:1', 'test-metadata-system.R:3317:1',
'test-metadata-system.R:3325:1', 'test-metadata-system.R:3343:1',
'test-metadata-system.R:3358:1', 'test-metadata-system.R:3373:1',
'test-metadata-system.R:3553:1', 'test-metadata-system.R:3561:1',
'test-metadata-system.R:3576:1', 'test-metadata-system.R:3591:1',
'test-metadata-system.R:3774:1', 'test-metadata-system.R:3782:1',
'test-metadata-system.R:3790:1', 'test-metadata-system.R:3805:1',
'test-metadata-system.R:3823:1', 'test-metadata-system.R:3841:1',
'test-metadata-system.R:3859:1', 'test-metadata-system.R:3874:1',
'test-metadata-system.R:4051:1', 'test-metadata-system.R:4059:1',
'test-metadata-system.R:4067:1', 'test-metadata-system.R:4085:1',
'test-metadata-system.R:4103:1', 'test-metadata-system.R:4121:1',
'test-metadata-system.R:4136:1', 'test-metadata-system.R:4201:1',
'test-metadata-system.R:4212:1', 'test-metadata-system.R:4361:1',
'test-methods-compat.R:249:1', 'test-methods-compat.R:264:1',
'test-methods-compat.R:274:1', 'test-methods-print.R:107:1',
'test-methods-print.R:118:1', 'test-methods-print.R:216:1',
'test-methods-print.R:226:1', 'test-methods-print.R:244:1',
'test-methods-print.R:254:1', 'test-methods-print.R:272:1',
'test-methods-print.R:313:1', 'test-methods-print.R:328:1',
'test-methods-print.R:353:1', 'test-methods-print.R:363:1',
'test-methods-print.R:374:1', 'test-methods-print.R:385:1',
'test-methods-print.R:395:1', 'test-methods-print.R:405:1',
'test-methods-print.R:420:1', 'test-methods-print.R:434:1',
'test-methods-print.R:502:1', 'test-methods-print.R:513:1',
'test-methods-print.R:554:1', 'test-methods-print.R:562:1',
'test-methods-print.R:723:1', 'test-methods-print.R:749:1',
'test-methods-print.R:771:1', 'test-methods-print.R:792:1',
'test-methods-print.R:805:1', 'test-methods-print.R:818:1',
'test-methods-print.R:825:1', 'test-methods-print.R:931:1',
'test-methods-print.R:943:1', 'test-methods-print.R:956:1',
'test-methods-print.R:969:1', 'test-methods-print.R:1029:1',
'test-methods-print.R:1041:1', 'test-methods-print.R:1054:1',
'test-methods-print.R:1067:1', 'test-methods-print.R:1779:1',
'test-methods-print.R:1788:1', 'test-methods-print.R:1794:1',
'test-methods-print.R:1801:1', 'test-methods-print.R:1807:1',
'test-methods-print.R:1813:1', 'test-methods-print.R:1819:1',
'test-methods-print.R:1825:1', 'test-methods-print.R:1866:1',
'test-methods-print.R:1873:1', 'test-methods-print.R:1887:1',
'test-methods-print.R:2038:1', 'test-methods-print.R:2052:1',
'test-methods-print.R:2065:1', 'test-methods-print.R:2080:1',
'test-methods-print.R:2187:1', 'test-nonprob-bootstrap-variance.R:618: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:447:1',
'test-survey-collection-dispatch.R:560:1',
'test-survey-collection-dispatch.R:820: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:146:1', 'test-update-design.R:395:1',
'test-utils.R:632:1', 'test-utils.R:1049:1', 'test-utils.R:1075: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:4:1', 'test-variance-vendored-saddlepoint.R:9:1'
• R/ source tree not available (installed-package test layout) (1):
'test-metadata-system.R:2946:5'
• Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1):
'test-edge-conditions.R:240:3'
• {MASS} is not installed (1): 'test-calibration.R:655:3'
• {surveytidy} is not installed (33): 'test-analysis-corr.R:153:3',
'test-analysis-corr.R:237:3', 'test-analysis-corr.R:265:3',
'test-analysis-corr.R:320:3', 'test-analysis-corr.R:344:3',
'test-analysis-corr.R:373:3', 'test-analysis-corr.R:394:3',
'test-analysis-corr.R:1214:3', 'test-analysis-corr.R:1223:3',
'test-analysis-diffs.R:641:3', 'test-analysis-freqs.R:1562:3',
'test-analysis-freqs.R:1571:3', 'test-analysis-means.R:795:3',
'test-analysis-means.R:804:3', 'test-analysis-quantiles.R:1227:3',
'test-analysis-quantiles.R:1236:3', 'test-analysis-ratios.R:384:3',
'test-analysis-ratios.R:416:3', 'test-analysis-ratios.R:1023:3',
'test-analysis-ratios.R:1032:3', 'test-analysis-totals.R:607:3',
'test-analysis-totals.R:616:3', 'test-analysis-variance.R:259:3',
'test-conversion.R:3793:3', 'test-conversion.R:4255:3',
'test-effective-n.R:278:3', 'test-glm.R:387:3',
'test-methods-compat.R:363:3', 'test-methods-compat.R:376:3',
'test-methods-compat.R:395:3', 'test-methods-compat.R:409:3',
'test-variance-taylor.R:1531:5', 'test-variance-taylor.R:1583:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-constructors.R:78:3'): as_survey() stores call in @call ──────
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:79:3'): as_survey() stores call in @call ──────
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:544:3'): as_survey_replicate() stores call in @call ──
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:545:3'): as_survey_replicate() stores call in @call ──
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:3818:3'): as_survey_twophase() stores call in @call ──
Expected `is.null(d2@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:3819:3'): as_survey_twophase() stores call in @call ──
Expected `is.call(d2@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:2433:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2437:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-dataset-metadata.R:2437:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:2456:3'): the stale guard runs ahead of the convention rules ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_dataset_metadata()` requires at least one key-value pair.
v Use named `...` args: `set_dataset_metadata(x, vendor = 'Ipsos')`.
Backtrace:
▆
1. ├─testthat::expect_error(set_dataset_metadata(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:2456:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d)
8. └─surveycore:::.parse_setter_input(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2469:3'): the stale guard runs ahead of the unknown-key rule ──
<surveycore_error_dataset_key_unknown/rlang_error/error/condition>
Error in `eval(code, test_env)`: x "mode" is not a dataset metadata key.
i Valid keys: "survey_name", "data_name", "vendor", "field_start", "field_end", and "field_period".
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2469:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d, mode = "web")
8. └─surveycore:::.abort_dataset_key_unknown(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2486:3'): a deletion on a stale design raises the unavailable error ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2486:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_dataset_metadata(d, vendor = NULL)
8. │ ├─base::`@<-`(...)
9. │ └─S7:::`@<-.S7_object`(...)
10. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
11. └─S7 (local) `<fn>`(...)
12. └─S7:::stop2(msg, call = prop_call(object, name))
── Failure ('test-dataset-metadata.R:3526:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3530:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_survey_name(d, "Example Survey")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3534:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_data_name(d, "Example (2026)")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3538:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_period(d, "February-March 2026")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3542:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_dates(d, "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3551:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3555:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(error = TRUE, set_vendor(d, "x")) at test-dataset-metadata.R:3555:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:3576:3'): a wrapper deletion on a stale design also raises DM-8 ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, NULL), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3576:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_vendor(d, NULL)
8. │ └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. │ ├─base::`@<-`(...)
10. │ └─S7:::`@<-.S7_object`(...)
11. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
12. └─S7 (local) `<fn>`(...)
13. └─S7:::stop2(msg, call = prop_call(object, name))
── Error ('test-dataset-metadata.R:3591:3'): the stale guard runs ahead of a wrapper's missing-value guard ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_vendor()` requires a value for `vendor`.
v Supply a single character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3591:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d)
8. └─surveycore:::.abort_wrapper_setter_empty(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:3624:3'): the stale guard runs ahead of a wrapper's value check ──
<surveycore_error_dataset_metadata_bad_type/rlang_error/error/condition>
Error in `set_vendor(d, 1L)`: x Dataset metadata key "vendor" must be a single non-NA character string, not <integer> of length 1.
v Supply a single non-NA character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, 1L), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3624:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d, 1L)
8. └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. └─surveycore:::.check_dataset_key_value(...)
10. └─cli::cli_abort(...)
11. └─rlang::abort(...)
── Error ('test-glm-methods.R:602:3'): update(fit, family = poisson()) returns new survey_glm_fit with Poisson family ──
<surveycore_error_update_no_call/rlang_error/error/condition>
Error in `update(fit_gauss, family = poisson())`: x Cannot update <survey_glm_fit>: @call is NULL.
v Refit the model to restore `update()` support.
Backtrace:
▆
1. ├─stats::update(fit_gauss, family = poisson()) at test-glm-methods.R:602:3
2. └─surveycore (local) `update.surveycore::survey_glm_fit`(fit_gauss, family = poisson())
3. └─cli::cli_abort(...)
4. └─rlang::abort(...)
[ FAIL 42 | WARN 340 | SKIP 621 | PASS 12317 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [372s]
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
# 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".
Saving _problems/test-constructors-78.R
Saving _problems/test-constructors-79.R
Saving _problems/test-constructors-544.R
Saving _problems/test-constructors-545.R
Saving _problems/test-constructors-3818.R
Saving _problems/test-constructors-3819.R
-- 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
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-2436.R
Saving _problems/test-dataset-metadata-2437.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2459.R
Saving _problems/test-dataset-metadata-2472.R
Saving _problems/test-dataset-metadata-2489.R
Saving _problems/test-dataset-metadata-3529.R
Saving _problems/test-dataset-metadata-3533.R
Saving _problems/test-dataset-metadata-3537.R
Saving _problems/test-dataset-metadata-3541.R
Saving _problems/test-dataset-metadata-3545.R
Saving _problems/test-dataset-metadata-3554.R
Saving _problems/test-dataset-metadata-3555.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3579.R
Saving _problems/test-dataset-metadata-3594.R
Saving _problems/test-dataset-metadata-3627.R
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
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)
Saving _problems/test-glm-methods-602.R
x is ignored when method = 'kish'
x is ignored when method = 'kish'
# 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 42 | WARN 345 | SKIP 588 | PASS 12390 ]
══ Skipped tests (588) ═════════════════════════════════════════════════════════
• 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 (583): '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:378:1',
'test-analysis-corr-latent-primitives.R:512:1',
'test-analysis-corr-latent-primitives.R:803: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:1645:1', 'test-analysis-corr.R:1662:1',
'test-analysis-covariance.R:696:1', 'test-analysis-covariance.R:705:1',
'test-analysis-covariance.R:718:1', 'test-analysis-covariance.R:740:1',
'test-analysis-covariance.R:753:1', 'test-analysis-covariance.R:774:1',
'test-analysis-covariance.R:791:1', 'test-analysis-covariance.R:804:1',
'test-analysis-covariance.R:825:1', 'test-analysis-covariance.R:857:1',
'test-analysis-covariance.R:890:1', 'test-analysis-covariance.R:930:1',
'test-analysis-covariance.R:1135:1', 'test-analysis-covariance.R:1158:1',
'test-analysis-covariance.R:1180: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:590:1', 'test-analysis-freqs.R:601:1',
'test-analysis-freqs.R:622:1', 'test-analysis-freqs.R:643:1',
'test-analysis-freqs.R:664:1', 'test-analysis-freqs.R:1335:1',
'test-analysis-freqs.R:1579: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:877:1',
'test-analysis-helpers.R:1236:1', 'test-analysis-helpers.R:1276:1',
'test-analysis-helpers.R:1587:1', 'test-analysis-means.R:320:1',
'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1',
'test-analysis-methods-coef-vcov.R:261:1',
'test-analysis-methods-coef-vcov.R:270:1',
'test-analysis-methods-coef-vcov.R:279:1',
'test-analysis-methods-coef-vcov.R:288:1',
'test-analysis-methods-coef-vcov.R:297:1',
'test-analysis-methods-coef-vcov.R:306:1',
'test-analysis-methods-coef-vcov.R:334:1',
'test-analysis-methods-coef-vcov.R:343:1',
'test-analysis-methods-coef-vcov.R:352:1',
'test-analysis-methods-coef-vcov.R:361:1',
'test-analysis-methods-coef-vcov.R:373:1',
'test-analysis-methods-coef-vcov.R:386:1',
'test-analysis-methods-coef-vcov.R:410:1',
'test-analysis-methods-coef-vcov.R:421:1',
'test-analysis-methods-coef-vcov.R:433:1',
'test-analysis-methods-coef-vcov.R:778:1',
'test-analysis-methods-coef-vcov.R:813:1',
'test-analysis-methods-coef-vcov.R:1124:1',
'test-analysis-quantiles.R:866:1', 'test-analysis-quantiles.R:874:1',
'test-analysis-quantiles.R:909:1', 'test-analysis-quantiles.R:921:1',
'test-analysis-quantiles.R:1244: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-totals.R:1337: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:577:1', 'test-analysis-variance.R:587:1',
'test-analysis-variance.R:601:1', 'test-analysis-variance.R:613:1',
'test-analysis-variance.R:625:1', 'test-analysis-variance.R:636:1',
'test-analysis-variance.R:655:1', 'test-analysis-variance.R:670:1',
'test-analysis-variance.R:684: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:759:1', 'test-calibration.R:770:1',
'test-calibration.R:784:1', 'test-calibration.R:798:1',
'test-calibration.R:810:1', 'test-calibration.R:824:1',
'test-calibration.R:862:1', 'test-calibration.R:876:1',
'test-calibration.R:888:1', 'test-calibration.R:900:1',
'test-calibration.R:915:1', 'test-calibration.R:928:1',
'test-calibration.R:941:1', 'test-calibration.R:970:1',
'test-calibration.R:995:1', 'test-calibration.R:1023: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:136:1', 'test-constructors.R:152:1',
'test-constructors.R:162:1', 'test-constructors.R:180:1',
'test-constructors.R:190:1', 'test-constructors.R:249:1',
'test-constructors.R:262:1', 'test-constructors.R:292:1',
'test-constructors.R:305:1', 'test-constructors.R:332:1',
'test-constructors.R:350:1', 'test-constructors.R:364:1',
'test-constructors.R:857:1', 'test-constructors.R:1113:1',
'test-constructors.R:1142:1', 'test-constructors.R:1214:1',
'test-constructors.R:1305:1', 'test-constructors.R:1762:1',
'test-constructors.R:2038:1', 'test-constructors.R:2060:1',
'test-constructors.R:2216:1', 'test-constructors.R:2664:1',
'test-constructors.R:2690:1', 'test-constructors.R:2776:1',
'test-constructors.R:3136:1', 'test-constructors.R:3166:1',
'test-constructors.R:3192:1', 'test-constructors.R:3216:1',
'test-constructors.R:3245:1', 'test-constructors.R:3273:1',
'test-constructors.R:3302:1', 'test-constructors.R:3330:1',
'test-constructors.R:3358:1', 'test-constructors.R:3418:1',
'test-constructors.R:3440:1', 'test-constructors.R:3506:1',
'test-constructors.R:3521:1', 'test-constructors.R:3534:1',
'test-constructors.R:3557:1', 'test-constructors.R:3879:1',
'test-constructors.R:4014:1', 'test-constructors.R:4038:1',
'test-constructors.R:4161:1', 'test-constructors.R:4172:1',
'test-constructors.R:4188:1', 'test-constructors.R:4204:1',
'test-constructors.R:4226:1', 'test-constructors.R:4287:1',
'test-constructors.R:4577:1', 'test-constructors.R:4588:1',
'test-constructors.R:4600:1', 'test-constructors.R:4612:1',
'test-constructors.R:4624:1', 'test-constructors.R:4636:1',
'test-constructors.R:4702:1', 'test-constructors.R:4708:1',
'test-constructors.R:4714:1', 'test-constructors.R:4720:1',
'test-constructors.R:4726:1', 'test-constructors.R:4733:1',
'test-constructors.R:4881:1', 'test-constructors.R:5037:1',
'test-constructors.R:5049:1', 'test-constructors.R:5061:1',
'test-constructors.R:5073:1', 'test-constructors.R:5095:1',
'test-constructors.R:5117:1', 'test-constructors.R:5139:1',
'test-constructors.R:5151:1', 'test-constructors.R:5174:1',
'test-constructors.R:5247:1', 'test-constructors.R:5274:1',
'test-constructors.R:5301:1', 'test-constructors.R:5448:1',
'test-constructors.R:5475:1', 'test-constructors.R:5502:1',
'test-constructors.R:5593:1', 'test-constructors.R:5631:1',
'test-constructors.R:5655:1', 'test-constructors.R:5679:1',
'test-constructors.R:5702:1', 'test-constructors.R:5809:1',
'test-constructors.R:5824:1', 'test-constructors.R:5839:1',
'test-constructors.R:5858:1', 'test-constructors.R:5877:1',
'test-constructors.R:5896:1', 'test-constructors.R:5927:1',
'test-constructors.R:5939:1', 'test-constructors.R:5953:1',
'test-constructors.R:5968:1', 'test-constructors.R:5985:1',
'test-constructors.R:6238:1', 'test-constructors.R:6249:1',
'test-constructors.R:6260:1', 'test-constructors.R:6271:1',
'test-constructors.R:6347:1', 'test-constructors.R:6362:1',
'test-constructors.R:6401:1', 'test-constructors.R:6412:1',
'test-constructors.R:6425:1', 'test-constructors.R:6623:1',
'test-conversion.R:285:1', 'test-conversion.R:1906:1',
'test-conversion.R:1972:1', 'test-conversion.R:2014:1',
'test-conversion.R:2068:1', 'test-conversion.R:2180:1',
'test-conversion.R:2487:1', 'test-conversion.R:2706:1',
'test-conversion.R:2747:1', 'test-conversion.R:3518:1',
'test-conversion.R:5500:1', 'test-conversion.R:5518:1',
'test-conversion.R:5536:1', 'test-conversion.R:5591:1',
'test-dataset-metadata.R:296:1', 'test-dataset-metadata.R:715:1',
'test-dataset-metadata.R:738:1', 'test-dataset-metadata.R:761:1',
'test-dataset-metadata.R:781:1', 'test-dataset-metadata.R:810:1',
'test-dataset-metadata.R:833:1', 'test-dataset-metadata.R:881:1',
'test-dataset-metadata.R:892:1', 'test-dataset-metadata.R:900:1',
'test-dataset-metadata.R:911:1', 'test-dataset-metadata.R:925:1',
'test-dataset-metadata.R:959:1', 'test-dataset-metadata.R:981:1',
'test-dataset-metadata.R:1000:1', 'test-dataset-metadata.R:1022:1',
'test-dataset-metadata.R:1056:1', 'test-dataset-metadata.R:1251:1',
'test-dataset-metadata.R:1279:1', 'test-dataset-metadata.R:1288:1',
'test-dataset-metadata.R:1310:1', 'test-dataset-metadata.R:1349:1',
'test-dataset-metadata.R:1375:1', 'test-dataset-metadata.R:1394:1',
'test-dataset-metadata.R:1404:1', 'test-dataset-metadata.R:1414:1',
'test-dataset-metadata.R:1420:1', 'test-dataset-metadata.R:1454:1',
'test-dataset-metadata.R:1478:1', 'test-dataset-metadata.R:1488:1',
'test-dataset-metadata.R:1500:1', 'test-dataset-metadata.R:1635:1',
'test-dataset-metadata.R:1654:1', 'test-dataset-metadata.R:1995:1',
'test-dataset-metadata.R:2546:1', 'test-dataset-metadata.R:2559:1',
'test-dataset-metadata.R:2788:1', 'test-dataset-metadata.R:2795:1',
'test-dataset-metadata.R:2812:1', 'test-dataset-metadata.R:2822:1',
'test-dataset-metadata.R:2979:1', 'test-dataset-metadata.R:2991:1',
'test-dataset-metadata.R:3205:1', 'test-dataset-metadata.R:3217:1',
'test-dataset-metadata.R:3228:1', 'test-dataset-metadata.R:3247:1',
'test-dataset-metadata.R:3257:1', 'test-dataset-metadata.R:3399:1',
'test-dataset-metadata.R:3421:1', 'test-dataset-metadata.R:3859:1',
'test-effective-n.R:212:1', 'test-effective-n.R:220:1',
'test-effective-n.R:229:1', 'test-effective-n.R:455:1',
'test-effective-n.R:463:1', 'test-effective-n.R:471:1',
'test-effective-n.R:479: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-labelled-storage.R:492:1', 'test-labelled-storage.R:507:1',
'test-labelled-storage.R:522:1', 'test-labelled-storage.R:539:1',
'test-labelled-storage.R:610:1', 'test-labelled-storage.R:637:1',
'test-labelled-storage.R:687:1', 'test-labelled-storage.R:753:1',
'test-metadata-infer.R:408:1', 'test-metadata-system.R:188:1',
'test-metadata-system.R:872:1', 'test-metadata-system.R:876:1',
'test-metadata-system.R:884:1', 'test-metadata-system.R:889:1',
'test-metadata-system.R:897:1', 'test-metadata-system.R:902:1',
'test-metadata-system.R:907:1', 'test-metadata-system.R:912:1',
'test-metadata-system.R:1088:1', 'test-metadata-system.R:1093:1',
'test-metadata-system.R:1098:1', 'test-metadata-system.R:1102:1',
'test-metadata-system.R:1107:1', 'test-metadata-system.R:1115:1',
'test-metadata-system.R:1123:1', 'test-metadata-system.R:1128:1',
'test-metadata-system.R:1270:1', 'test-metadata-system.R:1277: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:1441:1',
'test-metadata-system.R:1445:1', 'test-metadata-system.R:1453:1',
'test-metadata-system.R:1458:1', 'test-metadata-system.R:1466:1',
'test-metadata-system.R:1471:1', 'test-metadata-system.R:1476:1',
'test-metadata-system.R:1602:1', 'test-metadata-system.R:1606:1',
'test-metadata-system.R:1611:1', 'test-metadata-system.R:1619:1',
'test-metadata-system.R:1624:1', 'test-metadata-system.R:1632:1',
'test-metadata-system.R:1637:1', 'test-metadata-system.R:1786:1',
'test-metadata-system.R:1791:1', 'test-metadata-system.R:1798:1',
'test-metadata-system.R:1806:1', 'test-metadata-system.R:1811:1',
'test-metadata-system.R:1823:1', 'test-metadata-system.R:1828:1',
'test-metadata-system.R:2203:1', 'test-metadata-system.R:2210:1',
'test-metadata-system.R:2218:1', 'test-metadata-system.R:2223:1',
'test-metadata-system.R:2231:1', 'test-metadata-system.R:2236:1',
'test-metadata-system.R:2241:1', 'test-metadata-system.R:2249:1',
'test-metadata-system.R:2254:1', 'test-metadata-system.R:2531:1',
'test-metadata-system.R:2684:1', 'test-metadata-system.R:2698:1',
'test-metadata-system.R:2712:1', 'test-metadata-system.R:2726:1',
'test-metadata-system.R:2846:1', 'test-metadata-system.R:3133:1',
'test-metadata-system.R:3137:1', 'test-metadata-system.R:3317:1',
'test-metadata-system.R:3325:1', 'test-metadata-system.R:3343:1',
'test-metadata-system.R:3358:1', 'test-metadata-system.R:3373:1',
'test-metadata-system.R:3553:1', 'test-metadata-system.R:3561:1',
'test-metadata-system.R:3576:1', 'test-metadata-system.R:3591:1',
'test-metadata-system.R:3774:1', 'test-metadata-system.R:3782:1',
'test-metadata-system.R:3790:1', 'test-metadata-system.R:3805:1',
'test-metadata-system.R:3823:1', 'test-metadata-system.R:3841:1',
'test-metadata-system.R:3859:1', 'test-metadata-system.R:3874:1',
'test-metadata-system.R:4051:1', 'test-metadata-system.R:4059:1',
'test-metadata-system.R:4067:1', 'test-metadata-system.R:4085:1',
'test-metadata-system.R:4103:1', 'test-metadata-system.R:4121:1',
'test-metadata-system.R:4136:1', 'test-metadata-system.R:4201:1',
'test-metadata-system.R:4212:1', 'test-metadata-system.R:4361:1',
'test-methods-compat.R:249:1', 'test-methods-compat.R:264:1',
'test-methods-compat.R:274:1', 'test-methods-print.R:107:1',
'test-methods-print.R:118:1', 'test-methods-print.R:216:1',
'test-methods-print.R:226:1', 'test-methods-print.R:244:1',
'test-methods-print.R:254:1', 'test-methods-print.R:272:1',
'test-methods-print.R:313:1', 'test-methods-print.R:328:1',
'test-methods-print.R:353:1', 'test-methods-print.R:363:1',
'test-methods-print.R:374:1', 'test-methods-print.R:385:1',
'test-methods-print.R:395:1', 'test-methods-print.R:405:1',
'test-methods-print.R:420:1', 'test-methods-print.R:434:1',
'test-methods-print.R:502:1', 'test-methods-print.R:513:1',
'test-methods-print.R:554:1', 'test-methods-print.R:562:1',
'test-methods-print.R:723:1', 'test-methods-print.R:749:1',
'test-methods-print.R:771:1', 'test-methods-print.R:792:1',
'test-methods-print.R:805:1', 'test-methods-print.R:818:1',
'test-methods-print.R:825:1', 'test-methods-print.R:931:1',
'test-methods-print.R:943:1', 'test-methods-print.R:956:1',
'test-methods-print.R:969:1', 'test-methods-print.R:1029:1',
'test-methods-print.R:1041:1', 'test-methods-print.R:1054:1',
'test-methods-print.R:1067:1', 'test-methods-print.R:1779:1',
'test-methods-print.R:1788:1', 'test-methods-print.R:1794:1',
'test-methods-print.R:1801:1', 'test-methods-print.R:1807:1',
'test-methods-print.R:1813:1', 'test-methods-print.R:1819:1',
'test-methods-print.R:1825:1', 'test-methods-print.R:1866:1',
'test-methods-print.R:1873:1', 'test-methods-print.R:1887:1',
'test-methods-print.R:2038:1', 'test-methods-print.R:2052:1',
'test-methods-print.R:2065:1', 'test-methods-print.R:2080:1',
'test-methods-print.R:2187:1', 'test-nonprob-bootstrap-variance.R:618: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:447:1',
'test-survey-collection-dispatch.R:560:1',
'test-survey-collection-dispatch.R:820: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:146:1', 'test-update-design.R:395:1',
'test-utils.R:632:1', 'test-utils.R:1049:1', 'test-utils.R:1075: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:4:1', 'test-variance-vendored-saddlepoint.R:9:1'
• R/ source tree not available (installed-package test layout) (1):
'test-metadata-system.R:2946:5'
• Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1):
'test-edge-conditions.R:240:3'
• {MASS} is not installed (1): 'test-calibration.R:655:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-constructors.R:78:3'): as_survey() stores call in @call ──────
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:79:3'): as_survey() stores call in @call ──────
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:544:3'): as_survey_replicate() stores call in @call ──
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:545:3'): as_survey_replicate() stores call in @call ──
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:3818:3'): as_survey_twophase() stores call in @call ──
Expected `is.null(d2@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:3819:3'): as_survey_twophase() stores call in @call ──
Expected `is.call(d2@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:2433:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2437:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-dataset-metadata.R:2437:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:2456:3'): the stale guard runs ahead of the convention rules ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_dataset_metadata()` requires at least one key-value pair.
v Use named `...` args: `set_dataset_metadata(x, vendor = 'Ipsos')`.
Backtrace:
▆
1. ├─testthat::expect_error(set_dataset_metadata(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:2456:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d)
8. └─surveycore:::.parse_setter_input(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2469:3'): the stale guard runs ahead of the unknown-key rule ──
<surveycore_error_dataset_key_unknown/rlang_error/error/condition>
Error in `eval(code, test_env)`: x "mode" is not a dataset metadata key.
i Valid keys: "survey_name", "data_name", "vendor", "field_start", "field_end", and "field_period".
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2469:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d, mode = "web")
8. └─surveycore:::.abort_dataset_key_unknown(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2486:3'): a deletion on a stale design raises the unavailable error ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2486:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_dataset_metadata(d, vendor = NULL)
8. │ ├─base::`@<-`(...)
9. │ └─S7:::`@<-.S7_object`(...)
10. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
11. └─S7 (local) `<fn>`(...)
12. └─S7:::stop2(msg, call = prop_call(object, name))
── Failure ('test-dataset-metadata.R:3526:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3530:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_survey_name(d, "Example Survey")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3534:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_data_name(d, "Example (2026)")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3538:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_period(d, "February-March 2026")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3542:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_dates(d, "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3551:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3555:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(error = TRUE, set_vendor(d, "x")) at test-dataset-metadata.R:3555:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:3576:3'): a wrapper deletion on a stale design also raises DM-8 ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, NULL), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3576:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_vendor(d, NULL)
8. │ └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. │ ├─base::`@<-`(...)
10. │ └─S7:::`@<-.S7_object`(...)
11. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
12. └─S7 (local) `<fn>`(...)
13. └─S7:::stop2(msg, call = prop_call(object, name))
── Error ('test-dataset-metadata.R:3591:3'): the stale guard runs ahead of a wrapper's missing-value guard ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_vendor()` requires a value for `vendor`.
v Supply a single character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3591:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d)
8. └─surveycore:::.abort_wrapper_setter_empty(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:3624:3'): the stale guard runs ahead of a wrapper's value check ──
<surveycore_error_dataset_metadata_bad_type/rlang_error/error/condition>
Error in `set_vendor(d, 1L)`: x Dataset metadata key "vendor" must be a single non-NA character string, not <integer> of length 1.
v Supply a single non-NA character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, 1L), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3624:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d, 1L)
8. └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. └─surveycore:::.check_dataset_key_value(...)
10. └─cli::cli_abort(...)
11. └─rlang::abort(...)
── Error ('test-glm-methods.R:602:3'): update(fit, family = poisson()) returns new survey_glm_fit with Poisson family ──
<surveycore_error_update_no_call/rlang_error/error/condition>
Error in `update(fit_gauss, family = poisson())`: x Cannot update <survey_glm_fit>: @call is NULL.
v Refit the model to restore `update()` support.
Backtrace:
▆
1. ├─stats::update(fit_gauss, family = poisson()) at test-glm-methods.R:602:3
2. └─surveycore (local) `update.surveycore::survey_glm_fit`(fit_gauss, family = poisson())
3. └─cli::cli_abort(...)
4. └─rlang::abort(...)
[ FAIL 42 | WARN 345 | SKIP 588 | PASS 12390 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [527s]
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
# 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".
Saving _problems/test-constructors-78.R
Saving _problems/test-constructors-79.R
Saving _problems/test-constructors-544.R
Saving _problems/test-constructors-545.R
Saving _problems/test-constructors-3818.R
Saving _problems/test-constructors-3819.R
-- 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
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-41.R
Saving _problems/test-dataset-metadata-42.R
Saving _problems/test-dataset-metadata-2436.R
Saving _problems/test-dataset-metadata-2437.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2447.R
Saving _problems/test-dataset-metadata-2459.R
Saving _problems/test-dataset-metadata-2472.R
Saving _problems/test-dataset-metadata-2489.R
Saving _problems/test-dataset-metadata-3529.R
Saving _problems/test-dataset-metadata-3533.R
Saving _problems/test-dataset-metadata-3537.R
Saving _problems/test-dataset-metadata-3541.R
Saving _problems/test-dataset-metadata-3545.R
Saving _problems/test-dataset-metadata-3554.R
Saving _problems/test-dataset-metadata-3555.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3565.R
Saving _problems/test-dataset-metadata-3569.R
Saving _problems/test-dataset-metadata-3579.R
Saving _problems/test-dataset-metadata-3594.R
Saving _problems/test-dataset-metadata-3627.R
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
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)
Saving _problems/test-glm-methods-602.R
x is ignored when method = 'kish'
x is ignored when method = 'kish'
# 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 42 | WARN 345 | SKIP 588 | PASS 12390 ]
══ Skipped tests (588) ═════════════════════════════════════════════════════════
• 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 (583): '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:378:1',
'test-analysis-corr-latent-primitives.R:512:1',
'test-analysis-corr-latent-primitives.R:803: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:1645:1', 'test-analysis-corr.R:1662:1',
'test-analysis-covariance.R:696:1', 'test-analysis-covariance.R:705:1',
'test-analysis-covariance.R:718:1', 'test-analysis-covariance.R:740:1',
'test-analysis-covariance.R:753:1', 'test-analysis-covariance.R:774:1',
'test-analysis-covariance.R:791:1', 'test-analysis-covariance.R:804:1',
'test-analysis-covariance.R:825:1', 'test-analysis-covariance.R:857:1',
'test-analysis-covariance.R:890:1', 'test-analysis-covariance.R:930:1',
'test-analysis-covariance.R:1135:1', 'test-analysis-covariance.R:1158:1',
'test-analysis-covariance.R:1180: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:590:1', 'test-analysis-freqs.R:601:1',
'test-analysis-freqs.R:622:1', 'test-analysis-freqs.R:643:1',
'test-analysis-freqs.R:664:1', 'test-analysis-freqs.R:1335:1',
'test-analysis-freqs.R:1579: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:877:1',
'test-analysis-helpers.R:1236:1', 'test-analysis-helpers.R:1276:1',
'test-analysis-helpers.R:1587:1', 'test-analysis-means.R:320:1',
'test-analysis-means.R:349:1', 'test-analysis-means.R:812:1',
'test-analysis-methods-coef-vcov.R:261:1',
'test-analysis-methods-coef-vcov.R:270:1',
'test-analysis-methods-coef-vcov.R:279:1',
'test-analysis-methods-coef-vcov.R:288:1',
'test-analysis-methods-coef-vcov.R:297:1',
'test-analysis-methods-coef-vcov.R:306:1',
'test-analysis-methods-coef-vcov.R:334:1',
'test-analysis-methods-coef-vcov.R:343:1',
'test-analysis-methods-coef-vcov.R:352:1',
'test-analysis-methods-coef-vcov.R:361:1',
'test-analysis-methods-coef-vcov.R:373:1',
'test-analysis-methods-coef-vcov.R:386:1',
'test-analysis-methods-coef-vcov.R:410:1',
'test-analysis-methods-coef-vcov.R:421:1',
'test-analysis-methods-coef-vcov.R:433:1',
'test-analysis-methods-coef-vcov.R:778:1',
'test-analysis-methods-coef-vcov.R:813:1',
'test-analysis-methods-coef-vcov.R:1124:1',
'test-analysis-quantiles.R:866:1', 'test-analysis-quantiles.R:874:1',
'test-analysis-quantiles.R:909:1', 'test-analysis-quantiles.R:921:1',
'test-analysis-quantiles.R:1244: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-totals.R:1337: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:577:1', 'test-analysis-variance.R:587:1',
'test-analysis-variance.R:601:1', 'test-analysis-variance.R:613:1',
'test-analysis-variance.R:625:1', 'test-analysis-variance.R:636:1',
'test-analysis-variance.R:655:1', 'test-analysis-variance.R:670:1',
'test-analysis-variance.R:684: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:759:1', 'test-calibration.R:770:1',
'test-calibration.R:784:1', 'test-calibration.R:798:1',
'test-calibration.R:810:1', 'test-calibration.R:824:1',
'test-calibration.R:862:1', 'test-calibration.R:876:1',
'test-calibration.R:888:1', 'test-calibration.R:900:1',
'test-calibration.R:915:1', 'test-calibration.R:928:1',
'test-calibration.R:941:1', 'test-calibration.R:970:1',
'test-calibration.R:995:1', 'test-calibration.R:1023: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:136:1', 'test-constructors.R:152:1',
'test-constructors.R:162:1', 'test-constructors.R:180:1',
'test-constructors.R:190:1', 'test-constructors.R:249:1',
'test-constructors.R:262:1', 'test-constructors.R:292:1',
'test-constructors.R:305:1', 'test-constructors.R:332:1',
'test-constructors.R:350:1', 'test-constructors.R:364:1',
'test-constructors.R:857:1', 'test-constructors.R:1113:1',
'test-constructors.R:1142:1', 'test-constructors.R:1214:1',
'test-constructors.R:1305:1', 'test-constructors.R:1762:1',
'test-constructors.R:2038:1', 'test-constructors.R:2060:1',
'test-constructors.R:2216:1', 'test-constructors.R:2664:1',
'test-constructors.R:2690:1', 'test-constructors.R:2776:1',
'test-constructors.R:3136:1', 'test-constructors.R:3166:1',
'test-constructors.R:3192:1', 'test-constructors.R:3216:1',
'test-constructors.R:3245:1', 'test-constructors.R:3273:1',
'test-constructors.R:3302:1', 'test-constructors.R:3330:1',
'test-constructors.R:3358:1', 'test-constructors.R:3418:1',
'test-constructors.R:3440:1', 'test-constructors.R:3506:1',
'test-constructors.R:3521:1', 'test-constructors.R:3534:1',
'test-constructors.R:3557:1', 'test-constructors.R:3879:1',
'test-constructors.R:4014:1', 'test-constructors.R:4038:1',
'test-constructors.R:4161:1', 'test-constructors.R:4172:1',
'test-constructors.R:4188:1', 'test-constructors.R:4204:1',
'test-constructors.R:4226:1', 'test-constructors.R:4287:1',
'test-constructors.R:4577:1', 'test-constructors.R:4588:1',
'test-constructors.R:4600:1', 'test-constructors.R:4612:1',
'test-constructors.R:4624:1', 'test-constructors.R:4636:1',
'test-constructors.R:4702:1', 'test-constructors.R:4708:1',
'test-constructors.R:4714:1', 'test-constructors.R:4720:1',
'test-constructors.R:4726:1', 'test-constructors.R:4733:1',
'test-constructors.R:4881:1', 'test-constructors.R:5037:1',
'test-constructors.R:5049:1', 'test-constructors.R:5061:1',
'test-constructors.R:5073:1', 'test-constructors.R:5095:1',
'test-constructors.R:5117:1', 'test-constructors.R:5139:1',
'test-constructors.R:5151:1', 'test-constructors.R:5174:1',
'test-constructors.R:5247:1', 'test-constructors.R:5274:1',
'test-constructors.R:5301:1', 'test-constructors.R:5448:1',
'test-constructors.R:5475:1', 'test-constructors.R:5502:1',
'test-constructors.R:5593:1', 'test-constructors.R:5631:1',
'test-constructors.R:5655:1', 'test-constructors.R:5679:1',
'test-constructors.R:5702:1', 'test-constructors.R:5809:1',
'test-constructors.R:5824:1', 'test-constructors.R:5839:1',
'test-constructors.R:5858:1', 'test-constructors.R:5877:1',
'test-constructors.R:5896:1', 'test-constructors.R:5927:1',
'test-constructors.R:5939:1', 'test-constructors.R:5953:1',
'test-constructors.R:5968:1', 'test-constructors.R:5985:1',
'test-constructors.R:6238:1', 'test-constructors.R:6249:1',
'test-constructors.R:6260:1', 'test-constructors.R:6271:1',
'test-constructors.R:6347:1', 'test-constructors.R:6362:1',
'test-constructors.R:6401:1', 'test-constructors.R:6412:1',
'test-constructors.R:6425:1', 'test-constructors.R:6623:1',
'test-conversion.R:285:1', 'test-conversion.R:1906:1',
'test-conversion.R:1972:1', 'test-conversion.R:2014:1',
'test-conversion.R:2068:1', 'test-conversion.R:2180:1',
'test-conversion.R:2487:1', 'test-conversion.R:2706:1',
'test-conversion.R:2747:1', 'test-conversion.R:3518:1',
'test-conversion.R:5500:1', 'test-conversion.R:5518:1',
'test-conversion.R:5536:1', 'test-conversion.R:5591:1',
'test-dataset-metadata.R:296:1', 'test-dataset-metadata.R:715:1',
'test-dataset-metadata.R:738:1', 'test-dataset-metadata.R:761:1',
'test-dataset-metadata.R:781:1', 'test-dataset-metadata.R:810:1',
'test-dataset-metadata.R:833:1', 'test-dataset-metadata.R:881:1',
'test-dataset-metadata.R:892:1', 'test-dataset-metadata.R:900:1',
'test-dataset-metadata.R:911:1', 'test-dataset-metadata.R:925:1',
'test-dataset-metadata.R:959:1', 'test-dataset-metadata.R:981:1',
'test-dataset-metadata.R:1000:1', 'test-dataset-metadata.R:1022:1',
'test-dataset-metadata.R:1056:1', 'test-dataset-metadata.R:1251:1',
'test-dataset-metadata.R:1279:1', 'test-dataset-metadata.R:1288:1',
'test-dataset-metadata.R:1310:1', 'test-dataset-metadata.R:1349:1',
'test-dataset-metadata.R:1375:1', 'test-dataset-metadata.R:1394:1',
'test-dataset-metadata.R:1404:1', 'test-dataset-metadata.R:1414:1',
'test-dataset-metadata.R:1420:1', 'test-dataset-metadata.R:1454:1',
'test-dataset-metadata.R:1478:1', 'test-dataset-metadata.R:1488:1',
'test-dataset-metadata.R:1500:1', 'test-dataset-metadata.R:1635:1',
'test-dataset-metadata.R:1654:1', 'test-dataset-metadata.R:1995:1',
'test-dataset-metadata.R:2546:1', 'test-dataset-metadata.R:2559:1',
'test-dataset-metadata.R:2788:1', 'test-dataset-metadata.R:2795:1',
'test-dataset-metadata.R:2812:1', 'test-dataset-metadata.R:2822:1',
'test-dataset-metadata.R:2979:1', 'test-dataset-metadata.R:2991:1',
'test-dataset-metadata.R:3205:1', 'test-dataset-metadata.R:3217:1',
'test-dataset-metadata.R:3228:1', 'test-dataset-metadata.R:3247:1',
'test-dataset-metadata.R:3257:1', 'test-dataset-metadata.R:3399:1',
'test-dataset-metadata.R:3421:1', 'test-dataset-metadata.R:3859:1',
'test-effective-n.R:212:1', 'test-effective-n.R:220:1',
'test-effective-n.R:229:1', 'test-effective-n.R:455:1',
'test-effective-n.R:463:1', 'test-effective-n.R:471:1',
'test-effective-n.R:479: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-labelled-storage.R:492:1', 'test-labelled-storage.R:507:1',
'test-labelled-storage.R:522:1', 'test-labelled-storage.R:539:1',
'test-labelled-storage.R:610:1', 'test-labelled-storage.R:637:1',
'test-labelled-storage.R:687:1', 'test-labelled-storage.R:753:1',
'test-metadata-infer.R:408:1', 'test-metadata-system.R:188:1',
'test-metadata-system.R:872:1', 'test-metadata-system.R:876:1',
'test-metadata-system.R:884:1', 'test-metadata-system.R:889:1',
'test-metadata-system.R:897:1', 'test-metadata-system.R:902:1',
'test-metadata-system.R:907:1', 'test-metadata-system.R:912:1',
'test-metadata-system.R:1088:1', 'test-metadata-system.R:1093:1',
'test-metadata-system.R:1098:1', 'test-metadata-system.R:1102:1',
'test-metadata-system.R:1107:1', 'test-metadata-system.R:1115:1',
'test-metadata-system.R:1123:1', 'test-metadata-system.R:1128:1',
'test-metadata-system.R:1270:1', 'test-metadata-system.R:1277: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:1441:1',
'test-metadata-system.R:1445:1', 'test-metadata-system.R:1453:1',
'test-metadata-system.R:1458:1', 'test-metadata-system.R:1466:1',
'test-metadata-system.R:1471:1', 'test-metadata-system.R:1476:1',
'test-metadata-system.R:1602:1', 'test-metadata-system.R:1606:1',
'test-metadata-system.R:1611:1', 'test-metadata-system.R:1619:1',
'test-metadata-system.R:1624:1', 'test-metadata-system.R:1632:1',
'test-metadata-system.R:1637:1', 'test-metadata-system.R:1786:1',
'test-metadata-system.R:1791:1', 'test-metadata-system.R:1798:1',
'test-metadata-system.R:1806:1', 'test-metadata-system.R:1811:1',
'test-metadata-system.R:1823:1', 'test-metadata-system.R:1828:1',
'test-metadata-system.R:2203:1', 'test-metadata-system.R:2210:1',
'test-metadata-system.R:2218:1', 'test-metadata-system.R:2223:1',
'test-metadata-system.R:2231:1', 'test-metadata-system.R:2236:1',
'test-metadata-system.R:2241:1', 'test-metadata-system.R:2249:1',
'test-metadata-system.R:2254:1', 'test-metadata-system.R:2531:1',
'test-metadata-system.R:2684:1', 'test-metadata-system.R:2698:1',
'test-metadata-system.R:2712:1', 'test-metadata-system.R:2726:1',
'test-metadata-system.R:2846:1', 'test-metadata-system.R:3133:1',
'test-metadata-system.R:3137:1', 'test-metadata-system.R:3317:1',
'test-metadata-system.R:3325:1', 'test-metadata-system.R:3343:1',
'test-metadata-system.R:3358:1', 'test-metadata-system.R:3373:1',
'test-metadata-system.R:3553:1', 'test-metadata-system.R:3561:1',
'test-metadata-system.R:3576:1', 'test-metadata-system.R:3591:1',
'test-metadata-system.R:3774:1', 'test-metadata-system.R:3782:1',
'test-metadata-system.R:3790:1', 'test-metadata-system.R:3805:1',
'test-metadata-system.R:3823:1', 'test-metadata-system.R:3841:1',
'test-metadata-system.R:3859:1', 'test-metadata-system.R:3874:1',
'test-metadata-system.R:4051:1', 'test-metadata-system.R:4059:1',
'test-metadata-system.R:4067:1', 'test-metadata-system.R:4085:1',
'test-metadata-system.R:4103:1', 'test-metadata-system.R:4121:1',
'test-metadata-system.R:4136:1', 'test-metadata-system.R:4201:1',
'test-metadata-system.R:4212:1', 'test-metadata-system.R:4361:1',
'test-methods-compat.R:249:1', 'test-methods-compat.R:264:1',
'test-methods-compat.R:274:1', 'test-methods-print.R:107:1',
'test-methods-print.R:118:1', 'test-methods-print.R:216:1',
'test-methods-print.R:226:1', 'test-methods-print.R:244:1',
'test-methods-print.R:254:1', 'test-methods-print.R:272:1',
'test-methods-print.R:313:1', 'test-methods-print.R:328:1',
'test-methods-print.R:353:1', 'test-methods-print.R:363:1',
'test-methods-print.R:374:1', 'test-methods-print.R:385:1',
'test-methods-print.R:395:1', 'test-methods-print.R:405:1',
'test-methods-print.R:420:1', 'test-methods-print.R:434:1',
'test-methods-print.R:502:1', 'test-methods-print.R:513:1',
'test-methods-print.R:554:1', 'test-methods-print.R:562:1',
'test-methods-print.R:723:1', 'test-methods-print.R:749:1',
'test-methods-print.R:771:1', 'test-methods-print.R:792:1',
'test-methods-print.R:805:1', 'test-methods-print.R:818:1',
'test-methods-print.R:825:1', 'test-methods-print.R:931:1',
'test-methods-print.R:943:1', 'test-methods-print.R:956:1',
'test-methods-print.R:969:1', 'test-methods-print.R:1029:1',
'test-methods-print.R:1041:1', 'test-methods-print.R:1054:1',
'test-methods-print.R:1067:1', 'test-methods-print.R:1779:1',
'test-methods-print.R:1788:1', 'test-methods-print.R:1794:1',
'test-methods-print.R:1801:1', 'test-methods-print.R:1807:1',
'test-methods-print.R:1813:1', 'test-methods-print.R:1819:1',
'test-methods-print.R:1825:1', 'test-methods-print.R:1866:1',
'test-methods-print.R:1873:1', 'test-methods-print.R:1887:1',
'test-methods-print.R:2038:1', 'test-methods-print.R:2052:1',
'test-methods-print.R:2065:1', 'test-methods-print.R:2080:1',
'test-methods-print.R:2187:1', 'test-nonprob-bootstrap-variance.R:618: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:447:1',
'test-survey-collection-dispatch.R:560:1',
'test-survey-collection-dispatch.R:820: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:146:1', 'test-update-design.R:395:1',
'test-utils.R:632:1', 'test-utils.R:1049:1', 'test-utils.R:1075: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:4:1', 'test-variance-vendored-saddlepoint.R:9:1'
• R/ source tree not available (installed-package test layout) (1):
'test-metadata-system.R:2946:5'
• Set SURVEYCORE_EXTENDED_TESTS=true to run extended tests (1):
'test-edge-conditions.R:240:3'
• {MASS} is not installed (1): 'test-calibration.R:655:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-constructors.R:78:3'): as_survey() stores call in @call ──────
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:79:3'): as_survey() stores call in @call ──────
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:544:3'): as_survey_replicate() stores call in @call ──
Expected `is.null(d@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:545:3'): as_survey_replicate() stores call in @call ──
Expected `is.call(d@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-constructors.R:3818:3'): as_survey_twophase() stores call in @call ──
Expected `is.null(d2@call)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-constructors.R:3819:3'): as_survey_twophase() stores call in @call ──
Expected `is.call(d2@call)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:41:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `"dataset_metadata" %in% S7::prop_names(d@metadata)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
── Failure ('test-dataset-metadata.R:42:5'): make_stale_metadata_design() strips the property on all 4 classes ──
Expected `d@metadata@dataset_metadata` to throw a error.
── Failure ('test-dataset-metadata.R:2433:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2437:3'): a write on a stale design raises the unavailable error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-dataset-metadata.R:2437:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:2444:5'): a write on a stale design of any class raises the same error ──
Expected `set_dataset_metadata(d, vendor = "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:2456:3'): the stale guard runs ahead of the convention rules ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_dataset_metadata()` requires at least one key-value pair.
v Use named `...` args: `set_dataset_metadata(x, vendor = 'Ipsos')`.
Backtrace:
▆
1. ├─testthat::expect_error(set_dataset_metadata(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:2456:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d)
8. └─surveycore:::.parse_setter_input(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2469:3'): the stale guard runs ahead of the unknown-key rule ──
<surveycore_error_dataset_key_unknown/rlang_error/error/condition>
Error in `eval(code, test_env)`: x "mode" is not a dataset metadata key.
i Valid keys: "survey_name", "data_name", "vendor", "field_start", "field_end", and "field_period".
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2469:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_dataset_metadata(d, mode = "web")
8. └─surveycore:::.abort_dataset_key_unknown(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:2486:3'): a deletion on a stale design raises the unavailable error ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-dataset-metadata.R:2486:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_dataset_metadata(d, vendor = NULL)
8. │ ├─base::`@<-`(...)
9. │ └─S7:::`@<-.S7_object`(...)
10. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
11. └─S7 (local) `<fn>`(...)
12. └─S7:::stop2(msg, call = prop_call(object, name))
── Failure ('test-dataset-metadata.R:3526:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3530:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_survey_name(d, "Example Survey")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3534:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_data_name(d, "Example (2026)")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3538:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_period(d, "February-March 2026")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3542:3'): the five wrapper setters raise DM-8 on a stale taylor design ──
Expected `set_field_dates(d, "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3551:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3555:3'): set_vendor() on a stale design names the rebuild remedy ──
Expected `set_vendor(d, "x")` to throw a error.
Backtrace:
▆
1. └─testthat::expect_snapshot(error = TRUE, set_vendor(d, "x")) at test-dataset-metadata.R:3555:3
2. └─testthat:::expect_snapshot_(...)
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3562:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_vendor(d, "Ipsos")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Failure ('test-dataset-metadata.R:3566:5'): the wrapper setters raise DM-8 on every stale design class ──
Expected `set_field_dates(d, field_start = "2026-02-10")` to throw a error with class <surveycore_error_dataset_metadata_unavailable>.
── Error ('test-dataset-metadata.R:3576:3'): a wrapper deletion on a stale design also raises DM-8 ──
<error/condition>
Error in ``<surveycore::survey_metadata>@dataset_metadata`()`: <surveycore::survey_metadata>@dataset_metadata must be <list>, not <NULL>
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, NULL), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3576:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─surveycore::set_vendor(d, NULL)
8. │ └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. │ ├─base::`@<-`(...)
10. │ └─S7:::`@<-.S7_object`(...)
11. │ └─S7::`prop<-`(`*tmp*`, name, value = value)
12. └─S7 (local) `<fn>`(...)
13. └─S7:::stop2(msg, call = prop_call(object, name))
── Error ('test-dataset-metadata.R:3591:3'): the stale guard runs ahead of a wrapper's missing-value guard ──
<surveycore_error_setter_empty/rlang_error/error/condition>
Error in `eval(code, test_env)`: x `set_vendor()` requires a value for `vendor`.
v Supply a single character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3591:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d)
8. └─surveycore:::.abort_wrapper_setter_empty(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-dataset-metadata.R:3624:3'): the stale guard runs ahead of a wrapper's value check ──
<surveycore_error_dataset_metadata_bad_type/rlang_error/error/condition>
Error in `set_vendor(d, 1L)`: x Dataset metadata key "vendor" must be a single non-NA character string, not <integer> of length 1.
v Supply a single non-NA character value, or `NULL` to delete the key.
Backtrace:
▆
1. ├─testthat::expect_error(set_vendor(d, 1L), class = "surveycore_error_dataset_metadata_unavailable") at test-dataset-metadata.R:3624:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─surveycore::set_vendor(d, 1L)
8. └─surveycore::set_dataset_metadata(x, vendor = vendor)
9. └─surveycore:::.check_dataset_key_value(...)
10. └─cli::cli_abort(...)
11. └─rlang::abort(...)
── Error ('test-glm-methods.R:602:3'): update(fit, family = poisson()) returns new survey_glm_fit with Poisson family ──
<surveycore_error_update_no_call/rlang_error/error/condition>
Error in `update(fit_gauss, family = poisson())`: x Cannot update <survey_glm_fit>: @call is NULL.
v Refit the model to restore `update()` support.
Backtrace:
▆
1. ├─stats::update(fit_gauss, family = poisson()) at test-glm-methods.R:602:3
2. └─surveycore (local) `update.surveycore::survey_glm_fit`(fit_gauss, family = poisson())
3. └─cli::cli_abort(...)
4. └─rlang::abort(...)
[ FAIL 42 | WARN 345 | SKIP 588 | PASS 12390 ]
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.