Skip to content

survminer

0.5.2

Drawing Survival Curves using 'ggplot2'

73packages depend
648.2Kdownloads / year
42.7%test coverage
11/13checks pass

Overview

About
Maintained by Alboukadel KassambaraFirst published 2016-01-1821 releasesCRAN page ↗GitHub ↗

Contains the function 'ggsurvplot()' for drawing easily beautiful and 'ready-to-publish' survival curves with the 'number at risk' table and 'censoring count plot'. Other functions are also available to plot adjusted curves for `Cox` model and to visually examine 'Cox' model assumptions.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 6.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.04
42.7%
Coverage · measured lines
97%
Documentation · exports
17
Dependencies · direct
Check history
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 561 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
93%
Documented parameters
86%
Return-value docs
84%
References docs
3%

Downloads

648.2K
CRAN downloads in the past year
Rank #519 · ~1.8K/day · ~54K/mo
Daily download trend is not available in this view yet.
41.7K30 days
143.6K90 days
648.2K1 year
Compare downloads with other packages →
Also on1.4K r2u3 autocran12.8K conda_forge88 c2d4u

Repository

Repository
573Stars
170Forks
7Open issues
1Open PRs
19Releases
1,410Commits
20Contributors
1,410 commits · Last activity 2026-07-30 · +0.4% stars, 30d

Stars over time

2025-08-19 · 5442026-08-12 · 573

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/kassambara/survminer on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (2)
data-raw/Makefile
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (2)
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 0.3.0
Author · added in 0.2.1
Contributors (1)
Contributor · added in 0.4.1
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.2Latest
    2026-02-25 · current release · diff ↗
  • 0.5.1
    2025-09-03 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.0
    2024-10-30 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.9
    2021-03-09 · diff ↗
  • 0.4.8
    2020-07-25 · diff ↗
  • 0.4.7
    2020-05-28 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.6
    2019-09-04 · diff ↗
  • 0.4.5
    2019-08-03 · diff ↗
  • 0.4.4
    2019-05-21 · diff ↗
Show 17 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 0.4.3
    2018-08-05 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.4.2
    2018-02-01 · diff ↗
  • 0.4.1
    2017-11-17 · diff ↗
  • 0.4.0
    2017-06-07 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.3.1
    2017-03-21 · diff ↗
  • 0.3.0
    2017-03-16 · diff ↗
  • 0.2.4
    2016-12-11 · diff ↗
  • 0.2.3
    2016-12-07 · diff ↗
  • 0.2.2
    2016-07-28 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.2.1
    2016-04-23 · diff ↗
  • 0.2.0
    2016-02-18 · diff ↗
  • 0.1.1
    2016-01-18
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-01-18
Total releases
21 / 10 yrs
License
GPL-2 OSI
Bundled data
18 KB / 3 files
Download size
3.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("survminer")
Kassambara, A., Biecek, P., Fabian, S., & Kosinski, M. (2026). survminer: Drawing Survival Curves using 'ggplot2' (Version 0.5.2) [Computer software]. https://doi.org/10.32614/CRAN.package.survminer

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 survminer version 0.5.2 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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