CRAN Package Check Results for Maintainer ‘Alec L. Robitaille <robit.alec at gmail.com>’

Last updated on 2026-04-26 02:49:52 CEST.

Package ERROR OK
distanceto 12
hwig 12
irg 12
spatsoc 2 10

Package distanceto

Current CRAN status: OK: 12

Package hwig

Current CRAN status: OK: 12

Package irg

Current CRAN status: OK: 12

Package spatsoc

Current CRAN status: ERROR: 2, OK: 10

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-release-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-oldrel-windows-x86_64