Skip to content

Conversation

@levisc8
Copy link

@levisc8 levisc8 commented May 2, 2022

This PR resolves the failures mentioned in #32. I've updated the code in BIEN_ranges_load_species and in BIEN_ranges_species to use

..., p4s = sf::st_crs(4326)[[2]], ....
instead of

..., p4s = "+init=epsg:4326",...

The latter was causing some errors with calls to CRS(), which were returning NA. I think it's probably because of an update to CRS() in the sp package.

I've had trouble running all of the tests to verify that everything works, but I can run individual tests related to these functions and they now produce the expected results.

Hope this is helpful - let me know if you have any questions/comments! And thanks for making BIEN!

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

Successfully merging this pull request may close these issues.

1 participant