Package: spopt
Title: Spatial Optimization for Regionalization, Facility Location, and
        Market Analysis
Version: 0.1.2
Date: 2026-04-16
Authors@R: c(
    person("Kyle", "Walker", , "kyle@walker-data.com", role = c("aut", "cre")),
    person("PySAL Developers", role = "cph",
           comment = "Original Python spopt library")
  )
Description: 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.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.3.3
Imports: sf, spdep, Matrix, highs
Suggests: testthat (>= 3.0.0), terra, dodgr, r5r, knitr, rmarkdown,
        quarto, tidycensus, tidyverse, mapgl
Config/testthat/edition: 3
Config/rextendr/version: 0.4.2.9000
SystemRequirements: Cargo (Rust's package manager), rustc >= 1.70
URL: https://walker-data.com/spopt-r/,
        https://github.com/walkerke/spopt-r
BugReports: https://github.com/walkerke/spopt-r/issues
Depends: R (>= 4.2)
LazyData: true
NeedsCompilation: yes
Packaged: 2026-04-16 21:56:40 UTC; kylewalker
Author: Kyle Walker [aut, cre],
  PySAL Developers [cph] (Original Python spopt library)
Maintainer: Kyle Walker <kyle@walker-data.com>
Repository: CRAN
Date/Publication: 2026-04-22 07:40:02 UTC
Built: R 4.6.0; x86_64-w64-mingw32; 2026-06-02 03:51:35 UTC; windows
Archs: x64
