Skip to content

sphunif

Uniformity Tests on the Circle, Sphere, and Hypersphere

v1.4.3 · Nov 9, 2025 · GPL-3

Description

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>.

Downloads

305

Last 30 days

13153rd

877

Last 90 days

3.7K

Last year

Trend: +10.5% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is 17.4Mb
  sub-directories of 1Mb or more:
    libs  16.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 18.4Mb
  sub-directories of 1Mb or more:
    libs  17.3Mb

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 17.4Mb
  sub-directories of 1Mb or more:
    libs  16.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 18.4Mb
  sub-directories of 1Mb or more:
    libs  17.3Mb

Reverse Dependencies (3)

suggests

Dependency Network

Dependencies Reverse dependencies Rcpp doFuture doRNG foreach future gsl rotasym polykde ridgetorus QuadratiK sphunif

Version History

new 1.4.3 Mar 10, 2026
updated 1.4.3 ← 1.4.2 diff Nov 8, 2025
updated 1.4.2 ← 1.4.1 diff Aug 17, 2025
updated 1.4.1 ← 1.4.0 diff Jul 26, 2025
updated 1.4.0 ← 1.3.0 diff May 23, 2024
updated 1.3.0 ← 1.1.0 diff Dec 3, 2023
updated 1.1.0 ← 1.0.1 diff Aug 20, 2023
new 1.0.1 Sep 1, 2021