Skip to content

GenHMM1d

Goodness-of-Fit for Zero-Inflated Univariate Hidden Markov Models

v0.2.6 · Sep 7, 2025 · GPL-3

Description

Inference, goodness-of-fit tests, and predictions for continuous and discrete univariate Hidden Markov Models (HMM), including zero-inflated distributions. The goodness-of-fit test is based on a Cramer-von Mises statistic and uses parametric bootstrap to estimate the p-value. The description of the methodology is taken from Nasri et al (2020) <doi:10.1029/2019WR025122>.

Downloads

CRAN

450

Last 30 days

8737th

1.5K

Last 90 days

5.4K

Last year

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

r2u CRAN

0

Last 30 days

23

Last 90 days

104

Last year

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

autoCRAN

1

Last 7 days

6

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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

whether package can be installed

Installation failed.
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/GenHMM1d.Rcheck/00install.out’ for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

18,481

Files

45

Compiled share

0%

Has compiled src

No

Language breakdown

R 17,715 (95.9%)Docs 766 (4.1%)

API

Exported functions

21

Internal functions

2

Recent export changes

v0.2.1+1 bfun  −5 ForecastHMMES, ForecastHMMTCM, ForecastHMMconfint 2 more
v0.1.0+25 CDF, CDF_est, ES +22 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

20%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2021-01-21

Latest release

2025-09-07

Avg cadence

845 days

Cold removal rate

100%

Dep drift

7

LOC over versions

v0.1.0: 18,930 LOCv0.2.1: 18,448 LOCv0.2.6: 18,481 LOC

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

Dependency Network

Dependencies Reverse dependencies doParallel foreach ggplot2 matrixcalc reshape2 rmutil VaRES VGAM EnvStats GLDEX GeneralizedHyperbolic actuar extraDistr gamlss.dist sgt +4 more dependencies GenHMM1d

Version History

4 tracked
new 0.2.6 Mar 10, 2026
updated 0.2.6 ← 0.2.1 diff Sep 7, 2025
updated 0.2.1 ← 0.1.0 diff Mar 12, 2025
new 0.1.0 Jan 20, 2021