Svy ard categorical unit tests #156
GitHub Actions / Unit Tests Summary
failed
Jun 24, 2024 in 0s
1 errors, 24 skipped, 53 pass in 18s
Annotations
Check warning on line 0 in character(0)
github-actions / Unit Tests Summary
1 out of 2 runs failed: ard_dichotomous.survey.design_works (character(0))
cardx.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`... <- NULL` threw an unexpected error. ('test-ard_dichotomous.survey.design.R:6:3')
`... <- NULL` threw an unexpected error.
Message: The size of `nm` (5) must be compatible with the size of `x` (4).
Class: rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ard_dichotomous.survey.design.R:6: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. ├─cards::ard_dichotomous(...)
8. ├─cardx:::ard_dichotomous.survey.design(...)
9. │ ├─dplyr::mutate(...)
10. │ ├─dplyr::filter(...)
11. │ ├─cards::ard_categorical(...)
12. │ └─cardx:::ard_categorical.survey.design(...)
13. │ └─cardx:::.svytable_rate_stats(...)
14. │ ├─dplyr::bind_rows(...)
15. │ │ └─rlang::list2(...)
16. │ └─base::lapply(...)
17. │ └─cardx (local) FUN(X[[i]], ...)
18. │ ├─cardx:::case_switch(...)
19. │ │ └─base::eval(f_rhs(f), envir = attr(f, ".Environment"))
20. │ │ └─base::eval(f_rhs(f), envir = attr(f, ".Environment"))
21. │ └─cardx:::.one_svytable_rates_by_row(data, variable, by, deff)
22. │ ├─dplyr::mutate(...)
23. │ └─rlang::set_names(...)
24. └─rlang::abort(message = message)
Check failure on line 0 in character(0)
github-actions / Unit Tests Summary
1 out of 2 runs with error: ard_dichotomous.survey.design_works (character(0))
cardx.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `eval(code, test_env)`: object 'ard_dichotomous_row' not found ('test-ard_dichotomous.survey.design.R:13:3')
Error in `eval(code, test_env)`: object 'ard_dichotomous_row' not found
Backtrace:
▆
1. ├─testthat::expect_invisible(...) at test-ard_dichotomous.survey.design.R:13:3
2. │ └─base::withVisible(call)
3. └─cards::check_ard_structure(ard_dichotomous_row, method = FALSE)
Loading