Skip to content

0.8.4

Compare
Choose a tag to compare
@jonathancallahan jonathancallahan released this 14 Apr 18:45
· 7 commits to main since this release

MazamaSpatialUtils 0.8.4

  • Added dependency on sf.

This addresses the following error seen when using internal data in a dplyr context:

> IS <- SimpleCountriesEEZ %>% dplyr::filter(countryCode == "IS")
Error in `vec_size()`:
! `x` must be a vector, not a <sfc_MULTIPOLYGON/sfc> object.

This error is explained here:
https://www.mm218.dev/posts/2022-12-01-sf-in-packages/ and the simplest
solution for this spatially-oriented package is to simply move sf from an
import to a dependency (by moving it to the "Depends:" section of DESCRIPTION).