Skip to content

DiscreteTests

0.5.2Package record

Vectorised Computation of P-Values and Their Supports for Several Discrete Statistical Tests

1packages dependsuggested by 2
5.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides vectorised functions for computing p-values of various common discrete statistical tests, as described e.g. in Agresti (2002) doi:10.1002/0471249688, including their distributions. Exact and approximate computation methods are provided. For exact ones, several procedures of determining two-sided p-values are included, which are outlined in more detail in Hirji (2006) doi:10.1201/9781420036190.

Changes in 0.5.2
  • Critical bugfix for wilcox_test_pv(): standard deviations for normal approximation were incorrectly computed when using Pratt's method for handling zero differences (could become negative).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-05-28
  • ERROR12 OK, 1 ERROR2026-05-19
  • OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.5.2
READMENoVignettesNoNEWSYes · 100% structured · mentions 0.5.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
13includes a package overview page
Examples that run
100%12 run in a plain check
Exported functions with examples
100%
Documented parameters
77%
Return-value docs
82%
Help pages citing references
77%

Downloads

5.8K
CRAN downloads in the past year
Rank #5,849 · ~16/day · ~486/mo
Daily download trend is not available in this view yet.
50130 days
1.4K90 days
5.8K1 year
Compare downloads with other packages →
Also on379 r2u2 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
7Releases
240Commits
2Commit identities
240 commits · Last activity 2026-09-14 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
10
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-04-29 · 12026-07-07 · 1
PracticesBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/disohda/discretetests on 2026-10-21.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing DiscreteTests adds 15 packages (10 with compiled code, 6.2 MB of source tarballs). Heaviest: Rcpp 1.8 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (0)
none
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
2indirect
Imports 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (4)
Maintainer since 0.1.1 (2024), Author
Contributor · added in 0.3.0
Contributor
Releases (11)

Pick two releases to compare their code metrics.

  • 0.5.2Latest
    record
    2026-09-14 · current release · diff ↗
  • 0.5.1
    record
    2026-09-02 · diff ↗
  • 0.5.0
    record
    2026-08-26 · diff ↗
  • 0.4.1
    record
    2026-05-28 · diff ↗
  • 0.4.0
    record
    2026-05-19 · diff ↗ ·
    added 2 exports
    perm_test_pv, sign_test_pv
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.0
    record
    2026-02-16 · diff ↗ ·
    added 3 exports
    homogeneity_test_pv, mann_whitney_test_pv, wilcox_test_pv
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.1
    record
    2024-10-27 · diff ↗
  • 0.2.0
    record
    2024-07-16 · diff ↗ ·
    added 4 exports
    binom_test_pv, fisher_test_pv, mcnemar_test_pv, poisson_test_pv
  • 0.1.3
    record
    2024-06-21 · diff ↗
  • 0.1.2
    record
    2024-05-11 · diff ↗
  • 0.1.1
    record
    2024-05-02
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-05-02
Total releases
11 / 2 yrs
License
GPL-3 OSI
Download size
62 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("DiscreteTests")
Junge, F., Durand, G., Döhler, S., & Kihn, C. (2026). DiscreteTests: Vectorised Computation of P-Values and Their Supports for Several Discrete Statistical Tests (Version 0.5.2) [Computer software]. https://doi.org/10.32614/CRAN.package.DiscreteTests

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for DiscreteTests version 0.5.2 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy