Running ‘testthat.R’ [546s/348s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("cardx", stop_on_warning = TRUE)
  Loading required package: cardx
  Starting 2 test processes.
  > test-ard_categorical_ci.data.frame.R: 5 missing observations in the "am" column have been removed.
  > test-ard_effectsize_hedges_g.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-ard_effectsize_cohens_d.R: For paired samples, 'repeated_measures_d()' provides more options.
  Saving _problems/test-ard_stats_mantelhaen_test-21.R
  > test-ard_stats_oneway_test.R: Multiple parameters; naming those columns num.df and den.df.
  > test-ard_summary.survey.design.R: Expecting a row with `stat_name = 'method'`, but it is not present.
  > test-ard_summary.survey.design.R: Expecting a row with `stat_name = 'method'`, but it is not present.
  > test-ard_tabulate_max.R: `AESEV`: "MILD" < "MODERATE" < "SEVERE"
  [ FAIL 1 | WARN 0 | SKIP 66 | PASS 636 ]
  
  ══ Skipped tests (66) ══════════════════════════════════════════════════════════
  • On CRAN (66): 'test-ard_attributes.survey.design.R:3:1',
    'test-ard_aod_wald_test.R:3:1', 'test-ard_car_vif.R:3:1',
    'test-ard_car_vif.R:17:1', 'test-ard_car_vif.R:28:1',
    'test-ard_car_vif.R:50:1', 'test-ard_car_anova.R:3:1',
    'test-ard_car_anova.R:15:1', 'test-ard_categorical_ci.survey.design.R:6:1',
    'test-ard_continuous_ci.survey.design.R:6:1',
    'test-ard_continuous_ci.survey.design.R:193:1',
    'test-ard_effectsize_hedges_g.R:3:1', 'test-ard_effectsize_cohens_d.R:3:1',
    'test-ard_emmeans_contrast.R:3:1', 'test-ard_emmeans_contrast.R:100:1',
    'test-ard_emmeans_emmeans.R:3:1', 'test-ard_emmeans_emmeans.R:93:1',
    'test-ard_incidence_rate.R:7:1', 'test-ard_incidence_rate.R:43:1',
    'test-ard_incidence_rate.R:66:1', 'test-ard_proportion_ci.R:62:1',
    'test-ard_proportion_ci.R:112:1', 'test-ard_regression_basic.R:3:1',
    'test-ard_regression.R:3:1', 'test-ard_regression.R:40:1',
    'test-ard_stats_aov.R:3:1', 'test-ard_stats_kruskal_test.R:3:1',
    'test-ard_stats_mood_test.R:3:1', 'test-ard_stats_oneway_test.R:3:1',
    'test-ard_stats_poisson_test.R:73:1', 'test-ard_survey_svychisq.R:3:1',
    'test-ard_survey_svyranktest.R:3:1', 'test-ard_survival_survfit.R:3:1',
    'test-ard_survival_survfit.R:16:1', 'test-ard_survival_survfit.R:29:1',
    'test-ard_survival_survfit.R:42:1', 'test-ard_survival_survfit.R:64:1',
    'test-ard_survival_survfit.R:90:1', 'test-ard_survival_survfit.R:120:1',
    'test-ard_survival_survfit.R:191:1', 'test-ard_survival_survfit.R:201:1',
    'test-ard_survival_survfit.R:225:1', 'test-ard_survival_survfit.R:243:1',
    'test-ard_survival_survfit.R:253:1', 'test-ard_survival_survfit_diff.R:36:1',
    'test-ard_tabulate.survey.design.R:421:1',
    'test-ard_tabulate.survey.design.R:1176:1',
    'test-ard_tabulate.survey.design.R:1410:1',
    'test-ard_tabulate_abnormal.R:5:1', 'test-ard_tabulate_abnormal.R:41:1',
    'test-ard_tabulate_max.R:1:1', 'test-ard_tabulate_max.R:60:1',
    'test-ard_tabulate_max.R:75:1', 'test-ard_tabulate_max.R:115:1',
    'test-ard_tabulate_max.R:211:1', 'test-ard_tabulate_max.R:237:1',
    'test-ard_tabulate_max.R:259:1',
    'test-ard_tabulate_value.survey.design.R:736:1',
    'test-ard_total_n.survey.design.R:3:1', 'test-construction_helpers.R:3:1',
    'test-construction_helpers.R:103:1', 'test-proportion_ci.R:3:1',
    'test-proportion_ci.R:122:1', 'test-ard_summary.survey.design.R:3:1',
    'test-ard_summary.survey.design.R:318:1',
    'test-ard_summary.survey.design.R:334:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ard_stats_mantelhaen_test.R:13:3'): ard_stats_mantelhaen_test() works ──
  Error in `structure(.)`: attempt to set an attribute on NULL
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-ard_stats_mantelhaen_test.R:13:3
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─cards::get_ard_statistics(...)
    5. │ ├─stats::setNames(...)
    6. │ └─base::lapply(...)
    7. │   └─cards (local) FUN(X[[i]], ...)
    8. │     └─ard_subset[[.column]][[i]] %>% ...
    9. ├─rlang::inject(...)
   10. └─base::structure(.)
  
  [ FAIL 1 | WARN 0 | SKIP 66 | PASS 636 ]
  Error:
  ! Test failures.
  Execution halted