Zenodo.org will be unavailable for 2 hours on September 29th from 06:00-08:00 UTC. See announcement.
There is a newer version of this record available.

Software Open Access

MazamaScience/MazamaSpatialUtils: 0.8.4

Jonathan Callahan; Roger Andre; Helen Miller; Eli Grosman; Zach Stednick; tinaisat; tbergama

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).

Files (8.8 MB)
Name Size
MazamaScience/MazamaSpatialUtils-0.8.4.zip
md5:557e814a0b4a90dd3efc7a8f8d4ac6d6
8.8 MB Download
119
5
views
downloads
All versions This version
Views 11910
Downloads 51
Data volume 48.6 MB8.8 MB
Unique views 1099
Unique downloads 51

Share

Cite as