Skip to content

energyGOF

Goodness-of-Fit Tests for Univariate Data via Energy

v0.1 · Dec 1, 2025 · GPL (>= 3)

Description

Conduct one- and two-sample goodness-of-fit tests for univariate data. In the one-sample case, normal, uniform, exponential, Bernoulli, binomial, geometric, beta, Poisson, lognormal, Laplace, asymmetric Laplace, inverse Gaussian, half-normal, chi-squared, gamma, F, Weibull, Cauchy, and Pareto distributions are supported. egof.test() can also test goodness-of-fit to any distribution with a continuous distribution function. A subset of the available distributions can be tested for the composite goodness-of-fit hypothesis, that is, one can test for distribution fit with unknown parameters. P-values are calculated via parametric bootstrap.

Downloads

CRAN

182

Last 30 days

23632nd

470

Last 90 days

1.4K

Last year

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

r2u CRAN

0

Last 30 days

19

Last 90 days

50

Last year

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

autoCRAN

3

Last 7 days

13

Last 30 days

0

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

Additional Issues

donttest Details →

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

5,989

Files

32

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,652 (44.3%)Tests 1,770 (29.6%)Docs 1,567 (26.2%)

API

Exported functions

24

Internal functions

44

Recent export changes

v0.1+24 asymmetric_laplace_dist, bernoulli_dist, beta_dist +21 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.67

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2025-12-01

Latest release

2025-12-01

Avg cadence

Cold removal rate

Dep drift

0

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies energy gsl boot fitdistrplus statmod energyGOF

Version History

1 tracked
new 0.1 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Dec 1, 2025. Releases before tracking aren’t shown.