- 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 'assignR/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'assignR' version '2.4.3'
- 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 'assignR' can be installed ... WARNING
Found the following significant warnings:
Warning: PROJ: proj_identify: Cannot find proj.db (GDAL error 1)
See the install log for details.
- 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 ... [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 ... [8s] OK
- checking loading without being on the library search path ... [9s] 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 ... [24s] 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 R/sysdata.rda ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [40s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [26s] ERROR
Running 'testthat.R' [25s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(assignR)
knownOrig database version 0.2, 4352 samples from 1986 sites.
Warning messages:
1: PROJ: proj_identify: Cannot find proj.db (GDAL error 1)
2: PROJ: proj_identify: Cannot find proj.db (GDAL error 1)
3: PROJ: proj_identify: Cannot find proj.db (GDAL error 1)
4: PROJ: proj_identify: Cannot find proj.db (GDAL error 1)
>
> test_check("assignR")
trying URL 'https://wateriso.utah.edu/waterisotopes/media/ArcGrids/CaribSr.zip'
Content type 'application/zip' length 5393557 bytes (5.1 MB)
==================================================
downloaded 5.1 MB
Saving _problems/test_pdRaster-22.R
[ FAIL 2 | WARN 2 | SKIP 0 | PASS 33 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_pdRaster.R:22:1'): (code run outside of `test_that()`) ─────────
Error: [project] output crs is not valid
Backtrace:
▆
1. ├─terra::project(naMap, "+init=epsg:28992") at test_pdRaster.R:22:1
2. └─terra::project(naMap, "+init=epsg:28992")
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(x, "project")
5. └─terra:::error(f, x@pntr$getError())
── Error ('test_processing.R:28:3'): (code run outside of `test_that()`) ───────
Error: [project] output crs is not valid
Backtrace:
▆
1. ├─testthat::capture_output(...) at test_processing.R:24:1
2. │ └─testthat::capture_output_lines(code, print, width = width)
3. │ └─testthat:::eval_with_output(code, print = print, width = width)
4. │ ├─withr::with_output_sink(path, withVisible(code))
5. │ │ └─base::force(code)
6. │ └─base::withVisible(code)
7. ├─terra::project(d$data, "+init=epsg:28992") at test_processing.R:28:3
8. └─terra::project(d$data, "+init=epsg:28992")
9. └─terra (local) .local(x, ...)
10. └─terra:::messages(x, "project")
11. └─terra:::error(f, x@pntr$getError())
[ FAIL 2 | WARN 2 | SKIP 0 | PASS 33 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [53s] OK
- checking PDF version of manual ... [23s] OK
- checking HTML version of manual ... [5s] OK
- DONE
Status: 1 ERROR, 1 WARNING