Skip to content

diseasemapping

Modelling Spatial Variation in Disease Risk for Areal Data

v2.0.6 · Feb 9, 2024 · GPL

Description

Formatting of population and case data, calculation of Standardized Incidence Ratios, and fitting the BYM model using 'INLA'. For details see Brown (2015) <doi:10.18637/jss.v063.i12>.

Downloads

CRAN

506

Last 30 days

7915th

1K

Last 90 days

4.3K

Last year

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

r2u CRAN

0

Last 30 days

24

Last 90 days

112

Last year

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

autoCRAN

3

Last 7 days

11

Last 30 days

1

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 Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package which this enhances but not available for checking: ‘INLA’
NOTE r-oldrel-macos-x86_64

package dependencies

Package which this enhances but not available for checking: ‘INLA’

Line coverage

Expression

Tests / Examples

Functions

18 7 exported

Complexity

6.6 avg / 25 max

Call network

18 nodes / 7 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

3,805

Files

49

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,392 (62.9%)Tests 304 (8%)Docs 881 (23.2%)Vignettes 228 (6%)

API

Exported functions

10

Internal functions

10

Testing & CI

Has tests

Yes

Test-to-code ratio

0.13

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

2

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

License flags

not SPDX, not OSI

History

Versions

34

First release

2009-04-01

Latest release

2024-02-09

Avg cadence

42 days

Cold removal rate

100%

Dep drift

10

LOC over versions

v2.9.0: 1,162 LOCv0.2: 1,162 LOCv2.9.1: 1,215 LOCv0.3: 1,214 LOCv0.4: 1,215 LOCv2.10.0: 1,695 LOCv0.5.3: 1,695 LOCv0.6: 1,625 LOCv2.14.2: 1,625 LOCv0.7.3: 1,707 LOCv0.7.5: 1,729 LOCv3.0.2: 1,729 LOCv0.7.7: 1,873 LOCv1.0.1: 1,954 LOCv1.1.0: 2,838 LOCv1.1.2: 2,833 LOCv1.1.4: 2,784 LOCv1.1.5: 2,784 LOCv1.1.7: 3,169 LOCv1.2.0: 3,220 LOCv1.2.3: 3,186 LOCv1.2.7: 3,057 LOCv1.4.0: 3,641 LOCv1.4.2: 3,885 LOCv1.4.6: 3,999 LOCv1.4.9: 4,197 LOCv1.5.0: 4,197 LOCv1.5.1: 4,197 LOCv2.0.0: 3,858 LOCv2.0.1: 3,858 LOCv2.0.2: 3,870 LOCv2.0.3: 3,881 LOCv2.0.5: 3,805 LOCv2.0.6: 3,805 LOC

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

Dependency Network

Dependencies Reverse dependencies terra diseasemapping

Version History

30 tracked
new 2.0.6 Mar 10, 2026
updated 2.0.6 ← 2.0.5 diff Feb 8, 2024
updated 2.0.5 ← 2.0.3 diff Dec 3, 2023
updated 2.0.3 ← 2.0.2 diff Sep 20, 2023
updated 2.0.2 ← 2.0.1 diff Sep 18, 2023
updated 2.0.1 ← 2.0.0 diff Sep 17, 2023
updated 2.0.0 ← 1.5.1 diff Sep 14, 2023
updated 1.5.1 ← 1.5.0 diff Sep 9, 2021
updated 1.5.0 ← 1.4.9 diff Mar 11, 2021
updated 1.4.9 ← 1.4.6 diff May 4, 2020
updated 1.4.6 ← 1.4.2 diff Jul 11, 2018
updated 1.4.2 ← 1.4.0 diff Sep 19, 2016
updated 1.4.0 ← 1.2.7 diff Mar 6, 2016
updated 1.2.7 ← 1.2.3 diff Nov 8, 2015
updated 1.2.3 ← 1.2.0 diff Jul 7, 2015