Spatial Optimization for Regionalization, Facility Location, and Market Analysis
Overview
Implements spatial optimization algorithms across several problem families including contiguity-constrained regionalization, discrete facility location, market share analysis, and least-cost corridor and route optimization over raster cost surfaces. Facility location problems also accept user-supplied network travel-time matrices. Uses a 'Rust' backend via 'extendr' for graph and routing algorithms, and the 'HiGHS' solver via the 'highs' package for facility location mixed-integer programs. Method-level references are provided in the documentation of the individual functions.
- Initial CRAN release.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-30
- NOTE12 OK, 1 NOTE2026-07-29
- OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
- NOTE9 OK, 1 NOTE2026-04-25
- OK8 OK2026-04-23
Documentation
- Help pages
- 43 (4 internal)includes a package overview page
- Examples that run
- 10%2 run in a plain check · 19 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 56%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 35%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/walkerke/spopt-r on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- 0.1.2Latest2026-04-22 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-04-22
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2
- Bundled data
- 164 KB / 2 files
- Download size
- 4.9 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("spopt")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-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.