Skip to content

Countr

3.6.1

Flexible Univariate Count Models Based on Renewal Processes

0packages depend
7.9Kdownloads / year
22.6%test coverage
13/13checks pass

Overview

About
Maintained by Georgi N. BoshnakovFirst published 2016-03-2313 releasesCRAN page ↗GitHub ↗

Flexible univariate count models based on renewal processes. The models may include covariates and can be specified with familiar formula syntax as in glm() and package 'flexsurv'. The methodology is described by Kharrat et all (2019) doi:10.18637/jss.v090.i13 (included as vignette 'Countr_guide' in the package).

Install

Health

CRAN checks
13OK
Slowest check: 8.1 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.04
22.6%
Coverage · measured lines
100%
Documentation · exports
15
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 104 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
91%
Documented parameters
93%
Return-value docs
82%
References docs
18%

Downloads

7.9K
CRAN downloads in the past year
Rank #7,489 · ~22/day · ~660/mo
Daily download trend is not available in this view yet.
39530 days
1.4K90 days
7.9K1 year
Compare downloads with other packages →
Also on488 r2u19 autocran

Repository

Repository
4Stars
1Forks
1Open issues
1Open PRs
0Releases
45Commits
3Contributors
count-datasports-modellingrenewal-process
45 commits · Last activity 2025-12-07

Stars over time

2022-05-26 · 42026-07-07 · 4

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/geobosh/countr on 2026-07-19.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.3.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 5,588 (41%)C++ 5,353 (40%)Rd 2,468 (18%)Vignettes 84 (1%)Other 6 (0%)
Code characteristics
Object systems
S330
Cyclomatic complexity
1.0 median / 42 max
Test cases
6 / 0.04 per code line

Test coverage

Line coverage

23%

Expression

22.8%

Tests / Examples

22.6% / 34% ex

Functions

307 37 exported

Complexity

2.8 avg / 42 max

Call network

307 nodes / 336 edges

Loading call graph…

Lowest coverage

307 functions
FunctionCycloCoverage
CountrFormula exp50%
addBootSampleObject exp10%
chiSq_gof exp10%
chiSq_pearson exp10%
compareToGLM exp80%
count_table exp40%

Datasets

Bundled datasets · 2
NameClassRows × ColsAlso ships in
fertilitydata.frame1,243 × 9
footballdata.frame3,040 × 6

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Listed in earlier versions (1)
no longer listed · 3.5.2 to 3.6.1
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 3.6.1Latest
    2026-01-18 · current release · diff ↗
  • 3.6
    2025-12-06 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 3.5.8
    2024-01-14 · diff ↗
  • 3.5.7
    2023-11-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.5.6
    2022-11-12 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 3.5.5
    2021-03-03 · diff ↗
  • unarchivedReturned to CRAN
    2021-03-03
  • archivedRemoved from CRAN
    2021-02-28
    email to the maintainer was rejected
  • R
    R 4.0.0 released · 2020-04-24
  • 3.5.4
    2019-08-21 · diff ↗
Show 11 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 3.5.2
    2018-10-04 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 3.4.1
    2017-11-20 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 3.2.8
    2016-12-20 · diff ↗
  • 3.2.7
    2016-10-06 · diff ↗
  • 3.2.6
    2016-09-14 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 3.2.0
    2016-03-23
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-03-23
Total releases
13 / 10 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.3.0
Bundled data
23 KB / 2 files
Download size
3.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →