- using R version 4.4.2 (2024-10-31 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'cardx/DESCRIPTION' ... OK
- this is package 'cardx' version '0.2.2'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'cardx' can be installed ... 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] 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 ... [8s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 ... [33s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [229s] ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [228s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> test_check("cardx")
Loading required package: cardx
Attaching package: 'cardx'
The following object is masked from 'package:testthat':
matches
Starting 2 test processes
Superclass process has cloneable=FALSE, but subclass r_session has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for r_session.
Superclass process has cloneable=FALSE, but subclass r_session has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for r_session.
[ FAIL 5 | WARN 75 | SKIP 45 | PASS 515 ]
══ Skipped tests (45) ══════════════════════════════════════════════════════════
• On CRAN (45): 'test-ard_attributes.survey.design.R:8:3',
'test-ard_aod_wald_test.R:12:3', 'test-ard_car_vif.R:4:3',
'test-ard_car_vif.R:29:3', 'test-ard_car_anova.R:14:3',
'test-ard_car_anova.R:18:3', 'test-ard_categorical_ci.survey.design.R:7:3',
'test-ard_continuous.survey.design.R:70:3',
'test-ard_continuous.survey.design.R:322:3',
'test-ard_continuous.survey.design.R:338:3',
'test-ard_continuous_ci.survey.design.R:7:3',
'test-ard_continuous_ci.survey.design.R:194:3',
'test-ard_dichotomous.survey.design.R:413:3',
'test-ard_effectsize_cohens_d.R:38:3', 'test-ard_effectsize_hedges_g.R:34:3',
'test-ard_proportion_ci.R:92:3', 'test-ard_proportion_ci.R:113:3',
'test-ard_regression.R:6:3', 'test-ard_regression.R:30:3',
'test-ard_regression_basic.R:12:3', 'test-ard_stats_aov.R:25:3',
'test-ard_stats_kruskal_test.R:22:3', 'test-ard_stats_mood_test.R:22:3',
'test-ard_stats_oneway_test.R:24:3', 'test-ard_stats_poisson_test.R:74:3',
'test-ard_survey_svychisq.R:28:3', 'test-ard_survey_svyranktest.R:18:3',
'test-ard_survival_survfit.R:4:3', 'test-ard_survival_survfit.R:15:3',
'test-ard_survival_survfit.R:26:3', 'test-ard_survival_survfit.R:37:3',
'test-ard_survival_survfit.R:57:3', 'test-ard_survival_survfit.R:91:3',
'test-ard_survival_survfit.R:111:3', 'test-ard_survival_survfit.R:162:3',
'test-ard_survival_survfit.R:180:3', 'test-ard_survival_survfit.R:189:3',
'test-ard_survival_survfit_diff.R:40:3',
'test-ard_categorical.survey.design.R:428:3',
'test-ard_categorical.survey.design.R:1195:3',
'test-ard_total_n.survey.design.R:4:3', 'test-construction_helpers.R:4:3',
'test-construction_helpers.R:104:3', 'test-proportion_ci.R:12:3',
'test-proportion_ci.R:138:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-ard_dichotomous.survey.design.R:457:3'): ard_dichotomous.survey.design() follows ard structure ──
`cards::check_ard_structure(...)` produced warnings.
── Failure ('test-ard_missing.survey.design.R:110:3'): ard_missing.survey.design() follows ard structure ──
`cards::check_ard_structure(...)` produced warnings.
── Failure ('test-ard_categorical.survey.design.R:1317:3'): ard_categorical follows ard structure ──
`cards::check_ard_structure(...)` produced warnings.
── Failure ('test-ard_categorical.survey.design.R:1340:3'): ard_categorical.survey.design() original types are retained ──
`... <- NULL` produced warnings.
── Failure ('test-ard_total_n.survey.design.R:11:3'): ard_total_n.survey.design() follows ard structure ──
`cards::check_ard_structure(...)` produced warnings.
[ FAIL 5 | WARN 75 | SKIP 45 | PASS 515 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [23s] OK
- checking HTML version of manual ... [11s] OK
- DONE
Status: 1 ERROR