Skip to content

spatsoc

Group Animal Relocation Data by Spatial and Temporal Relationship

v0.2.2 · Sep 7, 2023 · GPL-3 | file LICENSE

Description

Detects spatial and temporal groups in GPS relocations (Robitaille et al. (2019) <doi:10.1111/2041-210X.13215>). It can be used to convert GPS relocations to gambit-of-the-group format to build proximity-based social networks In addition, the randomizations function provides data-stream randomization methods suitable for GPS data.

Downloads

264

Last 30 days

16351st

921

Last 90 days

7.4K

Last year

Trend: -27.1% (30d vs prior 30d)

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 ERROR
Check details (2 non-OK)
ERROR r-release-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'additional-data-formats.Rmd' using rmarkdown
--- finished re-building 'additional-data-formats.Rmd'

--- re-building 'using-edge-and-dyad.Rmd' using rmarkdown
--- finished re-building 'using-edge-and-dyad.Rmd'

--- re-building 'faq.Rmd' using knitr
--- finished re-building 'faq.Rmd'

--- re-building 'intro-spatsoc.Rmd' using knitr
--- re-building 'using-in-sna.Rmd' using knitr
--- finished re-building 'using-in-sna.Rmd'

SUMMARY: processing the following file failed:
  'intro-spatsoc.Rmd'

Error: Vignette re-building failed.
Execution halted
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [29s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(spatsoc)
  Note: spatsoc has been updated to follow the R-spatial evolution. 
  Package dependencies and some functions have been modified. 
  Please see the NEWS for details: 
  https://docs.ropensci.org/spatsoc/index.html#news
  > library(data.table)
  > library(sf)
  Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE
  > data.table::setDTthreads(1)
  > test_check("spatsoc")
  Saving _problems/test-time-274.R
  Saving _problems/test-time-290.R
  [ FAIL 2 | WARN 12 | SKIP 0 | PASS 289 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-time.R:271:3'): group_times nearest hour with minutes threshold ──
  Expected `...[]` to equal 3.
  Differences:
  1/1 mismatches
  [1] 4 - 3 == 1
  ── Failure ('test-time.R:287:3'): group_times nearest hour with minutes threshold ──
  Expected `...[]` to equal 3.
  Differences:
  1/1 mismatches
  [1] 4 - 3 == 1
  
  [ FAIL 2 | WARN 12 | SKIP 0 | PASS 289 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [29s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(spatsoc)
  Note: spatsoc has been updated to follow the R-spatial evolution. 
  Package dependencies and some functions have
...[truncated]...
ure ('test-time.R:287:3'): group_times nearest hour with minutes threshold ──
  Expected `...[]` to equal 3.
  Differences:
  1/1 mismatches
  [1] 4 - 3 == 1
  
  [ FAIL 2 | WARN 12 | SKIP 0 | PASS 289 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies adehabitatHR data.table igraph sf units hwig spatsoc

Version History

new 0.2.2 Mar 10, 2026
updated 0.2.2 ← 0.1.16 diff Sep 6, 2023
updated 0.1.16 ← 0.1.15 diff Feb 23, 2021
updated 0.1.15 ← 0.1.14 diff Oct 20, 2020
updated 0.1.14 ← 0.1.13 diff Jul 3, 2020
updated 0.1.13 ← 0.1.9 diff Mar 27, 2020
updated 0.1.9 ← 0.1.8 diff May 13, 2019
updated 0.1.8 ← 0.1.6 diff Apr 5, 2019
updated 0.1.6 ← 0.1.4 diff Jan 9, 2019
updated 0.1.4 ← 0.1.1 diff Oct 25, 2018
updated 0.1.1 ← 0.1.0 diff Sep 16, 2018
new 0.1.0 Jul 19, 2018