Skip to content

invgamma

1.2Package record

The Inverse Gamma Distribution

20packages dependsuggested by 5
120Kdownloads / year
75.6%test coverage
13/13flavors OK

Overview

About

Light weight implementation of the standard distribution functions for the inverse gamma distribution, wrapping those for the gamma distribution in the stats package.

Changes in 1.2

New features

  • **invgamma** has an updated README containing a simulation check on rinvgamma().

Changes

  • rinvgamma() now warns for shape less than 0.01, as it is unreliable there.
  • rinvchisq() now warns for df <= .01 and ncp <= 10, as it is unreliable there.
  • PDF functions now return 0 at x = 0 and -Inf at x = 0 on a log scale, consistent with the gamma distribution functions.
  • **invgamma** now cautions users about the parameterizations used in (d/p/q/r)invgamma() functions.
  • **invgamma** now has a MIT license.
  • Quantile functions now perform properly on a log scale, thanks to Keefe Murphy!

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 54 s · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2
READMEYes · 916 wordsVignettesNoNEWSYes · 100% structured · mentions 1.2Citation fileNoWebsiteYes · pkgdown
Help pages
3
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
45%
Return-value docs
0%
Help pages citing references
0%

Downloads

120K
CRAN downloads in the past year
Rank #1,133 · ~329/day · ~10K/mo
Daily download trend is not available in this view yet.
10.2K30 days
31.3K90 days
120K1 year
Compare downloads with other packages →
Also on1.4K r2u171 autocran84.3K conda_forge179 c2d4u

Repository

4Stars
2Forks
2Open issues
0Open PRs
1Releases
56Commits
1Commit identities
56 commits · Last activity 2025-08-25 · Default branch at 1.2.900, ahead of CRAN 1.2 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2023-08-19 · 42026-07-07 · 4
PracticesBeta

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

Checks run against github.com/dkahle/invgamma on 2026-10-18.

Continuous integration (1)
GitHub Actions
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-08-25 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
CRAN release process (1)
revdep/
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing invgamma adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
20direct
10indirect
Imports 20
Suggested by 5
Show all 25 packagesHide all 25 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.0 (2016), Copyright holder
Author, Copyright holder
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2Latest
    record
    2025-07-02 · current release · diff ↗
  • 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
  • 1.1
    record
    2017-05-07 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0
    record
    2016-07-02 · diff ↗ ·
    added 8 exports
    dinvchisq, dinvexp, pinvchisq, pinvexp, qinvchisq, qinvexp, rinvchisq, rinvexp
  • 0.0
    record
    2016-06-24
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-06-24
Total releases
4 / 10 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-2 in 1.2
Download size
2.5 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("invgamma")
Kahle, D., & Stamey, J. (2025). invgamma: The Inverse Gamma Distribution (Version 1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.invgamma

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 invgamma version 1.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