* using log directory 'd:/Rcompile/CRANpkg/local/4.4/fastbioclim.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'fastbioclim/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'fastbioclim' version '0.3.0' * 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 'fastbioclim' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [9s] OK * checking whether the package can be loaded with stated dependencies ... [8s] OK * checking whether the package can be unloaded cleanly ... [8s] OK * checking whether the namespace can be loaded with stated dependencies ... [8s] OK * checking whether the namespace can be unloaded cleanly ... [10s] OK * checking loading without being on the library search path ... [9s] 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 ... [29s] OK * checking Rd files ... [2s] 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 examples ... [9s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [14s] ERROR Running 'testthat.R' [13s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(fastbioclim) > > test_check("fastbioclim") terra 1.8.86 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE User forced 'tiled' workflow. User forced 'tiled' (out-of-core) workflow. Saving _problems/test-derive_bioclim-50.R Saving _problems/test-derive_bioclim-67.R Saving _problems/test-derive_bioclim-94.R Saving _problems/test-derive_bioclim-141.R Saving _problems/test-derive_statistics-34.R Saving _problems/test-derive_statistics-59.R Saving _problems/test-derive_statistics-87.R Saving _problems/test-derive_statistics-126.R [ FAIL 8 | WARN 10 | SKIP 0 | PASS 51 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-derive_bioclim.R:50:3'): Input validation and initial checks work correctly ── Error: [rast] empty srs Backtrace: ▆ 1. └─fastbioclim (local) create_dummy_rasters(withr::local_tempdir()) at test-derive_bioclim.R:50:3 2. ├─terra::rast(...) at test-derive_bioclim.R:11:3 3. └─terra::rast(...) 4. └─terra (local) .local(x = x, ...) 5. └─terra:::new_rast(...) 6. └─terra:::messages(r, "rast") 7. └─terra:::error(f, x@pntr$getError()) ── Error ('test-derive_bioclim.R:67:3'): File `overwrite` logic is correctly handled ── Error: [rast] empty srs Backtrace: ▆ 1. └─fastbioclim (local) create_dummy_rasters(withr::local_tempdir()) at test-derive_bioclim.R:67:3 2. ├─terra::rast(...) at test-derive_bioclim.R:11:3 3. └─terra::rast(...) 4. └─terra (local) .local(x = x, ...) 5. └─terra:::new_rast(...) 6. └─terra:::messages(r, "rast") 7. └─terra:::error(f, x@pntr$getError()) ── Error ('test-derive_bioclim.R:94:3'): Workflow dispatch logic selects the correct method ── Error: [rast] empty srs Backtrace: ▆ 1. └─fastbioclim (local) create_dummy_rasters(local_dir) at test-derive_bioclim.R:94:3 2. ├─terra::rast(...) at test-derive_bioclim.R:11:3 3. └─terra::rast(...) 4. └─terra (local) .local(x = x, ...) 5. └─terra:::new_rast(...) 6. └─terra:::messages(r, "rast") 7. └─terra:::error(f, x@pntr$getError()) ── Error ('test-derive_bioclim.R:141:3'): Static indices are passed correctly to the chosen workflow ── Error: [rast] empty srs Backtrace: ▆ 1. └─fastbioclim (local) create_dummy_rasters(local_dir) at test-derive_bioclim.R:141:3 2. ├─terra::rast(...) at test-derive_bioclim.R:11:3 3. └─terra::rast(...) 4. └─terra (local) .local(x = x, ...) 5. └─terra:::new_rast(...) 6. └─terra:::messages(r, "rast") 7. └─terra:::error(f, x@pntr$getError()) ── Error ('test-derive_statistics.R:34:3'): Input validation and initial checks work correctly ── Error: [rast] empty srs Backtrace: ▆ 1. └─fastbioclim (local) create_dummy_stat_rasters(local_dir) at test-derive_statistics.R:34:3 2. ├─terra::rast(...) at test-derive_statistics.R:9:3 3. └─terra::rast(...) 4. └─terra (local) .local(x = x, ...) 5. └─terra:::new_rast(...) 6. └─terra:::messages(r, "rast") 7. └─terra:::error(f, x@pntr$getError()) ── Error ('test-derive_statistics.R:59:3'): File `overwrite` logic correctly handles dynamic filenames ── Error: [rast] empty srs Backtrace: ▆ 1. └─fastbioclim (local) create_dummy_stat_rasters(withr::local_tempdir()) at test-derive_statistics.R:59:3 2. ├─terra::rast(...) at test-derive_statistics.R:9:3 3. └─terra::rast(...) 4. └─terra (local) .local(x = x, ...) 5. └─terra:::new_rast(...) 6. └─terra:::messages(r, "rast") 7. └─terra:::error(f, x@pntr$getError()) ── Error ('test-derive_statistics.R:87:3'): Workflow dispatch logic selects the correct method ── Error: [rast] empty srs Backtrace: ▆ 1. └─fastbioclim (local) create_dummy_stat_rasters(local_dir) at test-derive_statistics.R:87:3 2. ├─terra::rast(...) at test-derive_statistics.R:9:3 3. └─terra::rast(...) 4. └─terra (local) .local(x = x, ...) 5. └─terra:::new_rast(...) 6. └─terra:::messages(r, "rast") 7. └─terra:::error(f, x@pntr$getError()) ── Error ('test-derive_statistics.R:126:3'): Arguments are passed correctly to the chosen workflow ── Error: [rast] empty srs Backtrace: ▆ 1. └─fastbioclim (local) create_dummy_stat_rasters(local_dir) at test-derive_statistics.R:126:3 2. ├─terra::rast(...) at test-derive_statistics.R:9:3 3. └─terra::rast(...) 4. └─terra (local) .local(x = x, ...) 5. └─terra:::new_rast(...) 6. └─terra:::messages(r, "rast") 7. └─terra:::error(f, x@pntr$getError()) [ FAIL 8 | WARN 10 | SKIP 0 | PASS 51 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [14s] OK * DONE Status: 1 ERROR