CRAN Package Check Results for Package spbal

Last updated on 2026-06-02 06:49:57 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 14.07 94.18 108.25 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 24.00 208.59 232.59 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 36.00 ERROR
r-devel-windows-x86_64 1.0.1 24.00 155.00 179.00 OK
r-patched-linux-x86_64 1.0.1 20.10 121.39 141.49 OK
r-release-linux-x86_64 1.0.1 19.35 121.80 141.15 OK
r-release-macos-arm64 1.0.1 4.00 36.00 40.00 OK
r-release-macos-x86_64 1.0.1 11.00 147.00 158.00 OK
r-release-windows-x86_64 1.0.1 26.00 152.00 178.00 OK
r-oldrel-macos-arm64 1.0.1 OK
r-oldrel-macos-x86_64 1.0.1 10.00 134.00 144.00 OK
r-oldrel-windows-x86_64 1.0.1 32.00 200.00 232.00 OK

Check Details

Version: 1.0.1
Check: examples
Result: ERROR Running examples in ‘spbal-Ex.R’ failed The error most likely occurred in: > ### Name: BAS > ### Title: Balanced Acceptance Sampling (BAS). > ### Aliases: BAS > > ### ** Examples > > # Equal probability BAS sample ---------------------------------------------- > > # Use the North Carolina shapefile supplied in the sf R package. > shp_file <- sf::st_read(system.file("shape/nc.shp", package="sf")) Reading layer `nc' from data source `/data/gannet/ripley/R/test-dev/sf/shape/nc.shp' using driver `ESRI Shapefile' Simple feature collection with 100 features and 14 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965 Geodetic CRS: NAD27 > shp_gates <- shp_file[shp_file$NAME == "Gates",] > > # Vertically aligned master sample bounding box. > bb <- spbal::BoundingBox(shapefile = shp_gates) Error in loadNamespace(x) : there is no package called ‘s2’ Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘spbal.Rmd’ using rmarkdown Quitting from spbal.Rmd:130-137 [BASex1a] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `loadNamespace()`: ! there is no package called 's2' --- Backtrace: ▆ 1. ├─spbal::BoundingBox(shapefile = shp_gates) 2. │ ├─sf::st_centroid(bb) 3. │ └─sf:::st_centroid.sfc(bb) 4. │ └─sf::st_as_sfc(s2::s2_centroid(x), crs = st_crs(x)) 5. └─base::loadNamespace(x) 6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7. └─base (local) withOneRestart(expr, restarts[[1L]]) 8. └─base (local) doWithOneRestart(return(expr), restart) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'spbal.Rmd' failed with diagnostics: there is no package called 's2' --- failed re-building ‘spbal.Rmd’ SUMMARY: processing the following file failed: ‘spbal.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc