* using log directory ‘/data/gannet/ripley/R/packages/tests-clang/poems.Rcheck’ * using R Under development (unstable) (2025-02-22 r87795) * using platform: x86_64-pc-linux-gnu * R was compiled by clang version 20.1.0-rc2 flang version 20.1.0-rc2 * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘poems/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘poems’ version ‘1.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 ‘poems’ can be installed ... [105s/121s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/poems-00install.html' for details. * 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 ... [20s/20s] OK * checking whether the package can be loaded with stated dependencies ... [19s/19s] OK * checking whether the package can be unloaded cleanly ... [20s/21s] OK * checking whether the namespace can be loaded with stated dependencies ... [19s/19s] OK * checking whether the namespace can be unloaded cleanly ... [20s/20s] OK * checking loading without being on the library search path ... [21s/21s] 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 ... [77s/78s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [15s/16s] OK * checking data for ASCII and uncompressed saves ... OK * checking sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [34s/34s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [99s/99s] ERROR Running ‘testthat.R’ [99s/99s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(poems) > > test_check("poems") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1093 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_results_manager.R:385:5'): calculate summary weighted averages ── Error in `FUN(newX[, i], ...)`: NA in coercion to Rboolean Backtrace: ▆ 1. ├─testthat::expect_silent(results_manager$calculate_summary_weighted_averages(na_replacements = list(abundance = na_function))) at test_results_manager.R:388:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─results_manager$calculate_summary_weighted_averages(na_replacements = list(abundance = na_function)) 10. └─na_replacements[[param]](summary_matrix_list[[param]]) 11. └─base::apply(a, 2, min, na.rm = NA) at test_results_manager.R:385:5 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1093 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [38s/35s] OK * checking PDF version of manual ... [13s/13s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR