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 Roxygen: list(markdown = TRUE) 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 Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev libssl-dev pkg-config libproj-dev libsqlite3-dev libudunits2-dev libclang-dev Repository: https://walkerke.r-universe.dev Date/Publication: 2026-04-24 18:07:13 UTC RemoteUrl: https://github.com/walkerke/spopt-r RemoteRef: HEAD RemoteSha: 5ce043c09b4f05177a97129bd0b1badad7a6b00a NeedsCompilation: yes Packaged: 2026-06-23 07:16:13 UTC; root Author: Kyle Walker [aut, cre], PySAL Developers [cph] (Original Python spopt library) Maintainer: Kyle Walker