Running ‘testthat.R’ [241s/138s]
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_cohens_d.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-ard_effectsize_hedges_g.R: For paired samples, 'repeated_measures_d()' provides more options.
  Saving _problems/test-ard_missing.survey.design-113.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.
  Saving _problems/test-ard_tabulate.survey.design-1325.R
  Saving _problems/test-ard_tabulate.survey.design-1343.R
  Saving _problems/test-ard_tabulate.survey.design-1387.R
  > test-ard_tabulate_max.R: `AESEV`: "MILD" < "MODERATE" < "SEVERE"
  Saving _problems/test-ard_tabulate_value.survey.design-799.R
  Saving _problems/test-ard_total_n.survey.design-15.R
  Saving _problems/test-ard_total_n.survey.design-37.R
  [ FAIL 7 | WARN 74 | SKIP 64 | PASS 629 ]
  
  ══ Skipped tests (64) ══════════════════════════════════════════════════════════
  • On CRAN (64): '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:28: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_cohens_d.R:3:1', 'test-ard_effectsize_hedges_g.R:3:1',
    'test-ard_emmeans_emmeans.R:3:1', 'test-ard_emmeans_emmeans.R:93:1',
    'test-ard_emmeans_contrast.R:3:1', 'test-ard_emmeans_contrast.R:100: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_mantelhaen_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:221:1',
    'test-ard_survival_survfit.R:231: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:210:1', 'test-ard_tabulate_max.R:236:1',
    'test-ard_tabulate_max.R:258: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 ════════════════════════════════════════════════════════════════
  ── Failure ('test-ard_missing.survey.design.R:110:3'): ard_missing.survey.design() follows ard structure ──
  Expected `cards::check_ard_structure(...)` to run silently.
  Actual noise: warnings.
  ── Failure ('test-ard_tabulate.survey.design.R:1317:3'): ard_tabulate follows ard structure ──
  Expected `cards::check_ard_structure(...)` to run silently.
  Actual noise: warnings.
  ── Failure ('test-ard_tabulate.survey.design.R:1340:3'): ard_tabulate.survey.design() original types are retained ──
  Expected `... <- NULL` to run silently.
  Actual noise: warnings.
  ── Failure ('test-ard_tabulate.survey.design.R:1375:3'): ard_tabulate.survey.design() works with all NA fct variables ──
  Expected `... <- NULL` to run silently.
  Actual noise: warnings.
  ── Failure ('test-ard_tabulate_value.survey.design.R:790:3'): ard_tabulate_value.survey.design() follows ard structure ──
  Expected `cards::check_ard_structure(...)` to run silently.
  Actual noise: warnings.
  ── Failure ('test-ard_total_n.survey.design.R:11:3'): ard_total_n.survey.design() follows ard structure ──
  Expected `cards::check_ard_structure(...)` to run silently.
  Actual noise: warnings.
  ── Failure ('test-ard_total_n.survey.design.R:29:3'): ard_total_n.survey.design() using `update()` ──
  Expected `ard_total_n(...)` to run silently.
  Actual noise: warnings.
  
  [ FAIL 7 | WARN 74 | SKIP 64 | PASS 629 ]
  Error:
  ! Test failures.
  Execution halted