Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'cd_round' error with actual occurrence data #105

Open
AMBarbosa opened this issue Dec 4, 2024 · 0 comments
Open

'cd_round' error with actual occurrence data #105

AMBarbosa opened this issue Dec 4, 2024 · 0 comments

Comments

@AMBarbosa
Copy link
Contributor

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

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant