Changelog
Source:NEWS.md
urbioconnect (development version)
Use GPL (>= 3) License.
drop
terra_prefix and moverast_functions intoscratchwhere we test the LOO method. * Addsf_prefix to vector based approaches.Add datasets and dataset loading function
Add legend to habitat buffer barrier plot - #66
Resolve internal issue where raster might not be exactly aligned, add internal function
align_to()indrop_habitat_under_barrier(),fragment_habitat(), andassign_patches_to_fragments().update
effective_mesh_size()andconnectivity_probability()to go from area_squared –> area_baseline. #128. This will help facilitate #124.habitat_connectivity(),habitat_connectivity_full(), andsf_habitat_connectivity()now take eitherinterpatch_distanceorbuffer_radius(supply exactly one). The lower-levelhabitat_buffer()andsf_habitat_buffer()takebuffer_radiusdirectly. (#131)habitat_buffer()now warns when the buffer radius is too fine for the raster resolution (smaller than one cell, or not a clean multiple of it) and returns the habitat unchanged instead of erroring. (#131)New vignette
vignette("interpatch-distance-and-resolution")on how interpatch distance, buffer radius, and raster resolution interact.Fix the shiny app’s interpatch-distance input, which was read under the wrong id. (#131)
Add “patch_connectivity” class to
habitat_connectivity()function, to pave the way for attaching useful metadata to these data. (#133).-
Add
patch_connectivityS3 class:- add pc_* accessor functions to get: interpatch_distance, patches, res, species.
- Extend
patch_connectivityonto tibble - Add various checking functions to ensure you can compare the same species, and metrics together.
- change
areaparameter for summarise/compare_connectivity to beconnectivity - remove use of arguments,
target_resolutionandaggregation_factorfrom many functions as it is only really relevant to the spatial processing, and we really only care about the resolution at the end of the day
Breaking changes
-
interpatch_distanceis now the full edge-to-edge distance below which two patches count as connected. It is halved internally to the buffer radius, so connectivity results differ from previous versions; reproduce old output by passingbuffer_radius =the old value. (#131)