Skip to content

SelfControlledCohort

Self-Controlled Cohort Population-Level Estimation

v2.0.0 · Jun 17, 2026 · Apache License 2.0

Description

Estimates incidence rate ratios by comparing time exposed with time unexposed among an exposed cohort using self-controlled cohort methodology as described in Ryan et al. (2013) <doi:10.1002/pds.3457>. Functions used for empirical calibration of effect estimates, confidence intervals, and p-values are included to control for residual bias.

Downloads

CRAN

222

Last 30 days

19976th

222

Last 90 days

222

Last year

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 29, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 27, 2026
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [71s/395s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(SelfControlledCohort)
  Loading required package: DatabaseConnector
  > options(dbms = "sqlite")
  > test_check("SelfCo
...[truncated]...
age, parallel = parallel, shuffle = shuffle)
  46: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  47: test_check("SelfControlledCohort")
  An irrecoverable exception occurred. R is aborting now ...
OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 18, 2026

Dependency Network

Dependencies Reverse dependencies DatabaseConnector SqlRender ParallelLogger rateratio.test checkmate dplyr EmpiricalCalibration ResultModelManager Andromeda readr rlang cli SelfControlledCohort

Version History

1 tracked
new 2.0.0 Jun 17, 2026