CRAN Package Check Results for Package cardx

Last updated on 2026-06-30 20:50:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.3 8.90 435.37 444.27 OK
r-devel-linux-x86_64-debian-gcc 0.3.3 6.25 295.21 301.46 OK
r-devel-linux-x86_64-fedora-clang 0.3.3 17.00 663.41 680.41 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.3 15.00 775.61 790.61 ERROR
r-devel-windows-x86_64 0.3.3 10.00 279.00 289.00 OK
r-patched-linux-x86_64 0.3.3 8.52 419.77 428.29 OK
r-release-linux-x86_64 0.3.3 OK
r-release-macos-arm64 0.3.3 2.00 66.00 68.00 OK
r-release-macos-x86_64 0.3.3 6.00 501.00 507.00 OK
r-release-windows-x86_64 0.3.3 10.00 277.00 287.00 OK
r-oldrel-macos-arm64 0.3.3 2.00 64.00 66.00 OK
r-oldrel-macos-x86_64 0.3.3 6.00 455.00 461.00 OK
r-oldrel-windows-x86_64 0.3.3 14.00 427.00 441.00 OK

Check Details

Version: 0.3.3
Check: tests
Result: ERROR Running ‘testthat.R’ [501s/504s] 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_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_aod_wald_test.R:3:1', 'test-ard_attributes.survey.design.R:3:1', 'test-ard_car_anova.R:3:1', 'test-ard_car_anova.R:15: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_categorical_ci.survey.design.R:6:1', 'test-ard_effectsize_cohens_d.R:3: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_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_emmeans_emmeans.R:3:1', 'test-ard_emmeans_emmeans.R:93: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_oneway_test.R:3:1', 'test-ard_stats_mood_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-ard_summary.survey.design.R:3:1', 'test-ard_summary.survey.design.R:318:1', 'test-ard_summary.survey.design.R:334:1', 'test-proportion_ci.R:3:1', 'test-proportion_ci.R:122: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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.3
Check: tests
Result: ERROR Running ‘testthat.R’ [10m/17m] 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_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_aod_wald_test.R:3:1', 'test-ard_attributes.survey.design.R:3:1', 'test-ard_car_anova.R:3:1', 'test-ard_car_anova.R:15: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_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_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 Flavor: r-devel-linux-x86_64-fedora-gcc