Package: spopt Title: Spatial Optimization for Regionalization, Facility Location, and Market Analysis Version: 0.1.3.9000 Date: 2026-10-09 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-10-10 15:22:31 UTC RemoteUrl: https://github.com/walkerke/spopt-r RemoteRef: HEAD RemoteSha: 264e59d78113ba8a16d27749f148d0ea7b68f6a2 NeedsCompilation: yes Packaged: 2026-10-10 18:52:36 UTC; root Author: Kyle Walker [aut, cre], PySAL Developers [cph] (Original Python spopt library) Maintainer: Kyle Walker