TreatmentPatterns
3.1.2Analyzes Real-World Treatment Patterns of a Study Population of Interest
Overview
Computes treatment patterns within a given cohort using the Observational Medical Outcomes Partnership (OMOP) common data model (CDM). As described in Markus, Verhamme, Kors, and Rijnbeek (2022) doi:10.1016/j.cmpb.2022.107081.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-2413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-05-1712 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-1513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 5 earlier snapshots
- ERROR2026-05-1312 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-0611 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-0410 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 56%
- Documented parameters
- 100%
- Return-value docs
- 90%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
Repository practices
5 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/darwin-eu/treatmentpatterns on 2026-07-19.
Show all practices
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 6 max
- Test cases
- 126 / 1.38 per code line
Test coverage
Line coverage
95%
Expression
93.2%
Tests / Examples
94.9% / 0% ex
Functions
69 9 exported
Complexity
1.7 avg / 6 max
Call network
69 nodes / 80 edges
Call graph
Open call graph →Lowest coverage
69 functions| Function | Cyclo | Coverage |
|---|---|---|
| doEraCollapse | 2 | 0% |
| checkInstall | 2 | 50% |
| doFilterTreatments | 6 | 60% |
| computePathways exp | 2 | 87% |
| addLabels | 4 | 88% |
| doCombinationWindow | 4 | 94% |
People & History
21 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 3.1.2Latest
- 3.1.12025-08-25 · diff ↗
- 3.1.02025-06-03 · diff ↗
- 3.0.32025-04-16 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 3.0.22025-04-04 · diff ↗
- 3.0.12025-03-10 · diff ↗
- 3.0.02025-02-06 · diff ↗
- 2.7.02024-11-27 · diff ↗
- 2.6.92024-09-02 · diff ↗
- unarchivedReturned to CRAN2024-09-02
- archivedRemoved from CRAN2024-09-01issues were not corrected in time
- 2.6.82024-08-29 · diff ↗
- 2.6.72024-05-24 · diff ↗
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2023-08-16
- Total releases
- 21 / 3 yrs
- License
- Apache License (>= 2)
- Minimum R
- ≥ 4.2
- Download size
- 3.7 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet