sphunif
1.4.4Uniformity Tests on the Circle, Sphere, and Hypersphere
Overview
Implementation of uniformity tests on the circle and (hyper)sphere. The main function of the package is unif_test(), which conveniently collects more than 35 tests for assessing uniformity on S^{p-1} = {x in R^p : ||x|| = 1}, p >= 2. The test statistics are implemented in the unif_stat() function, which allows computing several statistics for different samples within a single call, thus facilitating Monte Carlo experiments. Furthermore, the unif_stat_MC() function allows parallelizing them in a simple way. The asymptotic null distributions of the statistics are available through the function unif_stat_distr(). The core of 'sphunif' is coded in C++ by relying on the 'Rcpp' package. The package also provides several novel datasets and gives the replicability for the data applications/simulations in García-Portugués et al. (2021) doi:10.1007/978-3-030-69944-4_12, García-Portugués et al. (2023) doi:10.3150/21-BEJ1454, Fernández-de-Marcos and García-Portugués (2024) doi:10.1016/j.spl.2024.110218, and García-Portugués et al. (2025) doi:10.1080/01621459.2025.2566414.
Install
Health
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2212 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1811 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 91%
- Return-value docs
- 100%
- References docs
- 42%
Downloads
Repository
Stars over time
Forks over time
Releases over time
PRs over time
Repository practices
7 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/egarpor/sphunif on 2026-07-19.
Show all practices
Dependencies
Code & Tests
Datasets
People & History
8 releases. Pick two to compare their code metrics. R releases are shown for context.
- 1.4.4Latest
- RR 4.6.0 released · 2026-04-24
- 1.4.32025-11-09 · diff ↗
- 1.4.22025-08-18 · diff ↗
- 1.4.12025-07-27 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.4.02024-05-24 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.3.02023-12-04 · diff ↗
- 1.1.02023-08-21 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.0.12021-09-02
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-09-02
- Total releases
- 8 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 482 KB / 6 files
- Download size
- 712 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet