CRAN Package Check Results for Package geonuts

Last updated on 2026-05-10 04:50:31 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 11.93 124.80 136.73 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 8.47 87.61 96.08 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 19.00 190.35 209.35 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 20.00 205.05 225.05 OK
r-devel-windows-x86_64 1.0.1 13.00 119.00 132.00 OK
r-patched-linux-x86_64 1.0.1 11.43 115.52 126.95 OK
r-release-linux-x86_64 1.0.1 11.38 96.43 107.81 ERROR
r-release-macos-arm64 1.0.1 3.00 44.00 47.00 OK
r-release-macos-x86_64 1.0.1 8.00 138.00 146.00 OK
r-release-windows-x86_64 1.0.1 14.00 122.00 136.00 OK
r-oldrel-macos-arm64 1.0.1 3.00 46.00 49.00 OK
r-oldrel-macos-x86_64 1.0.1 8.00 125.00 133.00 OK
r-oldrel-windows-x86_64 1.0.1 18.00 158.00 176.00 OK

Check Details

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/58s] 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(geonuts) > > test_check("geonuts") Saving _problems/test-get_nuts-44.R Saving _problems/test-get_nuts-63.R Saving _problems/test-get_nuts-83.R Saving _problems/test-map_nuts-41.R Saving _problems/test-map_nuts-53.R Saving _problems/test-map_nuts-65.R Saving _problems/test-map_nuts-77.R Saving _problems/test-map_nuts-95.R [ FAIL 8 | WARN 0 | SKIP 0 | PASS 4 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_nuts.R:39:3'): get_nuts() returns expected structure for single level ── Error in `UseMethod("st_make_valid")`: no applicable method for 'st_make_valid' applied to an object of class "NULL" Backtrace: ▆ 1. └─geonuts::get_nuts(...) at test-get_nuts.R:39:3 2. └─geonuts (local) .match_level(as.integer(level)) 3. ├─base::suppressWarnings(sf::st_make_valid(shp)) 4. │ └─base::withCallingHandlers(...) 5. └─sf::st_make_valid(shp) ── Error ('test-get_nuts.R:58:3'): get_nuts(level = 'all') returns all levels and metadata ── Error in `UseMethod("st_make_valid")`: no applicable method for 'st_make_valid' applied to an object of class "NULL" Backtrace: ▆ 1. └─geonuts::get_nuts(...) at test-get_nuts.R:58:3 2. └─geonuts (local) .match_level(0) 3. ├─base::suppressWarnings(sf::st_make_valid(shp)) 4. │ └─base::withCallingHandlers(...) 5. └─sf::st_make_valid(shp) ── Error ('test-get_nuts.R:76:3'): get_nuts(match_strategy = 'nearest') assigns nearest region over water ── Error in `UseMethod("st_make_valid")`: no applicable method for 'st_make_valid' applied to an object of class "NULL" Backtrace: ▆ 1. └─geonuts::get_nuts(...) at test-get_nuts.R:76:3 2. └─geonuts (local) .match_level(as.integer(level)) 3. ├─base::suppressWarnings(sf::st_make_valid(shp)) 4. │ └─base::withCallingHandlers(...) 5. └─sf::st_make_valid(shp) ── Error ('test-map_nuts.R:36:3'): map_nuts() returns a ggplot object for single level results ── Error in `UseMethod("st_make_valid")`: no applicable method for 'st_make_valid' applied to an object of class "NULL" Backtrace: ▆ 1. └─geonuts::get_nuts(...) at test-map_nuts.R:36:3 2. └─geonuts (local) .match_level(as.integer(level)) 3. ├─base::suppressWarnings(sf::st_make_valid(shp)) 4. │ └─base::withCallingHandlers(...) 5. └─sf::st_make_valid(shp) ── Error ('test-map_nuts.R:48:3'): map_nuts() works with level = 'all' outputs ── Error in `UseMethod("st_make_valid")`: no applicable method for 'st_make_valid' applied to an object of class "NULL" Backtrace: ▆ 1. └─geonuts::get_nuts(...) at test-map_nuts.R:48:3 2. └─geonuts (local) .match_level(0) 3. ├─base::suppressWarnings(sf::st_make_valid(shp)) 4. │ └─base::withCallingHandlers(...) 5. └─sf::st_make_valid(shp) ── Error ('test-map_nuts.R:60:3'): map_nuts() correctly filters by country code ── Error in `UseMethod("st_make_valid")`: no applicable method for 'st_make_valid' applied to an object of class "NULL" Backtrace: ▆ 1. └─geonuts::get_nuts(...) at test-map_nuts.R:60:3 2. └─geonuts (local) .match_level(as.integer(level)) 3. ├─base::suppressWarnings(sf::st_make_valid(shp)) 4. │ └─base::withCallingHandlers(...) 5. └─sf::st_make_valid(shp) ── Error ('test-map_nuts.R:72:3'): map_nuts() handles missing points gracefully ── Error in `UseMethod("st_make_valid")`: no applicable method for 'st_make_valid' applied to an object of class "NULL" Backtrace: ▆ 1. └─geonuts::get_nuts(...) at test-map_nuts.R:72:3 2. └─geonuts (local) .match_level(as.integer(level)) 3. ├─base::suppressWarnings(sf::st_make_valid(shp)) 4. │ └─base::withCallingHandlers(...) 5. └─sf::st_make_valid(shp) ── Error ('test-map_nuts.R:90:3'): map_nuts() throws informative errors for malformed input ── Error in `UseMethod("st_make_valid")`: no applicable method for 'st_make_valid' applied to an object of class "NULL" Backtrace: ▆ 1. └─geonuts::get_nuts(...) at test-map_nuts.R:90:3 2. └─geonuts (local) .match_level(as.integer(level)) 3. ├─base::suppressWarnings(sf::st_make_valid(shp)) 4. │ └─base::withCallingHandlers(...) 5. └─sf::st_make_valid(shp) [ FAIL 8 | WARN 0 | SKIP 0 | PASS 4 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 1.0.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘geonuts-demo.Rmd’ using rmarkdown Quitting from geonuts-demo.Rmd:27-45 [example-getnuts] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `UseMethod()`: ! no applicable method for 'st_make_valid' applied to an object of class "NULL" --- Backtrace: ▆ 1. └─geonuts::get_nuts(...) 2. └─geonuts (local) .match_level(0) 3. ├─base::suppressWarnings(sf::st_make_valid(shp)) 4. │ └─base::withCallingHandlers(...) 5. └─sf::st_make_valid(shp) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'geonuts-demo.Rmd' failed with diagnostics: no applicable method for 'st_make_valid' applied to an object of class "NULL" --- failed re-building ‘geonuts-demo.Rmd’ SUMMARY: processing the following file failed: ‘geonuts-demo.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-release-linux-x86_64