Skip to content

hmcdm

Hidden Markov Cognitive Diagnosis Models for Learning

v2.1.3 · Jan 14, 2026 · GPL (>= 2)

Description

Fitting hidden Markov models of learning under the cognitive diagnosis framework. The estimation of the hidden Markov diagnostic classification model, the first order hidden Markov model, the reduced-reparameterized unified learning model, and the joint learning model for responses and response times.

Downloads

CRAN

537

Last 30 days

7141st

1.6K

Last 90 days

4.7K

Last year

Trend: +5.5% (30d vs prior 30d)

r2u CRAN

24

Last 30 days

114

Last 90 days

426

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

2

Last 7 days

11

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 11.4Mb
  sub-directories of 1Mb or more:
    libs  10.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 12.7Mb
  sub-directories of 1Mb or more:
    libs  11.9Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/hmcdm.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 11.4Mb
  sub-directories of 1Mb or more:
    libs  10.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 12.7Mb
  sub-directories of 1Mb or more:
    libs  11.9Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 11.4Mb
  sub-directories of 1Mb or more:
    libs  10.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 12.7Mb
  sub-directories of 1Mb or more:
    libs  11.9Mb

Code

Structure

Lines of code

8,962

Files

77

Compiled share

69.7%

Has compiled src

Yes

Language breakdown

R 1,269 (14.2%)C/C++/src 6,247 (69.7%)Docs 791 (8.8%)Vignettes 655 (7.3%)

API

Exported functions

11

Internal functions

54

Recent export changes

v2.1.0+3 Q_list_g, sim_alphas, sim_hmcdm  −8 Q_list, simDINA, simNIDA 5 more
v2.0.0+16 ETAmat, OddsRatio, Q_list +13 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

53.8%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

C++17

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2022-08-29

Latest release

2026-01-14

Avg cadence

117 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v2.0.0: 8,950 LOCv2.1.0: 8,950 LOCv2.1.1: 8,962 LOCv2.1.2: 8,962 LOCv2.1.3: 8,962 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies Rcpp bayesplot rstantools hmcdm

Version History

6 tracked
new 2.1.3 Mar 10, 2026
updated 2.1.3 ← 2.1.2 diff Jan 13, 2026
updated 2.1.2 ← 2.1.1 diff Oct 22, 2025
updated 2.1.1 ← 2.1.0 diff Mar 19, 2023
updated 2.1.0 ← 2.0.0 diff Jan 24, 2023
new 2.0.0 Aug 28, 2022