Software Open Access
Jonathan Callahan; Roger Andre; Helen Miller; Eli Grosman; Zach Stednick; tinaisat; tbergama
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