CRAN Package Check Results for Package spatsoc

Last updated on 2026-06-02 04:51:47 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.13 OK
r-devel-linux-x86_64-debian-gcc 0.2.13 3.60 225.89 229.49 OK
r-devel-linux-x86_64-fedora-clang 0.2.13 11.00 650.09 661.09 OK
r-devel-linux-x86_64-fedora-gcc 0.2.13 9.00 ERROR
r-devel-windows-x86_64 0.2.13 9.00 345.00 354.00 OK
r-patched-linux-x86_64 0.2.13 6.80 341.84 348.64 OK
r-release-linux-x86_64 0.2.13 5.33 343.87 349.20 OK
r-release-macos-arm64 0.2.13 1.00 93.00 94.00 OK
r-release-macos-x86_64 0.2.13 4.00 492.00 496.00 OK
r-release-windows-x86_64 0.2.13 7.00 333.00 340.00 OK
r-oldrel-macos-arm64 0.2.13 1.00 83.00 84.00 OK
r-oldrel-macos-x86_64 0.2.13 4.00 439.00 443.00 OK
r-oldrel-windows-x86_64 0.2.13 12.00 476.00 488.00 OK

Check Details

Version: 0.2.13
Check: examples
Result: ERROR Running examples in ‘spatsoc-Ex.R’ failed The error most likely occurred in: > ### Name: calc_distance > ### Title: Calculate distance > ### Aliases: calc_distance > ### Keywords: internal > > ### ** Examples > > # Load data.table > library(data.table) Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > ## Don't show: > data.table::setDTthreads(1) > ## End(Don't show) > > # Example points > example <- data.table( + X = c(0, 5, 5, 0, 0, NA_real_, 0, NA_real_), + Y = c(0, 0, 5, 5, 0, 0, NA_real_, NA_real_) + ) > # E, N, W, S > example[, spatsoc:::calc_distance(x_a = X, y_a = Y, crs = 4326, use_dist = FALSE)] Error in loadNamespace(x) : there is no package called ‘s2’ Calls: [ ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc