Skip to content

causalCmprsk

Nonparametric and Cox-Based Estimation of Average Treatment Effects in Competing Risks

v2.0.0 · Jul 4, 2023 · GPL (>= 2)

Description

Estimation of average treatment effects (ATE) of point interventions on time-to-event outcomes with K competing risks (K can be 1). The method uses propensity scores and inverse probability weighting for emulation of baseline randomization, which is described in Charpignon et al. (2022) <doi:10.1038/s41467-022-35157-w>.

Downloads

CRAN

309

Last 30 days

14177th

722

Last 90 days

3.3K

Last year

Trend: +75.6% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

29

Last 90 days

111

Last year

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

autoCRAN

4

Last 7 days

21

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

4,394

Files

20

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,313 (52.6%)Docs 927 (21.1%)Vignettes 1,154 (26.3%)

API

Exported functions

5

Internal functions

13

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2020-11-03

Latest release

2023-07-04

Avg cadence

95 days

Cold removal rate

Dep drift

1

LOC over versions

v1.0.0: 3,978 LOCv1.0.1: 3,952 LOCv1.0.2: 3,937 LOCv1.0.3: 3,952 LOCv1.1.0: 4,168 LOCv2.0.0: 4,394 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies survival inline doParallel foreach data.table purrr causalCmprsk

Version History

7 tracked
new 2.0.0 Mar 10, 2026
updated 2.0.0 ← 1.1.0 diff Jul 3, 2023
updated 1.1.0 ← 1.0.3 diff Mar 30, 2023
updated 1.0.3 ← 1.0.2 diff Aug 8, 2021
updated 1.0.2 ← 1.0.1 diff Aug 8, 2021
updated 1.0.1 ← 1.0.0 diff Jan 4, 2021
new 1.0.0 Nov 2, 2020