SuperSurv
A Unified Framework for Machine Learning Ensembles in Survival Analysis
Description
Implements a Super Learner framework for right-censored survival data. The package fits convex combinations of parametric, semiparametric, and machine learning survival learners by minimizing cross-validated risk using inverse probability of censoring weighting (IPCW). It provides tools for automated hyperparameter grid search, high-dimensional variable screening, and evaluation of prediction performance using metrics such as the Brier score, Uno's C-index, and time-dependent area under the curve (AUC). Additional utilities support model interpretation for survival ensembles, including Shapley additive explanations (SHAP), and estimation of covariate-adjusted restricted mean survival time (RMST) contrasts. The methodology is related to treatment-specific survival curve estimation using machine learning described by Westling et al. (2024) <doi:10.1080/01621459.2023.2205060>, and the unified ensemble framework described in Lyu et al. (2026) <doi:10.64898/2026.03.11.711010>.
Downloads
358
Last 30 days
12266th
1.1K
Last 90 days
1.4K
Last year
Trend: +51.7% (30d vs prior 30d)
7
Last 30 days
82
Last 90 days
84
Last year
Trend: -68.2% (30d vs prior 30d)
3
Last 7 days
11
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
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 18, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE May 28, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘base-learner-rfsrc.Rmd’ using rmarkdown --- finished re-building ‘base-learner-rfsrc.Rmd’ --- re-building ‘causal-rmst.Rmd’ using rmarkdown --- finished re-building ‘causal-rmst.Rmd’ --- re-buildi ...[truncated]... surv-best.Rmd’ --- re-building ‘supersurv-ensemble.Rmd’ using rmarkdown --- finished re-building ‘supersurv-ensemble.Rmd’ SUMMARY: processing the following file failed: ‘shap-explanations.Rmd’ Error: Vignette re-building failed. Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘base-learner-rfsrc.Rmd’ using rmarkdown --- finished re-building ‘base-learner-rfsrc.Rmd’ --- re-building ‘causal-rmst.Rmd’ using rmarkdown --- finished re-building ‘causal-rmst.Rmd’ --- re-buildi ...[truncated]... surv-best.Rmd’ --- re-building ‘supersurv-ensemble.Rmd’ using rmarkdown --- finished re-building ‘supersurv-ensemble.Rmd’ SUMMARY: processing the following file failed: ‘shap-explanations.Rmd’ Error: Vignette re-building failed. Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 6 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
installed package size
installed size is 8.1Mb
sub-directories of 1Mb or more:
doc 1.4Mb
help 6.3Mb
Code
Structure
Lines of code
12,892
Files
129
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
51
Internal functions
50
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.02
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
4.3%
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
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
3
First release
2026-03-26
Latest release
2026-06-11
Avg cadence
39 days
Cold removal rate
–
Dep drift
1
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.