Skip to content

McNemar's statistical test addition: ard_mcnemartest #10

McNemar's statistical test addition: ard_mcnemartest

McNemar's statistical test addition: ard_mcnemartest #10

GitHub Actions / Unit Tests Summary failed Feb 21, 2024 in 0s

1 errors, 3 skipped, 10 pass in 2s

 1 files  ±0  14 suites  ±0   2s ⏱️ ±0s
14 tests ±0  10 ✅ ±0  3 💤  - 1  0 ❌ ±0  1 🔥 +1 
30 runs  ±0  22 ✅ ±0  7 💤  - 1  0 ❌ ±0  1 🔥 +1 

Results for commit 03264a2. ± Comparison against earlier commit 6476e5d.

Annotations

Check failure on line 0 in character(0)

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

shuffle_ard_fills_missing_group_levels_if_the_group_is_meaningful (character(0)) with error

cardx.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `dplyr::filter(.detect_msgs(x, "warning", "error"), map_lgl(.data$statistic,  ('test-ard_chisqtest.R:23:3')
Error in `dplyr::filter(.detect_msgs(x, "warning", "error"), map_lgl(.data$statistic, 
    function(x) is.numeric(x) || is.na(x) || is.null(x)))`: i In argument: `map_lgl(...)`.
Caused by error in `is.numeric(x) || is.na(x)`:
! 'length = 3' in coercion to 'logical(1)'
Backtrace:
     ▆
  1. ├─base::as.data.frame(...)
  2. ├─cards::shuffle_ard(...)
  3. │ └─cards:::.trim_ard(dat_cards_out)
  4. │   ├─dplyr::select(...)
  5. │   ├─dplyr::mutate(...)
  6. │   ├─dplyr::filter(...)
  7. │   └─dplyr:::filter.data.frame(...)
  8. │     └─dplyr:::filter_rows(.data, dots, by)
  9. │       └─dplyr:::filter_eval(...)
 10. │         ├─base::withCallingHandlers(...)
 11. │         └─mask$eval_all_filter(dots, env_filter)
 12. │           └─dplyr (local) eval()
 13. ├─cards:::map_lgl(...)
 14. │ └─cards:::.rlang_purrr_map_mold(.x, .f, logical(1), ...)
 15. │   └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
 16. │     └─cards (local) FUN(X[[i]], ...)
 17. └─base::.handleSimpleError(...)
 18.   └─dplyr (local) h(simpleError(msg, call))
 19.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)