Skip to content

TruncExpFam

1.2.2Package record

Truncated Exponential Family

0packages depend
3.4Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

Handles truncated members from the exponential family of probability distributions. Contains functions such as rtruncnorm() and dtruncpois(), which are truncated versions of rnorm() and dpois() from the stats package that also offer richer output containing, for example, the distribution parameters. It also provides functions to retrieve the original distribution parameters from a truncated sample by maximum-likelihood estimation.

Changes in 1.2.2
  • Fixed rtruncgamma() and rtruncinvgamma() with faster = TRUE
  • Updated package documentation for compatibility with roxygen2 8.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.2
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.2.2Citation fileNoWebsiteYes · pkgdown
Help pages
16includes a package overview page
Examples that run
100%10 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
6%

Downloads

3.4K
CRAN downloads in the past year
Rank #13,454 · ~9/day · ~280/mo
Daily download trend is not available in this view yet.
36230 days
86590 days
3.4K1 year
Compare downloads with other packages →
Also on97 r2u3 autocran661 conda_forge

Repository

0Stars
2Forks
2Open issues
0Open PRs
7Releases
935Commits
5Commit identities
r-packagetruncated-distribution
License file reads as GPL-3.0 · 935 commits · Last activity 2026-10-20 · Discussions: 1 post
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
39
Median days to close, 50 most recently updated closed PRs
0

Forks over time

2021-01-04 · 12026-10-19 · 2
PracticesBeta

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

Checks run against github.com/ocbe-uio/truncexpfam on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Contributing guide (inherited from ocbe-uio)
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-20 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-10-19
    Commits: at least 1 crediting it in the message
Models named in its commits
  • Claude Opus 5.51 commit · Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing TruncExpFam adds 2 packages (1 with compiled code, 2.6 MB of source tarballs). Heaviest: invgamma 2.5 MB, rmutil 113 KB.

Depends (0)
none
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Maintainer since 1.0.0 (2022), Author
Releases (7)

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
  • 1.2.2Latest
    record
    2025-04-10 · current release · diff ↗
  • 1.2.1
    record
    2025-04-10 · diff ↗
  • 1.2.0
    record
    2024-09-26 · diff ↗ ·
    removed 1 export
    rtrunc.beta
    added 26 exports
    ptrunc, ptruncbeta, ptruncbinom, ptruncchisq, ptrunccontbern, ptruncexp, ptruncgamma, ptruncinvgamma, ptruncinvgauss, ptrunclnorm, ptruncnbinom, ptruncnorm, ptruncpois, qtrunc, qtruncbeta, qtruncbinom, qtruncchisq, qtrunccontbern, qtruncexp, qtruncgamma, qtruncinvgamma, qtruncinvgauss, qtrunclnorm, qtruncnbinom, qtruncnorm, qtruncpois
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.1
    record
    2024-02-26 · diff ↗
  • 1.1.0
    record
    2023-11-14 · diff ↗ ·
    removed 1 export
    init.parms
    added 4 exports
    empiricalParameters, probdist, rtrunc.beta, rtrunc_direct
  • 1.0.1
    record
    2023-08-22 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    record
    2022-02-24
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-02-24
Total releases
7 / 4 yrs
License
GPL-3 OSI
Download size
59 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("TruncExpFam")
Leoncio, W., & Holst, R. (2026). TruncExpFam: Truncated Exponential Family (Version 1.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.TruncExpFam

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

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