Skip to content

osdc

Open Source Diabetes Classifier for Danish Registers

v0.11.3 · Jun 4, 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

632

Last 30 days

5565th

1.8K

Last 90 days

3.7K

Last year

Trend: +20.8% (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 23, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 20, 2026
ERROR r-devel-linux-x86_64-fedora-gcc

whether package can be installed

Installation failed.
See ‘/data/gannet/ripley/R/packages/tests-devel/osdc.Rcheck/00install.out’ for details.
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: ‘dbplyr’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 24, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 17, 2026
ERROR r-release-linux-x86_64

package dependencies

Package required but not available: ‘duckplyr’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 15, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 13, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘duckplyr’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
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
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies checkmate cli codeCollection dplyr dbplyr (>= 2.5.1) duckplyr fabricatr lifecycle lubridate purrr rlang tidyselect fastreg osdc

Version History

4 tracked
updated 0.11.3 ← 0.9.19 diff Jun 4, 2026
new 0.9.19 Mar 10, 2026
updated 0.9.19 ← 0.9.17 diff Jan 11, 2026
new 0.9.17 Dec 9, 2025