There is a newer version of the record available.

Published April 14, 2023 | Version 0.8.4
Software Open

MazamaScience/MazamaSpatialUtils: 0.8.4

Description

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

MazamaScience/MazamaSpatialUtils-0.8.4.zip

Files (8.8 MB)

Name Size Download all
md5:557e814a0b4a90dd3efc7a8f8d4ac6d6
8.8 MB Preview Download

Additional details