SelfControlledCaseSeries
Self-Controlled Case Series
Description
Execute the self-controlled case series (SCCS) design using observational data in the OMOP Common Data Model. Extracts all necessary data from the database and transforms it to the format required for SCCS. Age and season can be modeled using splines assuming constant hazard within calendar months. Event-dependent censoring of the observation period can be corrected for. Many exposures can be included at once (MSCCS), with regularization on all coefficients except for the exposure of interest. Includes diagnostics for all major assumptions of the SCCS.
Downloads
653
Last 30 days
5193rd
1.6K
Last 90 days
5.1K
Last year
Trend: +6% (30d vs prior 30d)
24
Last 30 days
130
Last 90 days
466
Last year
Trend: -51% (30d vs prior 30d)
CRAN Check Status
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
package dependencies
Packages required but not available: 'Cyclops', 'DatabaseConnector', 'Andromeda', 'ResultModelManager' Package suggested but not available for checking: ‘Eunomia’ 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
package dependencies
Packages required but not available: 'Cyclops', 'Andromeda' 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
package dependencies
Packages required but not available: 'Cyclops', 'Andromeda' 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
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 27, 2026
compiled code
File ‘SelfControlledCaseSeries/libs/SelfControlledCaseSeries.so’: Found non-API call to R: ‘R_UnboundValue’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
installed package size
installed size is 6.0Mb
sub-directories of 1Mb or more:
libs 3.9Mb
installed package size
installed size is 5.9Mb
sub-directories of 1Mb or more:
libs 3.8Mb
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'MultipleAnalyses.Rmd' using rmarkdown --- finished re-building 'MultipleAnalyses.Rmd' --- re-building 'ResultsSchema.Rmd' using rmarkdown --- finished re-building 'ResultsSchema.Rmd' --- re-buildi ...[truncated]... i.org/tinytex/r/#debugging for debugging tips. See SingleStudies.log for more info. --- failed re-building 'SingleStudies.Rmd' SUMMARY: processing the following file failed: 'SingleStudies.Rmd' Error: Vignette re-building failed. Execution halted
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
installed package size
installed size is 6.0Mb
sub-directories of 1Mb or more:
libs 3.9Mb
installed package size
installed size is 5.9Mb
sub-directories of 1Mb or more:
libs 3.8Mb
Code
Structure
Lines of code
16,562
Files
157
Compiled share
14.6%
Has compiled src
Yes
Language breakdown
API
Exported functions
69
Internal functions
68
Testing & CI
Has tests
Yes
Test-to-code ratio
0.31
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
91.3%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
33.3%
Unsafe pattern score
0
Dep constraint coverage
44.4%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.1.0
System requirements
–
C++ standard
–
License
Apache License 2.0
License flags
SPDX valid, OSI approved
History
Versions
6
First release
2025-06-23
Latest release
2026-05-08
Avg cadence
50 days
Cold removal rate
–
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.