* using log directory 'd:/Rcompile/CRANpkg/local/4.4/geotargets.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 'geotargets/DESCRIPTION' ... OK * this is package 'geotargets' version '0.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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'geotargets' can be installed ... OK * checking installed package size ... OK * 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [4s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [10s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [230s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [229s] 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(geotargets) > > test_check("geotargets") Warning messages: 1: GDAL Error 6: SetIndexingVariable() not implemented 2: GDAL Error 6: SetIndexingVariable() not implemented Warning messages: 1: GDAL Error 6: SetIndexingVariable() not implemented 2: GDAL Error 6: SetIndexingVariable() not implemented Warning message: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) Warning messages: 1: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 2: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 3: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) terra 1.8.86 Warning message: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) terra 1.8.86 terra 1.8.86 Warning messages: 1: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 2: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) terra 1.8.86 Warning messages: 1: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 2: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) terra 1.8.86 Warning messages: 1: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 2: PROJ: proj_identify: Cannot find proj.db (GDAL error 1) Warning messages: 1: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) 2: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) 3: [project] Cannot set raster SRS: empty srs Warning messages: 1: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 2: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) terra 1.8.86 terra 1.8.86 creating 2 * 3 = 6 tile extents terra 1.8.86 creating 2 * 3 = 6 tile extents There were 16 warnings (use warnings() to see them) Warning messages: 1: PROJ: proj_identify: Cannot find proj.db (GDAL error 1) 2: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Warning message: PROJ: proj_identify: Cannot find proj.db (GDAL error 1) Warning messages: 1: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 2: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 3: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 4: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 5: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) 6: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1) creating 1 * 1 = 1 tile extents creating 1 * 2 = 2 tile extents creating 1 * 3 = 3 tile extents creating 2 * 2 = 4 tile extents creating 2 * 3 = 6 tile extents [ FAIL 2 | WARN 2 | SKIP 12 | PASS 57 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • On CRAN (12): 'test-check-gdal-shz.R:1:1', 'test-check-gdal-sozip.R:1:1', 'test-check-pkg-installed.R:1:1', 'test-check-user-resources.R:1:1', 'test-tar-stars.R:5:1', 'test-tar-stars.R:25:1', 'test-tar-stars.R:46:1', 'test-tar-stars.R:72:1', 'test-tar-terra-rast.R:3:1', 'test-tar-terra-sprc.R:48:1', 'test-tile-funs.R:1:1', 'test-tile-funs.R:39:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tar-terra-sprc.R:40:3'): tar_terra_sprc() works ──────────────── Error: Error in tar_make(): error in evaluating the argument 'x' in selecting a method for function 'sprc': [project] cannot get output boundaries for the target crs See https://books.ropensci.org/targets/debugging.html Backtrace: ▆ 1. └─targets::tar_make(reporter = "silent") at test-tar-terra-sprc.R:40:3 2. └─targets:::callr_outer(...) 3. ├─targets:::if_any(...) 4. └─targets:::callr_error(traced_condition = out, fun = fun) 5. └─targets::tar_throw_run(message, class = class(traced_condition$condition)) 6. └─targets::tar_error(...) 7. └─rlang::abort(message = message, class = class, call = tar_envir_base) ── Error ('test-tar-terra-vect.R:22:3'): tar_terra_vect() works ──────────────── Error: Error in tar_make(): [project] output crs is not valid See https://books.ropensci.org/targets/debugging.html Backtrace: ▆ 1. └─targets::tar_make(reporter = "silent") at test-tar-terra-vect.R:22:3 2. └─targets:::callr_outer(...) 3. ├─targets:::if_any(...) 4. └─targets:::callr_error(traced_condition = out, fun = fun) 5. └─targets::tar_throw_run(message, class = class(traced_condition$condition)) 6. └─targets::tar_error(...) 7. └─rlang::abort(message = message, class = class, call = tar_envir_base) [ FAIL 2 | WARN 2 | SKIP 12 | PASS 57 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [117s] ERROR Error(s) in re-building vignettes: --- re-building 'geotargets.Rmd' using rmarkdown Quitting from geotargets.Rmd:175-182 [make_vect] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'geotargets.Rmd' failed with diagnostics: Error in tar_make(): [project] output crs is not valid See https://books.ropensci.org/targets/debugging.html --- failed re-building 'geotargets.Rmd' --- re-building 'tar_terra_tiles.Rmd' using rmarkdown --- finished re-building 'tar_terra_tiles.Rmd' SUMMARY: processing the following file failed: 'geotargets.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 2 ERRORs