- using R Under development (unstable) (2025-10-07 r88905)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘BioTIMEr/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘BioTIMEr’ version ‘0.2.5’
- 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 ‘BioTIMEr’ can be installed ... [20s/54s] OK
See the install log for details.
- 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 ... [5s/17s] OK
- checking whether the package can be loaded with stated dependencies ... [5s/13s] OK
- checking whether the package can be unloaded cleanly ... [5s/14s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s/12s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/16s] OK
- checking loading without being on the library search path ... [5s/14s] 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 ... [25s/55s] 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 ... 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 ... [12s/31s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [50s/87s] ERROR
Running ‘testthat.R’ [49s/86s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("BioTIMEr")
Loading required package: BioTIMEr
Starting 2 test processes
[ FAIL 4 | WARN 3 | SKIP 16 | PASS 59 ]
══ Skipped tests (16) ══════════════════════════════════════════════════════════
• On CRAN (16): 'test-metrics.R:60:3', 'test-metrics.R:80:3',
'test-metrics.R:86:3', 'test-metrics.R:92:3', 'test-metrics.R:98:3',
'test-gridding.R:52:3', 'test-gridding.R:58:3', 'test-gridding.R:64:3',
'test-scales.R:35:3', 'test-slopes.R:3:3', 'test-workflow_alpha.R:3:3',
'test-workflow_beta.R:3:3', 'test-runResampling.R:42:3',
'test-runResampling.R:81:3', 'test-runResampling.R:119:3',
'test-runResampling.R:157:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-metrics.R:52:3'): getAlpha computes accurate biodiversity metrics ──
result$Shannon (`actual`) not equal to `shannon_expected` (`expected`).
`names(actual)` is absent
`names(expected)` is a character vector ('1', '2', '3', '4', '5', ...)
── Failure ('test-metrics.R:53:3'): getAlpha computes accurate biodiversity metrics ──
result$expShannon (`actual`) not equal to exp(shannon_expected) (`expected`).
`names(actual)` is absent
`names(expected)` is a character vector ('1', '2', '3', '4', '5', ...)
── Failure ('test-metrics.R:54:3'): getAlpha computes accurate biodiversity metrics ──
result$Simpson (`actual`) not equal to `simpson_expected` (`expected`).
`names(actual)` is absent
`names(expected)` is a character vector ('1', '2', '3', '4', '5', ...)
── Failure ('test-metrics.R:55:3'): getAlpha computes accurate biodiversity metrics ──
result$invSimpson (`actual`) not equal to `inv_expected` (`expected`).
`names(actual)` is absent
`names(expected)` is a character vector ('1', '2', '3', '4', '5', ...)
[ FAIL 4 | WARN 3 | SKIP 16 | PASS 59 ]
Deleting unused snapshots:
• scales/color-continuous-cool-false.svg
• scales/color-continuous-cool-true.svg
• scales/color-continuous-gradient-false.svg
• scales/color-continuous-gradient-true.svg
• scales/color-continuous-realms-false.svg
• scales/color-continuous-realms-true.svg
• scales/color-continuous-warm-false.svg
• scales/color-continuous-warm-true.svg
• scales/color-cool-false-false.svg
• scales/color-cool-false-true.svg
• scales/color-cool-true-false.svg
• scales/color-cool-true-true.svg
• scales/color-gradient-false-false.svg
• scales/color-gradient-false-true.svg
• scales/color-gradient-true-false.svg
• scales/color-gradient-true-true.svg
• scales/color-realms-false-false.svg
• scales/color-realms-false-true.svg
• scales/color-realms-true-false.svg
• scales/color-realms-true-true.svg
• scales/color-warm-false-false.svg
• scales/color-warm-false-true.svg
• scales/color-warm-true-false.svg
• scales/color-warm-true-true.svg
• scales/fill-continuous-cool-false.svg
• scales/fill-continuous-cool-true.svg
• scales/fill-continuous-gradient-false.svg
• scales/fill-continuous-gradient-true.svg
• scales/fill-continuous-realms-false.svg
• scales/fill-continuous-realms-true.svg
• scales/fill-continuous-warm-false.svg
• scales/fill-continuous-warm-true.svg
• scales/fill-cool-false-false.svg
• scales/fill-cool-false-true.svg
• scales/fill-cool-true-false.svg
• scales/fill-cool-true-true.svg
• scales/fill-gradient-false-false.svg
• scales/fill-gradient-false-true.svg
• scales/fill-gradient-true-false.svg
• scales/fill-gradient-true-true.svg
• scales/fill-realms-false-false.svg
• scales/fill-realms-false-true.svg
• scales/fill-realms-true-false.svg
• scales/fill-realms-true-true.svg
• scales/fill-warm-false-false.svg
• scales/fill-warm-false-true.svg
• scales/fill-warm-true-false.svg
• scales/fill-warm-true-true.svg
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [6m/17m] OK
- checking PDF version of manual ... [7s/21s] 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