- using R Under development (unstable) (2026-02-03 r89373)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.8
flang version 21.1.8
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-02-03 12:47:30Z
- using option ‘--no-stop-on-test-error’
- checking for file ‘cardx/DESCRIPTION’ ... OK
- this is package ‘cardx’ version ‘0.3.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘cardx’ can be installed ... [15s/25s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [27s/37s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [51s/77s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [584s/498s] ERROR
Running ‘testthat.R’ [583s/498s]
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_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_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_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_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
- checking PDF version of manual ... [11s/12s] OK
- checking HTML version of manual ... [10s/12s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR