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/rm retired spatial packages #51

Closed robitalec closed 1 year ago

robitalec commented 1 year ago

Closes #50

robitalec commented 1 year ago

With newest version of testthat, can reproduce the errors above

Error (test-group-polys.R:481:3): proportion within 0-100, area > 0
Error in `Ops.units(act$val, exp$val)`: cannot compare non-convertible units

Error due to very small numbers

waldo::compare(max(out_mcp$proportion), units::as_units(100, 'percent'))
`unclass(old)`: 100.000000009
`unclass(new)`: 100.000000000