* using log directory 'd:/Rcompile/CRANpkg/local/4.4/terra.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 'terra/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'terra' version '1.8-86' * 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 'terra' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 13.3.0' * used C++ compiler: 'g++.exe (GCC) 13.3.0' * checking C++ specification ... OK Not all R platforms support C++17 * checking installed package size ... NOTE installed size is 101.5Mb sub-directories of 1Mb or more: R 2.5Mb libs 97.4Mb * 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 ... [8s] OK * checking whether the package can be loaded with stated dependencies ... [7s] 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 whether startup messages can be suppressed ... [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 ... [97s] OK * checking Rd files ... [7s] 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 line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [21s] ERROR Running examples in 'terra-Ex.R' failed The error most likely occurred in: > ### Name: cellSize > ### Title: Area covered by each raster cell > ### Aliases: cellSize cellSize,SpatRaster-method > ### Keywords: methods spatial > > ### ** Examples > > > # SpatRaster > r <- rast(nrows=18, ncols=36) > v <- 1:ncell(r) > v[200:400] <- NA > values(r) <- v > > # size of each raster cell > a <- cellSize(r) > > # illustration of distortion > r <- rast(ncols=90, nrows=45, ymin=-80, ymax=80) > m <- project(r, "+proj=merc") Warning: PROJ: proj_create: no database context specified (GDAL error 1) Warning: PROJ: proj_create: no database context specified (GDAL error 1) Error: [project] cannot get output boundaries for the target crs Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [18s] OK Running 'tinytest.R' [18s] * checking PDF version of manual ... [46s] OK * checking HTML version of manual ... [54s] OK * DONE Status: 1 ERROR, 1 NOTE