ropensci / CoordinateCleaner

Automated flagging of common spatial and temporal errors in biological and palaeontological collection data, for the use in conservation, ecology and palaeontology.
https://docs.ropensci.org/CoordinateCleaner/
79 stars 21 forks source link

cc_sea producing an error #83

Closed oscarvargash closed 1 year ago

oscarvargash commented 1 year ago

When I ran:

x <- data.frame(species = letters[1:10], 
                decimallongitude = runif(10, -30, 30), 
                decimallatitude = runif(10, -30, 30))

cc_sea(x, value = "flagged", scale = 50)

I get the following error

Warning messages:
1: In cc_sea(x, value = "flagged", scale = 50) :
  Gazetteer for land mass not found at
http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/physical/ne_50m_land.zip
2: In cc_sea(x, value = "flagged", scale = 50) : Skipping sea test

Not sure what is happening, I have been able to download the reference file manually from the website.

oscarvargash commented 1 year ago

Updating the package rnaturalearth fixed the issue