The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Calculates the distance between each voter in a voter file (given lat/long coordinates or sf point geometries) and multiple polling or vote-by-mail drop box locations. Returns nearest location, k-nearest locations, or all locations within a distance threshold. Core computation uses the Haversine formula implemented in C++ via 'Rcpp'.
| Version: | 2.0.0 |
| Depends: | R (≥ 4.0) |
| Imports: | Rcpp (≥ 1.0.0) |
| LinkingTo: | Rcpp |
| Suggests: | sf, testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: | 2026-05-27 |
| DOI: | 10.32614/CRAN.package.Rvoterdistance |
| Author: | Loren Collingwood [aut, cre] |
| Maintainer: | Loren Collingwood <lcollingwood at unm.edu> |
| BugReports: | https://github.com/lorenc5/Rvoterdistance/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/lorenc5/Rvoterdistance |
| NeedsCompilation: | yes |
| Materials: | README |
| CRAN checks: | Rvoterdistance results |
| Reference manual: | Rvoterdistance.html , Rvoterdistance.pdf |
| Vignettes: |
Introduction to Rvoterdistance (source, R code) |
| Package source: | Rvoterdistance_2.0.0.tar.gz |
| Windows binaries: | r-devel: Rvoterdistance_2.0.0.zip, r-release: Rvoterdistance_2.0.0.zip, r-oldrel: Rvoterdistance_2.0.0.zip |
| macOS binaries: | r-release (arm64): Rvoterdistance_2.0.0.tgz, r-oldrel (arm64): Rvoterdistance_2.0.0.tgz, r-release (x86_64): Rvoterdistance_2.0.0.tgz, r-oldrel (x86_64): Rvoterdistance_2.0.0.tgz |
| Old sources: | Rvoterdistance archive |
Please use the canonical form https://CRAN.R-project.org/package=Rvoterdistance to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.