Skip to content
CRAN requires the check problems on this package to be fixed before 2026-08-21 or it will be archived.

countSTAR

1.2.0

Flexible Modeling of Count Data

0packages depend
2.8Kdownloads / year
test coverage
7/13checks pass

Overview

About
Maintained by Brian KingFirst published 2023-04-103 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
6ERROR7OK
Failing flavors
  • ERROR r-devel-linux-x86_64-debian-clang
  • ERROR r-devel-linux-x86_64-debian-gcc
  • ERROR r-devel-linux-x86_64-fedora-clang
  • ERROR r-devel-linux-x86_64-fedora-gcc
  • ERROR r-devel-windows-x86_64
  • ERROR r-release-macos-x86_64
Slowest check: 5.5 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
4
Dependencies · direct
Check history
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-08
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 426 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
100%
Return-value docs
100%
References docs
6%

Downloads

2.8K
CRAN downloads in the past year
Rank #14,643 · ~8/day · ~237/mo
Daily download trend is not available in this view yet.
17730 days
70990 days
2.8K1 year
Compare downloads with other packages →
Also on379 r2u16 autocran

Repository

Repository
4Stars
5Forks
2Open issues
0Open PRs
2Releases
149Commits
3Contributors
149 commits · Last activity 2026-08-11

Stars over time

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

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/bking124/countstar on 2026-08-09.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (4)
statsutilsgraphicsRcpp
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 1.0.2
Listed in earlier versions (1)
no longer listed · 1.0.1
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0Latest
    2026-04-04 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.2
    2023-06-30 · diff ↗
  • unarchivedReturned to CRAN
    2023-06-30
  • archivedRemoved from CRAN
    2023-05-31
    issues were not corrected in time
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.1
    2023-04-10
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-04-10
Total releases
3 / 3 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.10
Bundled data
1.5 KB / 1 file
Download size
159 KB
Installed size
not tracked yet
With dependencies
not tracked yet

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.0) [Computer software]. https://doi.org/10.32614/CRAN.package.countSTAR

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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.0 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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