* using log directory 'd:/Rcompile/CRANpkg/local/4.4/reproducible.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 'reproducible/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'reproducible' version '2.1.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 'reproducible' 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 ... [2s] 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 ... [2s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [28s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [17s] ERROR Running examples in 'reproducible-Ex.R' failed The error most likely occurred in: > ### Name: gdalProject > ### Title: 3-Step postProcess sequence for SpatRasters using 'gdalwarp' > ### Aliases: gdalProject gdalResample gdalMask > > ### ** Examples > > # prepare dummy data -- 3 SpatRasters, 2 SpatVectors > # need 2 SpatRaster > rf <- system.file("ex/elev.tif", package = "terra") > elev1 <- terra::rast(rf) > #' > ras2 <- terra::deepcopy(elev1) > ras2[ras2 > 200 & ras2 < 300] <- NA_integer_ > terra::values(elev1) <- rep(1L, terra::ncell(ras2)) > #' > # a polygon vector > f <- system.file("ex/lux.shp", package = "terra") > vOrig <- terra::vect(f) Warning: PROJ: proj_identify: Cannot find proj.db (GDAL error 1) > v <- vOrig[1:2, ] > #' > utm <- terra::crs("epsg:23028") # $wkt 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 ... [114s] ERROR Running 'test-all.R' [114s] Running the tests in 'tests/test-all.R' failed. Complete output: > library(testthat) > > # NOTE: ALL OPTIONS ARE BEING SET IN tests/testthat/setup.R > > ## run all tests using different combinations of env vars > if (nzchar(Sys.getenv("NOT_CRAN")) && as.logical(Sys.getenv("NOT_CRAN"))) { + Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "raster::raster") + Sys.setenv(R_REPRODUCIBLE_USE_DBI = "false") + test_check("reproducible") + + Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "raster::raster") + Sys.setenv(R_REPRODUCIBLE_USE_DBI = "true") + test_check("reproducible") + + Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "terra::rast") ## default + Sys.setenv(R_REPRODUCIBLE_USE_DBI = "false") ## default + test_check("reproducible") + + Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "terra::rast") + Sys.setenv(R_REPRODUCIBLE_USE_DBI = "true") + test_check("reproducible") + } else { + test_check("reproducible") + } Loading required package: reproducible Command Line Error: Cannot find archive [ FAIL 1 | WARN 16 | SKIP 90 | PASS 398 ] ══ Skipped tests (90) ══════════════════════════════════════════════════════════ • No Drive token (3): 'test-misc.R:137:3', 'test-prepInputs.R:1199:3', 'test-prepInputs.R:1219:3' • On CRAN (82): 'test-cache.R:2:3', 'test-cache.R:748:3', 'test-cache.R:768:3', 'test-cache.R:961:3', 'test-cache.R:1515:3', 'test-cache.R:1561:3', 'test-cacheGeo.R:2:3', 'test-cloud.R:2:3', 'test-cloud.R:145:3', 'test-cloud.R:184:3', 'test-cloud.R:212:3', 'test-cloud.R:239:3', 'test-cluster.R:2:3', 'test-filesMissingExtension.R:2:3', 'test-filesMissingExtension.R:17:3', 'test-filesMissingExtension.R:32:3', 'test-filesMissingExtension.R:47:3', 'test-filesMissingExtension.R:62:3', 'test-gis.R:2:3', 'test-misc.R:62:3', 'test-postProcess.R:2:3', 'test-postProcess.R:232:3', 'test-postProcess.R:276:3', 'test-preProcessDoesntWork.R:2:3', 'test-preProcessDoesntWork.R:121:3', 'test-preProcessDoesntWork.R:135:3', 'test-preProcessDoesntWork.R:149:3', 'test-preProcessDoesntWork.R:179:3', 'test-preProcessWorks.R:2:3', 'test-preProcessWorks.R:13:3', 'test-preProcessWorks.R:24:3', 'test-preProcessWorks.R:35:3', 'test-preProcessWorks.R:57:3', 'test-preProcessWorks.R:82:3', 'test-preProcessWorks.R:96:3', 'test-preProcessWorks.R:113:3', 'test-preProcessWorks.R:128:3', 'test-preProcessWorks.R:143:3', 'test-preProcessWorks.R:165:3', 'test-preProcessWorks.R:179:3', 'test-preProcessWorks.R:202:3', 'test-preProcessWorks.R:233:3', 'test-preProcessWorks.R:257:3', 'test-preProcessWorks.R:270:3', 'test-preProcessWorks.R:286:3', 'test-preProcessWorks.R:302:3', 'test-preProcessWorks.R:315:3', 'test-preProcessWorks.R:328:3', 'test-preProcessWorks.R:348:3', 'test-preProcessWorks.R:361:3', 'test-preProcessWorks.R:374:3', 'test-preProcessWorks.R:391:3', 'test-preProcessWorks.R:409:3', 'test-preProcessWorks.R:438:3', 'test-preProcessWorks.R:459:3', 'test-preProcessWorks.R:487:3', 'test-preProcessWorks.R:543:3', 'test-preProcessWorks.R:569:3', 'test-preProcessWorks.R:672:3', 'test-prepInputs-large-files.R:2:3', 'test-prepInputs-large-files.R:35:3', 'test-prepInputs-large-files.R:61:3', 'test-prepInputs.R:2:3', 'test-prepInputs.R:180:3', 'test-prepInputs.R:327:3', 'test-prepInputs.R:1141:3', 'test-prepInputs.R:1337:3', 'test-prepInputs.R:1496:3', 'test-prepInputs.R:1571:3', 'test-prepInputs.R:1859:3', 'test-prepInputs.R:1883:3', 'test-prepInputsInNestedArchives.R:2:3', 'test-prepInputsInNestedArchives.R:13:3', 'test-prepInputsInNestedArchives.R:28:3', 'test-prepInputsInNestedArchives.R:39:3', 'test-prepInputsInNestedArchives.R:59:5', 'test-prepInputsInNestedArchives.R:82:5', 'test-prepInputsInNestedArchives.R:104:5', 'test-prepInputsInNestedArchives.R:141:5', 'test-prepInputsInNestedArchives.R:176:3', 'test-prepInputsInNestedArchives.R:208:3', 'test-symlinks.R:2:3' • The Google Drive url is dead (1): 'test-postProcess.R:342:3' • empty test (3): 'test-download.R:1:1', 'test-examples.R:1:1', 'test-preProcessWorks.R:467:1' • test cloudCache inside Cache -- Not fully written test (1): 'test-multipleCacheRepo.R:38:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-postProcessTerra.R:182:5'): testing terra ────────────────────── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::crs("epsg:23028") at test-postProcessTerra.R:182:5 2. └─terra::crs("epsg:23028") 3. └─terra (local) .local(x, ...) 4. ├─terra::rast(crs = x) 5. └─terra::rast(crs = x) 6. └─terra (local) .local(x = x, ...) 7. └─terra:::new_rast(...) 8. └─terra:::messages(r, "rast") 9. └─terra:::error(f, x@pntr$getError()) [ FAIL 1 | WARN 16 | SKIP 90 | PASS 398 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [10s] ERROR Error(s) in re-building vignettes: --- re-building 'Intro-to-Cache.Rmd' using rmarkdown Quitting from Intro-to-Cache.Rmd:65-97 [function-level] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! [project] cannot get output boundaries for the target crs --- Backtrace: ▆ 1. ├─base::system.time(...) 2. ├─base::suppressWarnings(map1 <- terra::project(ras, newCRS)) 3. │ └─base::withCallingHandlers(...) 4. ├─terra::project(ras, newCRS) 5. └─terra::project(ras, newCRS) 6. └─terra (local) .local(x, ...) 7. └─terra:::messages(x, "project") 8. └─terra:::error(f, x@pntr$getError()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Intro-to-Cache.Rmd' failed with diagnostics: [project] cannot get output boundaries for the target crs --- failed re-building 'Intro-to-Cache.Rmd' SUMMARY: processing the following file failed: 'Intro-to-Cache.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [19s] OK * DONE Status: 3 ERRORs