Connectivity Corridor Optimization for Raster and Vector Data
Overview
Standalone R implementation of habitat connectivity corridor optimization for raster and vector workflows. Supports scenario-based planning with budget-constrained optimization, optional impassable areas, packaged parity fixtures, and comparative before-and-after connectivity metrics. The package exposes structural, movement-oriented, and species-oriented strategies in a reproducible workflow aligned with a companion GIS plugin while avoiding a desktop GIS dependency.
- Harmonized MCN-B leftover-budget behavior with the QGIS 1.8.2 selector: the connected-area pass does not silently add loops or redundant links unless a caller explicitly opts into the legacy refill argument.
- Kept vector obstacle admission and route validation explicit while preserving the existing routing/scoring strategy.
- Rejected blocked straight-line fallbacks that would create multipart links across a full-extent barrier, while retaining obstacle-aware detours through genuine passable gaps.
- Deferred the raster endpoint-area guard until after optimization and aligned the terminal-pair seed cap with the QGIS candidate search.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-05-13
Documentation
- Help pages
- 34includes a package overview page
- Examples that run
- 75%3 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 13%
- Documented parameters
- 97%
- Return-value docs
- 94%
- Help pages citing references
- 0%
Downloads
Repository
Releases over time
2 development-tooling and community-health practices detected across 1 family in the upstream repository
Checks run against github.com/sorus-tools/terralink-r on 2026-10-25.
The R CMD check workflow runs on Linux
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.8.2Latest
- 1.8.02026-05-12
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-05-12
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 165 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("terralink")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.