Skip to content

sphunif

1.4.4

Uniformity Tests on the Circle, Sphere, and Hypersphere

3packages depend
4.4Kdownloads / year
88.4%test coverage
13/13checks pass

Overview

About
Maintained by Eduardo García-PortuguésFirst published 2021-09-028 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 13.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.44
88.4%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
91%
Return-value docs
100%
References docs
42%

Downloads

4.4K
CRAN downloads in the past year
Rank #9,002 · ~12/day · ~367/mo
Daily download trend is not available in this view yet.
45230 days
1.2K90 days
4.4K1 year
Compare downloads with other packages →
Also on483 r2u35 autocran

Repository

Repository
11Stars
1Forks
0Open issues
2Open PRs
4Releases
79Commits
1Contributors
rcircular-statisticsdirectional-statisticsuniformityuniformity-tests
License GPL-3.0 · 79 commits · Last activity 2026-07-21 · 0% stars, 30d

Stars over time

2025-01-03 · 82026-07-07 · 11

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.5.0Rcpp
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
3direct
0indirect

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (2)
Contributor · added in 1.4.0
Contributor
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.4.4Latest
    2026-06-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.4.3
    2025-11-09 · diff ↗
  • 1.4.2
    2025-08-18 · diff ↗
  • 1.4.1
    2025-07-27 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.4.0
    2024-05-24 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.0
    2023-12-04 · diff ↗
  • 1.1.0
    2023-08-21 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.1
    2021-09-02
  • R
    R 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
Report a problem with this page →