Skip to content

sphunif

Uniformity Tests on the Circle, Sphere, and Hypersphere

v1.4.4 · Jun 3, 2026 · 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

CRAN

586

Last 30 days

5679th

1K

Last 90 days

4.2K

Last year

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

r2u CRAN

30

Last 30 days

125

Last 90 days

483

Last year

Trend: -31.8% (30d vs prior 30d)

autoCRAN

4

Last 7 days

17

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 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 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 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
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/sphunif.Rcheck/00install.out' for details.
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
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

Code

Code metrics have not been computed for this package yet.

Reverse Dependencies (3)

suggests

Dependency Network

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

Version History

9 tracked
updated 1.4.4 ← 1.4.3 diff Jun 3, 2026
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