* using log directory 'd:/Rcompile/CRANpkg/local/4.6/crosstable.Rcheck' * using R Under development (unstable) (2025-09-03 r88788 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'crosstable/DESCRIPTION' ... OK * this is package 'crosstable' version '0.8.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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'crosstable' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: 'officer.R' * 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] 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 ... [11s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [34s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [36s] ERROR Running 'testthat.R' [36s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(crosstable) Attaching package: 'crosstable' The following object is masked from 'package:testthat': matches > > test_check("crosstable") Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 41 | PASS 344 ] ══ Skipped tests (41) ══════════════════════════════════════════════════════════ • On CRAN (41): 'test-officer.R:1:1', 'test-by_numeric.R:80:3', 'test-by_numeric.R:163:3', 'test-by_numeric.R:168:3', 'test-compact.R:36:5', 'test-compact.R:46:5', 'test-by_factor.R:14:3', 'test-by_factor.R:29:3', 'test-by_factor.R:46:3', 'test-by_factor.R:65:3', 'test-by_factor.R:85:3', 'test-by_factor.R:126:3', 'test-by_factor.R:172:3', 'test-by_factor.R:207:3', 'test-by_factor.R:252:3', 'test-by_factor.R:271:3', 'test-by_factor.R:290:3', 'test-by_factor.R:335:3', 'test-effects_snap.R:2:1', 'test-crosstable.R:138:3', 'test-labels.R:21:3', 'test-labels.R:46:3', 'test-labels.R:197:3', 'test-labels.R:215:3', 'test-methods.R:15:3', 'test-options.R:10:3', 'test-options.R:104:3', 'test-flextable.R:11:3', 'test-flextable.R:25:3', 'test-flextable.R:32:3', 'test-flextable.R:43:3', 'test-flextable.R:58:3', 'test-flextable.R:68:3', 'test-flextable.R:81:3', 'test-flextable.R:88:3', 'test-pivot.R:17:3', 'test-quick_surv.R:10:3', 'test-tests.R:77:3', 'test-tests.R:104:5', 'test-selection.R:245:3', 'test-selection.R:267:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-tests.R:22:5'): Statistical Tests ──────────────────────────── x$test[1] (`actual`) not equal to "p value: 0.0002 \n(Wilcoxon rank sum test)" (`expected`). `lines(actual)`: "p value: <0.0001 " "(Wilcoxon rank sum exact test)" `lines(expected)`: "p value: 0.0002 " "(Wilcoxon rank sum test)" [ FAIL 1 | WARN 0 | SKIP 41 | PASS 344 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [33s] OK * checking PDF version of manual ... [30s] OK * checking HTML version of manual ... [10s] OK * DONE Status: 1 ERROR, 1 NOTE