prioritizr
Systematic Conservation Prioritization in R
Conservation planning absorbs the literature's target-setting rules as code.
◆Recent moves
- 9mo ago
add_auto_targets() brings 17 published target-setting methods
⚡ SPARKThe release that moves target setting inside the package: add_auto_targets() takes a method specification, with seventeen spec_* functions covering the standard rules, and add_group_targets() applies them per feature group. calibrate_cohon_penalty() does the same for penalty values, and the solvers gain a control parameter for direct tuning.
View source ↗ - 2y ago
Default portfolio no longer shuffles the optimization problem
Changes the default portfolio to generate a single unshuffled solution, because shuffling was hiding the spatial artifacts that signal an under-specified problem. solve() now also reports how far a solution sits from optimality, which matters once a gap has been set on the solver.
View source ↗ - 3y ago
Boundary data rescaling reworked to avoid optimization artifacts
Replaces the previously recommended rescaling of boundary data, which could leave a planning unit's perimeter inconsistent with the sum of its edges and produce reserves with an unselected hole in the middle at high boundary penalties.
View source ↗ - 3y ago
Moves to sf and terra; internals rewritten as R6 classes
⚡ SPARKThe release that changed what the package is built on: sf and terra become the supported spatial classes with sp and raster deprecated on a stated timeline, and the proto class system is replaced by R6. Existing code keeps working but starts warning.
View source ↗ - 3y ago
maptools, PBSmapping and rgeos dropped as dependencies
Sheds three retiring geometry dependencies, moves boundary_matrix() to STR query trees, speeds up the simulation helpers, and fixes a segfault in the CBC solver on problems whose last feature has zero amount in the last planning unit.
View source ↗ - 4y ago
Vignette build fixes and lpsymphony remote setup
Vignette build repairs and remote configuration for the Bioconductor-hosted lpsymphony solver. Build plumbing with no effect on planning problems.
View source ↗