ropensci / CoordinateCleaner

Automated flagging of common spatial and temporal errors in biological and palaeontological collection data, for the use in conservation, ecology and palaeontology.

Home Page:https://docs.ropensci.org/CoordinateCleaner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check for range_rad is incorrect

joelnitta opened this issue · comments

There is a bug in clean_coordinates() where the check for the range_rad argument is wrong: it issues an error if range_rad is not NULL, when the error should be if rand_rad is NULL:

if(!is.null(range_rad)){
stop("'range_rad' not found")

Hi @joelnitta! thanks for pointing this out. The issue has now been fixed in the new version available on Github.