NCC-CNC / wheretowork

Interactive application for systematic conservation planning
https://NCC-CNC.github.io/wheretowork
Other
6 stars 1 forks source link

update to latest prioritizr version #369

Open DanWismer opened 5 days ago

DanWismer commented 5 days ago

@jeffreyhanson do you know any gotchyeas I should be aware of? I believe I will need to update everything to use terra first.

jeffreyhanson commented 3 days ago

Hmm, possibly you might need to use rescale_matrix() when re-scaling the boundary data (assuming code currently uses scales::rescale())? Other than that I don't think so. Just to be safe, could you take a look at the NEWS file and see if there's any "Major changes" or "Notice" sections that appear after the version of prioritizr that WTW's currently using?

edwardsmarc commented 13 hours ago

@DanWismer see https://github.com/NCC-CNC/wheretowork/issues/341 for the rescale() issue.