ropensci / spatsoc

:package: spatsoc is an R package for detecting spatial and temporal groups in GPS relocations.
https://docs.ropensci.org/spatsoc
GNU General Public License v3.0
24 stars 2 forks source link

Fix/replace igraph clusters with components #61

Closed robitalec closed 7 months ago

robitalec commented 7 months ago

From tests:

Warning (test-gbi.R:14:1): (code run outside of `test_that()`)
`clusters()` was deprecated in igraph 2.0.0.
ℹ Please use `components()` instead.
Backtrace:
    ▆
 1. ├─spatsoc::group_pts(...) at test-gbi.R:14:1
 2. │ ├─...[] at spatsoc/R/group_pts.R:177:3
 3. │ └─data.table::`[.data.table`(...) at spatsoc/R/group_pts.R:177:3
 4. └─igraph::clusters(graphAdj) at spatsoc/R/group_pts.R:185:5