- using R Under development (unstable) (2026-06-04 r90104 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-06-05 16:50:55 UTC
- checking for file 'metacoder/DESCRIPTION' ... OK
- this is package 'metacoder' version '0.3.9'
- 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 'metacoder' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 14.3.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' 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 ... [13s] OK
- checking Rd files ... [4s] 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 ... [2s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [43s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [32s] ERROR
Running 'testthat.R' [32s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
>
> suppressPackageStartupMessages(library(metacoder))
>
> test_check("metacoder")
Saving _problems/test--calculations-155.R
[ FAIL 1 | WARN 1 | SKIP 5 | PASS 530 ]
══ Skipped tests (5) ═══════════════════════════════════════════════════════════
• On CRAN (5): 'test--parsers_and_writers.R:104:3',
'test--parsers_and_writers.R:203:3', 'test--simulated_pcr.R:19:3',
'test--taxmap_parsers.R:139:3', 'test--taxmap_parsers.R:288:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test--calculations.R:153:3'): Comparing groups of samples ───────────
Error in `if (p < 0.99999) 1 - p else F(z, lower.tail = FALSE)`: missing value where TRUE/FALSE needed
Backtrace:
▆
1. └─metacoder::compare_groups(...) at test--calculations.R:153:3
2. └─base::lapply(...)
3. └─metacoder (local) FUN(X[[i]], ...)
4. └─metacoder (local) one_comparison(combinations[[i]][1], combinations[[i]][2])
5. └─base::lapply(...)
6. └─metacoder (local) FUN(X[[i]], ...)
7. ├─base::as.list(func(abund_1, abund_2))
8. └─metacoder (local) func(abund_1, abund_2)
9. ├─stats::wilcox.test(abund_1, abund_2, exact = FALSE)
10. └─stats:::wilcox.test.default(abund_1, abund_2, exact = FALSE)
11. └─stats:::.wilcox_test_two_pval_asymp(...)
[ FAIL 1 | WARN 1 | SKIP 5 | PASS 530 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s] OK
- checking PDF version of manual ... [30s] OK
- checking HTML version of manual ... [54s] OK
- DONE
Status: 1 ERROR