* using log directory 'd:/Rcompile/CRANpkg/local/4.4/cffdrs.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 'cffdrs/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'cffdrs' version '1.9.2' * 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 'cffdrs' 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 ... [9s] 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 ... [9s] OK * checking loading without being on the library search path ... [8s] 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] OK * checking Rd files ... [1s] 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 ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [20s] ERROR Running examples in 'cffdrs-Ex.R' failed The error most likely occurred in: > ### Name: gfmcRaster > ### Title: Grass Fuel Moisture Raster Calculation > ### Aliases: gfmcRaster > > ### ** Examples > > require(terra) Loading required package: terra terra 1.8.86 > set.seed(5123) > test_gfmc_r <- rast( + nrows = 25, + ncols = 25, + crs = "EPSG:3402", + resolution = 100, + ymin = 5652012, + ymax = 5652012 + (25 * 100), + xmin = 565550, + xmax = 565550 + (25 * 100), + names = "temp", + vals = sample(x = 19:27, size = 25 * 25, replace = TRUE) + ) Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Error: [rast] empty srs Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [122s] ERROR Running 'testthat.R' [122s] 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(cffdrs) > > test_check("cffdrs") terra 1.8.86 Attaching package: 'terra' The following object is masked from 'package:data.table': shift The following objects are masked from 'package:testthat': compare, describe Saving _problems/test_gfmcRaster-14.R [ FAIL 1 | WARN 219 | SKIP 0 | PASS 106 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_gfmcRaster.r:3:3'): gfmcRaster ───────────────────────────────── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::rast(...) at test_gfmcRaster.r:3:3 2. └─terra::rast(...) 3. └─terra (local) .local(x = x, ...) 4. └─terra:::new_rast(...) 5. └─terra:::messages(r, "rast") 6. └─terra:::error(f, x@pntr$getError()) [ FAIL 1 | WARN 219 | SKIP 0 | PASS 106 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 2 ERRORs