Skip to content

flexsurv

2.3.2

Flexible Parametric Survival and Multi-State Models

76packages depend
167.1Kdownloads / year
86.2%test coverage
13/13checks pass

Overview

About
Maintained by Christopher JacksonFirst published 2011-11-0920 releasesCRAN page ↗GitHub ↗

Flexible parametric models for time-to-event data, including the Royston-Parmar spline model, generalized gamma and generalized F distributions. Any user-defined parametric distribution can be fitted, given at least an R function defining the probability density or hazard. There are also tools for fitting and predicting from fully parametric multi-state models, based on either cause-specific hazards or mixture models.

Install

Health

CRAN checks
13OK
Slowest check: 11.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.32
86.2%
Coverage · measured lines
100%
Documentation · exports
21
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-27
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-14
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
91%
Return-value docs
86%
References docs
29%

Downloads

167.1K
CRAN downloads in the past year
Rank #1,094 · ~458/day · ~13.9K/mo
Daily download trend is not available in this view yet.
10.8K30 days
35.3K90 days
167.1K1 year
Compare downloads with other packages →
Also on4.6K r2u16 autocran4.3K conda_forge67 c2d4u

Repository

Repository
66Stars
28Forks
28Open issues
0Open PRs
10Releases
723Commits
20Contributors
723 commits · Last activity 2026-02-18 · 0% stars, 30d

Stars over time

2025-07-27 · 622026-07-07 · 66

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/chjackson/flexsurv on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
Coverage (1)
Codecov
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Code & Tests

Datasets

People & History

People (6)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (5)
Contributor · added in 1.1
Contributor · added in 2.0
Contributor · added in 1.1
Contributor · added in 2.2
Contributor · added in 2.0
Package Timeline

20 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.3.2Latest
    2024-08-17 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.3
    2024-04-21 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.2.2
    2023-02-01 · diff ↗
  • 2.2.1
    2022-12-22 · diff ↗
  • 2.2
    2022-06-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.1
    2021-09-13 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0
    2021-02-22 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.1
    2019-03-18 · diff ↗
Show 20 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1
    2017-03-27 · diff ↗
  • 1.0.0
    2016-05-11 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.7.1
    2016-03-24 · diff ↗
  • 0.7
    2015-11-13 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.6
    2015-04-14 · diff ↗
  • 0.5
    2014-09-22 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.3
    2014-01-20 · diff ↗
  • 0.2
    2013-05-15 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.1.5
    2012-08-29 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 0.1.4
    2012-03-24 · diff ↗
  • 0.1.3
    2012-01-17 · diff ↗
  • 0.1.2
    2011-11-09
  • R
    R 2.14.0 released · 2011-10-31

Package metadata

First published
2011-11-09
Total releases
20 / 15 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.15.0
Bundled data
31 KB / 4 files
Download size
1.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("flexsurv")
Jackson, C., Amdahl, J., Kunzmann, K., Metcalfe, P., Sweeting, M., & Warkentin, M. T. (2024). flexsurv: Flexible Parametric Survival and Multi-State Models (Version 2.3.2) [Computer software]. https://doi.org/10.32614/CRAN.package.flexsurv

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for flexsurv version 2.3.2 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy