IMMM-SFA / gamut

An R package to identify multi-sector teleconnection complexity
https://immm-sfa.github.io/gamut/
Other
0 stars 3 forks source link

Consider pinning a version of the sf package #111

Closed jsta closed 2 years ago

jsta commented 3 years ago

Looks like tests depend on the following rds file: tests/testthat/data/raster_to_polygon.rds

I think this rds file is outdated and is causing the tests in test-conversion.R to fail. Seems to me a solution is to regenerate the rds file and/or pin an sf version in the DESCRIPTION file.

With the latest version of the sf package, I get the following warning if I try to inspect the object with plot :

old-style crs object detected; please recreate object with a recent sf::st_crs()