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

replace libraries which are no longer supported #70

Open
Tracked by #64
jrhillae opened this issue Nov 15, 2023 · 0 comments
Open
Tracked by #64

replace libraries which are no longer supported #70

jrhillae opened this issue Nov 15, 2023 · 0 comments
Assignees

Comments

@jrhillae
Copy link
Collaborator

jrhillae commented Nov 15, 2023

@SanderDevisscher: I replaced all rgdal functions with sf. I have one warning remaining when running the file 8_baseline_maps_ui_D1.R but it is not clear to me how to solve it:

Input to asJSON(keep_vec_names=TRUE) is a named vector. In a future version of jsonlite, this option will not be supported, and named vectors will be translated into arrays instead of objects. If you want JSON object output, please use a named list instead. See ?toJSON.

It is related to this part of the code as the warning is reprinted each time the distribution map is refreshed. A stackoverflow issue related to this warning can be found here, but printing the output instead of returning it did not solve it (as suggested in the issue).

Do you have a suggestion on how to solve this? Thank you!

@jrhillae jrhillae self-assigned this Nov 15, 2023
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