With the example data from the help file it works, but I get a cryptic error message when running cd_round with actual species occurrence data from GBIF. Here's an example (but this happens for other species as well):
gbif <- rgbif::occ_data(scientificName = "Pan troglodytes")
cd_round(gbif$data,
lon = "decimalLongitude",
lat = "decimalLatitude",
ds = "datasetKey")
Testing for rasterized collection
Error in rbind.data.frame(`2b044aa9-1a9a-413e-8b18-ed09da575d3f` = list( :
numbers of columns of arguments do not match
In addition: Warning messages:
1: In FUN(X[[i]], ...) : Dataset smaller than minimum test size
2: In FUN(X[[i]], ...) : Dataset smaller than minimum test size
3: In FUN(X[[i]], ...) : Dataset smaller than minimum test size
4: In FUN(X[[i]], ...) : Dataset smaller than minimum test size
5: In FUN(X[[i]], ...) : Dataset smaller than minimum test size
With the example data from the help file it works, but I get a cryptic error message when running
cd_roundwith actual species occurrence data from GBIF. Here's an example (but this happens for other species as well):Regards,