Skip to content

countSTAR

1.2.1Package record

Flexible Modeling of Count Data

0packages depend
3.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

For Bayesian and classical inference and prediction with count-valued data, Simultaneous Transformation and Rounding (STAR) Models provide a flexible, interpretable, and easy-to-use approach. STAR models the observed count data using a rounded continuous data model and incorporates a transformation for greater flexibility. Implicitly, STAR formalizes the commonly-applied yet incoherent procedure of (i) transforming count-valued data and subsequently (ii) modeling the transformed data using Gaussian models. STAR is well-defined for count-valued data, which is reflected in predictive accuracy, and is designed to account for zero-inflation, bounded or censored data, and over- or underdispersion. Importantly, STAR is easy to combine with existing MCMC or point estimation methods for continuous data, which allows seamless adaptation of continuous data models (such as linear regressions, additive models, BART, random forests, and gradient boosting machines) for count-valued data. The package also includes several methods for modeling count time series data, namely via warped Dynamic Linear Models. For more details and background on these methodologies, see the works of Kowal and Canale (2020) doi:10.1214/20-EJS1707, Kowal and Wu (2022) doi:10.1111/biom.13617, King and Kowal (2023) doi:10.1214/23-BA1394, and Kowal and Wu (2023) doi:10.48550/arXiv.2110.12316.

Changes in 1.2.1
  • Added defensive checks and conditional evaluation across the package vignette and examples to gracefully handle failures in Suggests dependencies.
  • Fixed package check errors on specific CRAN test environments.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-26
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-04-08
Show 1 earlier changeHide 1 earlier change
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.2.1
READMEYes · 426 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.2.1Citation fileNoWebsiteYes · pkgdown
Help pages
71 (37 internal)
Examples that run
83%20 run in a plain check (2 of them under a condition) · 4 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
71%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
6%

Downloads

3.1K
CRAN downloads in the past year
Rank #12,018 · ~9/day · ~262/mo
Daily download trend is not available in this view yet.
26930 days
91990 days
3.1K1 year
Compare downloads with other packages →
Also on360 r2u21 autocran

Repository

4Stars
5Forks
2Open issues
0Open PRs
2Releases
152Commits
3Commit identities
152 commits · Last activity 2026-08-20 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-06-03 · 42026-07-07 · 4
PracticesBeta

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

Checks run against github.com/bking124/countstar on 2026-10-21.

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

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

pkgdown site last built 2026-08-20, before release 1.2.1 (2026-08-21)

CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing countSTAR adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.

Depends (1)
R >= 2.10
Imports (4)
statsutilsgraphicsRcpp
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.0.1 (2023)
Author · added in 1.0.2
Listed in earlier versions (1)
Kowal
no longer listed · 1.0.1
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.1Latest
    record
    2026-04-03 · current release · diff ↗
  • 1.2.0
    record
    2026-04-03 · diff ↗ ·
    removed 1 export
    g_bnp
    added 3 exports
    HPDregion, g_inv, rdir
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2023-06-30
  • 1.0.2
    record
    2023-06-30 · diff ↗
  • archivedRemoved from CRAN
    2023-05-31
    issues were not corrected in time
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.1
    record
    2023-04-10
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-04-10
Total releases
4 / 3 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.10
Bundled data
1.5 KB / 1 file
Download size
169 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("countSTAR")
King, B., & Kowal, D. (2026). countSTAR: Flexible Modeling of Count Data (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.countSTAR

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 countSTAR version 1.2.1 [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