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

676

Last 30 days

4898th

1.6K

Last 90 days

18.2K

Last year

Trend: +77% (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 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

Packages required but not available: 'dbplyr', 'Andromeda', 'CDMConnector'

Packages suggested but not available for checking:
  'Eunomia', 'DatabaseConnector', 'CohortGenerator',
  'ResultModelManager', 'plotly', 'sunburstR', 'visOmopResults', 'PaRe'

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: ‘Andromeda’

Package suggested but not available for checking: ‘duckdb’

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: ‘Andromeda’

Package suggested but not available for checking: ‘duckdb’

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

22 tracked
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