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

270

Last 30 days

11724th

270

Last 90 days

270

Last year

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 (14 non-OK)
OK 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

*


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

*


            

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 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 9, 2026