* using log directory 'd:/Rcompile/CRANpkg/local/4.4/spatialrisk.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 'spatialrisk/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'spatialrisk' version '0.7.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 'spatialrisk' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.3.0' * checking installed package size ... NOTE installed size is 5.1Mb sub-directories of 1Mb or more: data 2.5Mb help 1.4Mb libs 1.0Mb * 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 ... [15s] OK * checking whether the package can be loaded with stated dependencies ... [15s] OK * checking whether the package can be unloaded cleanly ... [15s] OK * checking whether the namespace can be loaded with stated dependencies ... [15s] OK * checking whether the namespace can be unloaded cleanly ... [16s] OK * checking loading without being on the library search path ... [16s] 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 ... [35s] 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 ... [2s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [45s] ERROR Running examples in 'spatialrisk-Ex.R' failed The error most likely occurred in: > ### Name: plot.concentration > ### Title: Automatically create a plot for objects obtained from > ### 'find_highest_concentration()' > ### Aliases: plot.concentration > > ### ** Examples > > x <- find_highest_concentration(Groningen, "amount") Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Warning: [vect] Cannot set SRS to vector: empty srs > plot(x, "concentration") > plot(x, "rasterized") Error in st_transform.sfc(sf::st_as_sfc(sf::st_bbox(x)), crs = 4326) : cannot transform sfc object with missing crs Calls: plot ... leaflet_stars -> createExtent -> -> st_transform.sfc Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [17s] OK Running 'testthat.R' [17s] * checking PDF version of manual ... [25s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR, 1 NOTE