CRAN Package Check Results for Package spatialrisk

Last updated on 2025-12-20 04:50:12 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.3 53.58 363.19 416.77 OK
r-devel-linux-x86_64-debian-gcc 0.7.3 35.78 227.58 263.36 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.3 96.00 550.71 646.71 ERROR
r-devel-linux-x86_64-fedora-gcc 0.7.3 92.00 521.66 613.66 ERROR
r-devel-windows-x86_64 0.7.3 54.00 318.00 372.00 OK
r-patched-linux-x86_64 0.7.3 49.95 347.59 397.54 OK
r-release-linux-x86_64 0.7.3 55.71 345.23 400.94 OK
r-release-macos-arm64 0.7.3 OK
r-release-macos-x86_64 0.7.3 34.00 276.00 310.00 OK
r-release-windows-x86_64 0.7.3 57.00 316.00 373.00 OK
r-oldrel-macos-arm64 0.7.3 NOTE
r-oldrel-macos-x86_64 0.7.3 35.00 350.00 385.00 NOTE
r-oldrel-windows-x86_64 0.7.3 75.00 448.00 523.00 ERROR

Check Details

Version: 0.7.3
Check: compiled code
Result: NOTE File ‘spatialrisk/libs/spatialrisk.so’: Found non-API call to R: ‘ATTRIB’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.7.3
Check: examples
Result: ERROR Running examples in ‘spatialrisk-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: choropleth > ### Title: Create choropleth map > ### Aliases: choropleth > > ### ** Examples > > test <- points_to_polygon(nl_provincie, insurance, sum(amount, na.rm = TRUE)) 109 points are outside any polygon. > choropleth(test) Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.3
Check: examples
Result: ERROR Running examples in ‘spatialrisk-Ex.R’ failed The error most likely occurred in: > ### Name: choropleth > ### Title: Create choropleth map > ### Aliases: choropleth > > ### ** Examples > > test <- points_to_polygon(nl_provincie, insurance, sum(amount, na.rm = TRUE)) 109 points are outside any polygon. > choropleth(test) Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.7.3
Check: installed package size
Result: NOTE installed size is 6.0Mb sub-directories of 1Mb or more: data 2.6Mb help 1.4Mb libs 1.9Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.7.3
Check: examples
Result: 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 -> <Anonymous> -> st_transform.sfc Execution halted Flavor: r-oldrel-windows-x86_64