hhdynamics
Fitting Household Transmission Model to Estimate Household Transmission Dynamics of Influenza
Description
A Bayesian household transmission model to estimate household transmission dynamics, with accounting for infection from community and tertiary cases.
Downloads
447
Last 30 days
9488th
1.4K
Last 90 days
1.7K
Last year
Trend: +5.9% (30d vs prior 30d)
24
Last 30 days
121
Last 90 days
135
Last year
Trend: -36.8% (30d vs prior 30d)
8
Last 7 days
25
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
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 Apr 22, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/hhdynamics.Rcheck/00install.out' for details.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 7, 2026
tests
Running ‘testthat.R’ [91s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(hhdynamics)
>
> test_check("hhdynamics")
The running time is 4 seconds
The running time is 2 seconds
The runn
...[truncated]...
UE/FALSE needed
Backtrace:
▆
1. └─hhdynamics::table_parameters(.fit_nocov) at test-table.R:14:3
2. └─hhdynamics:::.effective_sample_size(x_raw)
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 91 ]
Error:
! Test failures.
Execution halted
OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
Code & tests
Open call graph →Line coverage
–
Expression
–
Tests / Examples
–
Functions
52 12 exported
Complexity
6.2 avg / 46 max
Call network
52 nodes / 32 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
5,058
Files
70
Compiled share
23%
Has compiled src
Yes
Language breakdown
API
Exported functions
12
Internal functions
19
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.28
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
81%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
100%
Unsafe pattern score
0
Dep constraint coverage
50%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.5.0
System requirements
1
C++ standard
–
License
GPL (>= 2)
License flags
SPDX valid, OSI approved
History
Versions
2
First release
2026-03-26
Latest release
2026-04-08
Avg cadence
13 days
Cold removal rate
–
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.