Skip to content

disbayes

Bayesian Multi-State Modelling of Chronic Disease Burden Data

v1.1.1 · Apr 27, 2026 · GPL-3

Description

Estimation of incidence and case fatality for a chronic disease, given partial information, using a multi-state model. Given data on age-specific mortality and either incidence or prevalence, Bayesian inference is used to estimate the posterior distributions of incidence, case fatality, and functions of these such as prevalence. The methods are described in Jackson et al. (2023) <doi:10.1093/jrsssa/qnac015>.

Downloads

CRAN

568

Last 30 days

6481st

1.5K

Last 90 days

3.7K

Last year

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

r2u CRAN

25

Last 30 days

130

Last 90 days

420

Last year

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

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

package dependencies

Package required but not available: ‘SHELF’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

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

installed package size

installed size is 87.7Mb
  sub-directories of 1Mb or more:
    libs  86.9Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
ERROR 10 OK · 3 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/disbayes.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

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

installed package size

installed size is 87.7Mb
  sub-directories of 1Mb or more:
    libs  86.9Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

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

installed package size

installed size is 87.7Mb
  sub-directories of 1Mb or more:
    libs  86.9Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.

Line coverage

Expression

Tests / Examples

Functions

61 9 exported

Complexity

5.5 avg / 47 max

Call network

61 nodes / 57 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

14,561

Files

70

Compiled share

65%

Has compiled src

Yes

Language breakdown

R 2,333 (16%)C/C++/src 9,461 (65%)Tests 899 (6.2%)Docs 1,200 (8.2%)Vignettes 668 (4.6%)

API

Exported functions

11

Internal functions

48

Recent export changes

v1.0.0+11 ci2num, conflict_disbayes, disbayes +8 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.39

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

88.9%

\dontrun example ratio

0%

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

15.4%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

1

C++ standard

C++14

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2022-08-22

Latest release

2026-04-27

Avg cadence

672 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.0: 13,468 LOCv1.1.0: 15,873 LOCv1.1.1: 14,561 LOC

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

Dependency Network

Dependencies Reverse dependencies dplyr tidyr magrittr tibble generics Rcpp (>= 0.12.0) rstan mgcv SHELF ggplot2 loo matrixStats disbayes

Version History

4 tracked
updated 1.1.1 ← 1.1.0 diff Apr 27, 2026
new 1.1.0 Mar 10, 2026
updated 1.1.0 ← 1.0.0 diff Sep 8, 2023
new 1.0.0 Aug 21, 2022