CRAN Package Check Results for Package spatsoc

Last updated on 2026-04-24 01:49:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 3.42 122.36 125.78 OK
r-devel-linux-x86_64-debian-gcc 0.2.2 2.41 84.17 86.58 OK
r-devel-linux-x86_64-fedora-clang 0.2.2 195.26 OK
r-devel-linux-x86_64-fedora-gcc 0.2.2 6.00 225.80 231.80 OK
r-devel-macos-arm64 0.2.2 1.00 33.00 34.00 OK
r-devel-windows-x86_64 0.2.2 5.00 124.00 129.00 ERROR
r-patched-linux-x86_64 0.2.2 3.44 116.74 120.18 OK
r-release-linux-x86_64 0.2.2 2.73 109.34 112.07 OK
r-release-macos-arm64 0.2.2 OK
r-release-macos-x86_64 0.2.2 2.00 154.00 156.00 OK
r-release-windows-x86_64 0.2.2 5.00 113.00 118.00 ERROR
r-oldrel-macos-arm64 0.2.2 OK
r-oldrel-macos-x86_64 0.2.2 2.00 96.00 98.00 OK
r-oldrel-windows-x86_64 0.2.2 6.00 167.00 173.00 OK

Check Details

Version: 0.2.2
Check: examples
Result: ERROR Running examples in 'spatsoc-Ex.R' failed The error most likely occurred in: > ### Name: group_lines > ### Title: Group Lines > ### Aliases: group_lines > > ### ** 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) > > # Read example data > DT <- fread(system.file("extdata", "DT.csv", package = "spatsoc")) > > # Subset only individuals A, B, and C > DT <- DT[ID %in% c('A', 'B', 'C')] > > # Cast the character column to POSIXct > DT[, datetime := as.POSIXct(datetime, tz = 'UTC')] > > # EPSG code for example data > utm <- 32736 > > group_lines(DT, threshold = 50, projection = utm, sortBy = 'datetime', + id = 'ID', coords = c('X', 'Y')) ID X Y datetime population group <char> <num> <num> <POSc> <int> <num> 1: A 715851.4 5505340 2016-11-01 00:00:54 1 1 2: A 715822.8 5505289 2016-11-01 02:01:22 1 1 3: A 715872.9 5505252 2016-11-01 04:01:24 1 1 4: A 715820.5 5505231 2016-11-01 06:01:05 1 1 5: A 715830.6 5505227 2016-11-01 08:01:11 1 1 --- 4265: C 702093.6 5510180 2017-02-28 14:00:44 1 1 4266: C 702086.0 5510183 2017-02-28 16:00:42 1 1 4267: C 702961.8 5509447 2017-02-28 18:00:53 1 1 4268: C 703130.4 5509528 2017-02-28 20:00:54 1 1 4269: C 702872.3 5508531 2017-02-28 22:00:18 1 1 > > ## Daily movement tracks > # Temporal grouping > group_times(DT, datetime = 'datetime', threshold = '1 day') ID X Y datetime population group timegroup <char> <num> <num> <POSc> <int> <num> <int> 1: A 715851.4 5505340 2016-11-01 00:00:54 1 1 1 2: A 715822.8 5505289 2016-11-01 02:01:22 1 1 1 3: A 715872.9 5505252 2016-11-01 04:01:24 1 1 1 4: A 715820.5 5505231 2016-11-01 06:01:05 1 1 1 5: A 715830.6 5505227 2016-11-01 08:01:11 1 1 1 --- 4265: C 702093.6 5510180 2017-02-28 14:00:44 1 1 120 4266: C 702086.0 5510183 2017-02-28 16:00:42 1 1 120 4267: C 702961.8 5509447 2017-02-28 18:00:53 1 1 120 4268: C 703130.4 5509528 2017-02-28 20:00:54 1 1 120 4269: C 702872.3 5508531 2017-02-28 22:00:18 1 1 120 > > # Subset only first 50 days > DT <- DT[timegroup < 25] > > # Spatial grouping > group_lines(DT, threshold = 50, projection = utm, + id = 'ID', coords = c('X', 'Y'), + timegroup = 'timegroup', sortBy = 'datetime') group column will be overwritten by this function Flavor: r-devel-windows-x86_64

Version: 0.2.2
Check: examples
Result: ERROR Running examples in 'spatsoc-Ex.R' failed The error most likely occurred in: > ### Name: group_lines > ### Title: Group Lines > ### Aliases: group_lines > > ### ** Examples > > # Load data.table > library(data.table) > ## Don't show: > data.table::setDTthreads(1) > ## End(Don't show) > > # Read example data > DT <- fread(system.file("extdata", "DT.csv", package = "spatsoc")) > > # Subset only individuals A, B, and C > DT <- DT[ID %in% c('A', 'B', 'C')] > > # Cast the character column to POSIXct > DT[, datetime := as.POSIXct(datetime, tz = 'UTC')] > > # EPSG code for example data > utm <- 32736 > > group_lines(DT, threshold = 50, projection = utm, sortBy = 'datetime', + id = 'ID', coords = c('X', 'Y')) ID X Y datetime population group <char> <num> <num> <POSc> <int> <num> 1: A 715851.4 5505340 2016-11-01 00:00:54 1 1 2: A 715822.8 5505289 2016-11-01 02:01:22 1 1 3: A 715872.9 5505252 2016-11-01 04:01:24 1 1 4: A 715820.5 5505231 2016-11-01 06:01:05 1 1 5: A 715830.6 5505227 2016-11-01 08:01:11 1 1 --- 4265: C 702093.6 5510180 2017-02-28 14:00:44 1 1 4266: C 702086.0 5510183 2017-02-28 16:00:42 1 1 4267: C 702961.8 5509447 2017-02-28 18:00:53 1 1 4268: C 703130.4 5509528 2017-02-28 20:00:54 1 1 4269: C 702872.3 5508531 2017-02-28 22:00:18 1 1 > > ## Daily movement tracks > # Temporal grouping > group_times(DT, datetime = 'datetime', threshold = '1 day') ID X Y datetime population group timegroup <char> <num> <num> <POSc> <int> <num> <int> 1: A 715851.4 5505340 2016-11-01 00:00:54 1 1 1 2: A 715822.8 5505289 2016-11-01 02:01:22 1 1 1 3: A 715872.9 5505252 2016-11-01 04:01:24 1 1 1 4: A 715820.5 5505231 2016-11-01 06:01:05 1 1 1 5: A 715830.6 5505227 2016-11-01 08:01:11 1 1 1 --- 4265: C 702093.6 5510180 2017-02-28 14:00:44 1 1 120 4266: C 702086.0 5510183 2017-02-28 16:00:42 1 1 120 4267: C 702961.8 5509447 2017-02-28 18:00:53 1 1 120 4268: C 703130.4 5509528 2017-02-28 20:00:54 1 1 120 4269: C 702872.3 5508531 2017-02-28 22:00:18 1 1 120 > > # Subset only first 50 days > DT <- DT[timegroup < 25] > > # Spatial grouping > group_lines(DT, threshold = 50, projection = utm, + id = 'ID', coords = c('X', 'Y'), + timegroup = 'timegroup', sortBy = 'datetime') group column will be overwritten by this function Flavor: r-release-windows-x86_64