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

format_bdvis() error using rinat development version from github #112

Closed
ZeroDawn0D opened this issue Jan 7, 2020 · 1 comment
Closed

Comments

@ZeroDawn0D
Copy link
Contributor

library(bdvis);
library(rinat);
inat <- get_inat_obs_project("flora-of-japan");
inat <- format_bdvis(inat, source = 'rinat');

returns the error message:
Mapping according to rinat format
Error in `$<-.data.frame`(`tmp`, "Latitude", value = numeric(0)) :
replacement has 0 rows, data has 1228

NOTE: Error is encountered while using the github development version of rinat and not the CRAN version
Session Info

@vijaybarve
Copy link
Owner

@ZeroDawn0D This error is due to change in data returned by rinat::get_inat_obs_project in the new version. Will be fixed in bdvis once the new version is pushed on CRAN.

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

No branches or pull requests

2 participants