Skip to content

TreatmentPatterns

Analyzes Real-World Treatment Patterns of a Study Population of Interest

v3.1.2 · Feb 10, 2026 · Apache License (>= 2)

Description

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>.

Downloads

907

Last 30 days

4024th

13K

Last 90 days

19.2K

Last year

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

CRAN Check Status

3 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 OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
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 (3 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 6, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [18s/15s]
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.
  > #
  > # Where should you do additional 
...[truncated]...
in `cohorts`.
  Backtrace:
      ▆
   1. └─TreatmentPatterns::computePathways(...) at test-CRAN.R:21:3
   2.   └─TreatmentPatterns:::validateComputePathways()
  
  [ FAIL 1 | WARN 0 | SKIP 105 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    doc   5.6Mb

Dependency Network

Dependencies Reverse dependencies R6 stringi jsonlite checkmate dplyr tidyr dbplyr Andromeda CDMConnector TreatmentPatterns

Version History

new 3.1.2 Mar 10, 2026
updated 3.1.2 ← 3.1.1 diff Feb 9, 2026
updated 3.1.1 ← 3.1.0 diff Aug 24, 2025
updated 3.1.0 ← 3.0.3 diff Jun 2, 2025
updated 3.0.3 ← 3.0.2 diff Apr 15, 2025
updated 3.0.2 ← 3.0.1 diff Apr 3, 2025
updated 3.0.1 ← 3.0.0 diff Mar 9, 2025
updated 3.0.0 ← 2.7.0 diff Feb 5, 2025
updated 2.7.0 ← 2.6.9 diff Nov 26, 2024
updated 2.6.9 ← 2.6.8 diff Sep 1, 2024
updated 2.6.8 ← 2.6.7 diff Aug 28, 2024
updated 2.6.7 ← 2.6.6 diff May 23, 2024
updated 2.6.6 ← 2.6.5 diff Apr 15, 2024
updated 2.6.5 ← 2.6.4 diff Feb 18, 2024
updated 2.6.4 ← 2.6.3 diff Jan 25, 2024
updated 2.6.3 ← 2.6.2 diff Jan 24, 2024
updated 2.6.2 ← 2.6.1 diff Dec 12, 2023
updated 2.6.1 ← 2.6.0 diff Dec 10, 2023
updated 2.6.0 ← 2.5.2 diff Nov 12, 2023
updated 2.5.2 ← 2.5.1 diff Sep 14, 2023