attrib
Attributable Burden of Disease
v2021.1.2
·
Mar 30, 2021
·
MIT + file LICENSE
Description
Provides functions for estimating the attributable burden of disease due to risk factors. The posterior simulation is performed using arm::sim as described in Gelman, Hill (2012) <doi:10.1017/CBO9780511790942> and the attributable burden method is based on Nielsen, Krause, Molbak <doi:10.1111/irv.12564>.
Downloads
922
Last 30 days
3913th
1.9K
Last 90 days
1.9K
Last year
Trend: -6.7% (30d vs prior 30d)
CRAN Check Status
1
ERROR
2
NOTE
11
OK
Show all 14 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 | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | ERROR |
| 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 details (14 non-OK)
OK
r-devel-linux-x86_64-debian-clang
*
OK
r-devel-linux-x86_64-debian-gcc
*
NOTE
r-devel-linux-x86_64-fedora-clang
dependencies in R code
Namespaces in Imports field not imported from: ‘dlnm’ ‘ggplot2’ ‘mvmeta’ ‘pbs’ ‘tsModel’ All declared Imports should be used.
NOTE
r-devel-linux-x86_64-fedora-gcc
dependencies in R code
Namespaces in Imports field not imported from: ‘dlnm’ ‘ggplot2’ ‘mvmeta’ ‘pbs’ ‘tsModel’ All declared Imports should be used.
OK
r-devel-macos-arm64
*
ERROR
r-devel-windows-x86_64
tests
Running 'testthat.R' [70s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(attrib)
attrib 2021.1.2 https://folkehelseinstituttet.github.io/attrib
>
> test_check("attrib")
|
| | 0%
|
|=================================== | 50%
|
|======================================================================| 100%Saving _problems/test_fake-162.R
Saving _problems/test_fake-170.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 6 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_fake.R:159:3'): simmulations ─────────────────────────────────
Expected `round(as.numeric(median(dif_obs), 0))` to equal `c(0)`.
Differences:
1/1 mismatches
[1] -1 - 0 == -1
── Failure ('test_fake.R:167:3'): simmulations ─────────────────────────────────
Expected `round(as.numeric(median(dif), 0))` to equal `c(0)`.
Differences:
1/1 mismatches
[1] -1 - 0 == -1
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 6 ]
Error:
! Test failures.
Execution halted
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
*
Check History
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
NOTE
r-devel-linux-x86_64-fedora-clang
dependencies in R code
Namespaces in Imports field not imported from: ‘dlnm’ ‘ggplot2’ ‘mvmeta’ ‘pbs’ ‘tsModel’ All declared Imports should be used.
NOTE
r-devel-linux-x86_64-fedora-gcc
dependencies in R code
Namespaces in Imports field not imported from: ‘dlnm’ ‘ggplot2’ ‘mvmeta’ ‘pbs’ ‘tsModel’ All declared Imports should be used.
ERROR
r-devel-windows-x86_64
tests
Running 'testthat.R' [70s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(attrib)
attrib 2021.1.2 https://folkehelseinstituttet.github.io/attrib
>
> test_check("attrib")
|
| | 0%
|
|===============
Dependency Network
Version History
new
2021.1.2
Mar 9, 2026