osdc
Open Source Diabetes Classifier for Danish Registers
v0.9.19
·
Jan 12, 2026
·
MIT + file LICENSE
Description
The algorithm first identifies a population of individuals from Danish register data with any type of diabetes as individuals with two or more inclusion events. Then, it splits this population into individuals with either type 1 diabetes or type 2 diabetes by identifying individuals with type 1 diabetes and classifying the remainder of the diabetes population as having type 2 diabetes.
Downloads
571
Last 30 days
7063rd
1.7K
Last 90 days
2.1K
Last year
Trend: -4.4% (30d vs prior 30d)
CRAN Check Status
14
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 | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 17, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 11, 2026
ERROR
r-devel-linux-x86_64-debian-gcc
tests
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [16s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> #
...[truncated]...
bles(bef_as_duckdb, "bef"))` to be identical to `bef_complete`.
Differences:
`attr(actual, 'row.names')`: NA -1
`attr(expected, 'row.names')`: 1
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 44 ]
Error:
! Test failures.
Execution halted