CoordinateCleaner error
jivelasquezt opened this issue · comments
Function clean_coordinates fails with the following error:
Error in ras_dist(x = k, lat = lat, lon = lon, ras = ras, weights = TRUE): object 'ras' not found
Code:
CoordinateCleaner::clean_coordinates(sp.data,
lon="decimalLongitude",
lat="decimalLatitude",
species="species",
countries = "countryCode",
value="clean",
tests=c("capitals","centroids", "equal", "gbif","institutions", "outliers", "seas","zeros"))
OK, could you please provide an example of the input data to reproduce the error? Thanks!
Same as #21