Skip to content

spopt

0.1.2Package record

Spatial Optimization for Regionalization, Facility Location, and Market Analysis

0packages depend
2.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.1.2
  • Initial CRAN release.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.9 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.1.2
READMEYes · 230 wordsVignettes· In the repository, left out of the releaseNEWSYes · 67% structured · mentions 0.1.2Citation fileNoWebsiteYes · pkgdown
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

2.6K
CRAN downloads in the past year
Rank #10,506 · ~7/day · ~217/mo
Daily download trend is not available in this view yet.
32030 days
97290 days
2.6K1 year
Compare downloads with other packages →
Also on138 r2u

Repository

61Stars
8Forks
1Open issues
4Open PRs
1Releases
107Commits
3Commit identities
107 commits · Last activity 2026-10-10 · 0% stars, 30d · Default branch at 0.1.3.9000, ahead of CRAN 0.1.2 (checked 2026-10-18)
Responsiveness
How these are sampled
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

2026-07-14 · 602026-08-08 · 61
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Contributing guide

The repository owner accepts GitHub Sponsors

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-10-10

pkgdown site last built 2026-10-10

Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 1 practice
Lint, format, editor (1)
VS Code
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing spopt adds 16 packages (14 with compiled code, 31 MB of source tarballs). Heaviest: sf 9.3 MB, spdep 4.5 MB, sp 4.3 MB.

Depends (1)
R >= 4.2
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.1.2 (2026)
Copyright holder
Original Python spopt library
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.2Latest
    2026-04-22 · current release
  • R
    R 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")
Walker, K., & PySAL Developers. (2026). spopt: Spatial Optimization for Regionalization, Facility Location, and Market Analysis (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spopt version 0.1.2 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy