Skip to content

Graph-Based Two-Sample Tests

1packages dependsuggested by 1
3Kdownloads / year
–test coverage
11/13flavors OK

Overview

About
Maintained by Hao ChenCRAN page ↗

Four graph-based tests are provided for testing whether two samples are from the same distribution. It works for both continuous data and discrete data.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Hao Chen <hxchen@ucdavis.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Hao",
                      family = "Chen",
                      role = c("aut", "cre"),
                      email = "hxchen@ucdavis.edu"),
               person(given = "Jingru",
                      family = "Zhang",
                      role = "aut"))
as necessary.

CRAN check page ↗

Slowest check: 1.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
22
Examples that run
100%2 run in a plain check
Exported functions with examples
67%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
14%

Downloads

3K
CRAN downloads in the past year
Rank #13,731 · ~8/day · ~248/mo
Daily download trend is not available in this view yet.
29530 days
84990 days
3K1 year
Compare downloads with other packages →
Also on175 r2u11 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing gTests adds 5 packages (4 with compiled code, 10 MB of source tarballs). Heaviest: sp 4.3 MB, ade4 3.2 MB, Rcpp 1.8 MB.

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

Datasets

People & History

People (from the free-text Author field) (2)
· added in 0.2

Maintainer since 0.1 (2016)

Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2Latest
    record
    2017-12-06 · current release · diff ↗ ·
    added 2 exports
    g.tests_discrete, getGraph
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1
    record
    2016-09-30
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-09-30
Total releases
2 / 10 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.0.1
Bundled data
2.0 MB / 3 files
Download size
2.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gTests")

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 gTests version 0.2 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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