R Observatory
Search
install.packages("clmstan")
CRAN 30-day downloads, method
279−33.4% down on the 30 days before, the worse direction
Test coverage, method
80%of lines run by tests

Fits cumulative link models (CLMs) for ordinal categorical data using 'CmdStanR'. Supports various link functions including logit, probit, cloglog, loglog, cauchit, and flexible parametric links such as Generalized Extreme Value (GEV), Asymmetric Exponential Power (AEP), and Symmetric Power.

Full description

Fits cumulative link models (CLMs) for ordinal categorical data using 'CmdStanR'. Supports various link functions including logit, probit, cloglog, loglog, cauchit, and flexible parametric links such as Generalized Extreme Value (GEV), Asymmetric Exponential Power (AEP), and Symmetric Power. Models are pre-compiled using the 'instantiate' package for fast execution without runtime compilation. Methods are described in Agresti (2010, ISBN:978-0-470-08289-8), Wang and Dey (2011) <doi:10.1007/s10651-010-0154-8>, and Naranjo, Perez, and Martin (2015) <doi:10.1007/s11222-014-9449-1>.

Maintainer
Tomotaka Momozaki
Latest release
29 Jun 2026
First release
10 Feb 2026

Compare with another package

More details
Releases
3
Needs compilation
Yes
Needs R
>= 4.0.0
Config/testthat/edition
3
RoxygenNote
7.3.3
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("clmstan")
APA
Momozaki, T. (2026). clmstan: Cumulative Link Models with 'CmdStanR' (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.clmstan
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

From data release v2026-10-26, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.1.2
    Time taken
    78 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.1.2
    Time taken
    57 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.1.2
    Time taken
    52 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.1.2
    Time taken
    55 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.1.2
    Time taken
    108 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.1.2
    Time taken
    29 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.1.2
    Time taken
    84 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.1.2
    Time taken
    123 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.1.2
    Time taken
    73 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.1.2
    Time taken
    73 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.1.2
    Time taken
    25 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.1.2
    Time taken
    83 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.1.2
    Time taken
    106 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (6)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
5 Jul 2026OK13000
27 Jun 2026Error10003
25 Apr 2026OK12000
10 Mar 2026Note11300

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
297−34.6% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

15,270 of 26,529

CRAN

279 downloads in the last 30 days

Rank
15,270 of 26,529
Change
−33.4% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

6 downloads in the last 30 days

Rank
8,522 of 30,526
Change
−66.7% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

12 downloads in the last 30 days

Rank
3,584 of 29,130
Change
−29.4% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
5
Dependent packages
0
Suggested by
0
Needs (5)
Installing it adds
51 packages, 45.1 MB of source
Of those, need compilation
28
Optional extras (5)
Functions
88
Public exports
14
Lines of R code
4,475
Median complexity
3
Functions (88)
Size and composition

Lines by kind (12,008)

KindLinesShare
R code4,47537%
Tests4,24735%
Documentation2,70623%
Guides5805%

Lines by language

LanguageLinesShare
R8,72273%
Rd2,70623%
Vignettes5805%

Languages are counted from file extensions.

Files
146
R functions
88
Object systems
S3: 15 methods
Complexity
Median
3
Mean
5.45
Highest
30
Median lines per function
19.5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
88
Calls
86
Unconnected
15
Groups
6
Growth (3 releases)
Total lines by release
12,000 on 10 Feb 202612,008 on 29 Jun 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
79.5%
Expressions run by tests
75.6%
Test cases
263
Exports named in tests
85.7%
Coverage by file (9)
Coverage run
Lines counted
1,651
Lines the tests ran
1,313
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
263
Lines of tests
4,247
Test lines per line of code
0.95
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
19.1%
Examples run in checks
58.8%
Guides (1)
Other documentation
README
Yes, 671 words
Release notes file
Yes
Help pages
89
Lines of documentation
2,706

t-momozaki / clmstan on github.com

Stars
0
Forks
1
Open issues
0
Last commit
29 Jun 2026
Activity
Commits
18
Open pull requests
0
Tagged releases
1
Latest tagged release
v0.1.2, 29 Jun 2026
Issues closed in
–
Pull requests closed in
68 days (median)
Pull requests merged
100%
Created
2 Feb 2026
Licence file reads as
–
Development practices (6)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux
Docs sourcepkgdown
GitHub Pages site last deployed 2026-06-29
The repository has a site deploy workflow
pkgdown site last built 2026-06-29
CRAN release processcran-comments.md

Method, repository practices

Across t-momozaki

R releases
  • On CRAN
  • Release
VersionReleasedR
0.1.2 current29 Jun 20264.6.1
0.1.112 Feb 20264.5.2
0.1.010 Feb 20264.5.2
Release notes (0.1.2)

Bug fixes / Compatibility

  • Updated compatibility with upcoming changes to loo_compare() output structure in the loo package (> 2.9.0), which now returns a data frame instead of a matrix and includes additional diagnostic columns. The package now works with both the previous (matrix) and the new (data frame) output. Thanks to Florence Bockting (loo maintainer) for the reverse-dependency patch (#1).