* using log directory ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/poems.Rcheck’
* using R Under development (unstable) (2025-02-23 r87804)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    Debian clang version 19.1.7 (1+b1)
    Debian flang-new version 19.1.7 (1+b1)
* running under: Debian GNU/Linux trixie/sid
* using session charset: UTF-8
* 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 ... OK
See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/poems-00install.html' for details.
* checking package directory ... OK
* checking for future file timestamps ... 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 ... [13s/16s] OK
* checking whether the package can be loaded with stated dependencies ... [12s/14s] OK
* checking whether the package can be unloaded cleanly ... [12s/14s] OK
* checking whether the namespace can be loaded with stated dependencies ... [12s/13s] OK
* checking whether the namespace can be unloaded cleanly ... [12s/14s] OK
* checking loading without being on the library search path ... [13s/19s] 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 ... [61s/79s] OK
* checking Rd files ... [1s/2s] 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 ... [9s/13s] 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 ... [21s/28s] OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... [65s/81s] ERROR
  Running ‘testthat.R’ [64s/80s]
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 ... [33s/38s] OK
* checking PDF version of manual ... [9s/12s] OK
* checking HTML version of manual ... [4s/7s] OK
* checking for non-standard things in the check directory ... OK
* DONE
Status: 1 ERROR