{
  "_id": "6a106b1bacfb0bcc41caa399",
  "Package": "ggsurvfit",
  "Title": "Flexible Time-to-Event Figures",
  "Version": "1.2.0.9001",
  "Authors@R": "c(\nperson(\"Daniel D.\", \"Sjoberg\", , \"danield.sjoberg@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-0862-2018\")),\nperson(\"Shreya\", \"Sreeram\", , \"shreyasreeram27@gmail.com\", role = \"aut\"),\nperson(\"Mark\", \"Baillie\", , \"bailliem@gmail.com\", role = \"aut\"),\nperson(\"Charlotta\", \"Fruechtenicht\", , \"charlotta.fruechtenicht@roche.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-6689-6423\")),\nperson(\"Steven\", \"Haesendonckx\", , \"shaesen2@its.jnj.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-8222-3686\")),\nperson(\"Tim\", \"Treis\", , \"tim.treis@outlook.de\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-9686-4799\"))\n)",
  "Description": "Ease the creation of time-to-event (i.e. survival)\nendpoint figures. The modular functions create figures ready\nfor publication. Each of the functions that add to or modify\nthe figure are written as proper 'ggplot2' geoms or stat\nmethods, allowing the functions from this package to be\ncombined with any function or customization from 'ggplot2' and\nother 'ggplot2' extension packages.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/pharmaverse/ggsurvfit,\nhttps://www.danieldsjoberg.com/ggsurvfit/",
  "BugReports": "https://github.com/pharmaverse/ggsurvfit/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "cowplot, ggeasy, gghighlight",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ddsjoberg.r-universe.dev",
  "Date/Publication": "2026-04-07 23:03:11 UTC",
  "RemoteUrl": "https://github.com/pharmaverse/ggsurvfit",
  "RemoteRef": "HEAD",
  "RemoteSha": "0b986407f94761a5f083eb795aec373b64ca7e33",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-07 09:35:20 UTC",
    "User": "root"
  },
  "Author": "Daniel D. Sjoberg [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-0862-2018>),\nShreya Sreeram [aut],\nMark Baillie [aut],\nCharlotta Fruechtenicht [aut] (ORCID:\n<https://orcid.org/0000-0002-6689-6423>),\nSteven Haesendonckx [aut] (ORCID:\n<https://orcid.org/0000-0001-8222-3686>),\nTim Treis [aut] (ORCID: <https://orcid.org/0000-0002-9686-4799>)",
  "Maintainer": "Daniel D. Sjoberg <danield.sjoberg@gmail.com>",
  "MD5sum": "9656f5c67acaec2c5b86cc669f300168",
  "_user": "ddsjoberg",
  "_type": "src",
  "_file": "ggsurvfit_1.2.0.9001.tar.gz",
  "_fileid": "8d6f13d09addf286cb88bf15ad714435ff394531ee34162fbcbcdc80d4a030f1",
  "_filesize": 1269505,
  "_sha256": "8d6f13d09addf286cb88bf15ad714435ff394531ee34162fbcbcdc80d4a030f1",
  "_created": "2026-05-07T09:35:20.000Z",
  "_published": "2026-05-22T14:41:31.947Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77402255072,
      "time": 314,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6851809723"
    },
    {
      "job": 77402254921,
      "time": 299,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851802678"
    },
    {
      "job": 77402255328,
      "time": 240,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6851807658"
    },
    {
      "job": 77402254840,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851781979"
    },
    {
      "job": 77402253926,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851703033"
    },
    {
      "job": 77402253990,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7163236609"
    },
    {
      "job": 77402254798,
      "time": 278,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6851795583"
    },
    {
      "job": 77402254988,
      "time": 323,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6851810057"
    },
    {
      "job": 77402254754,
      "time": 254,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851787927"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/25487752434",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pharmaverse/ggsurvfit",
  "_commit": {
    "id": "0b986407f94761a5f083eb795aec373b64ca7e33",
    "author": "Ken Taylor <110407869+KennethATaylor@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "add_quantile() plateau bug fix (#273)\n\n* Bug fix\n\n* Updated test snapshots previously impacted by bug\n\n* Update NEWS.md",
    "time": 1775602991
  },
  "_maintainer": {
    "name": "Daniel D. Sjoberg",
    "email": "danield.sjoberg@gmail.com",
    "login": "ddsjoberg",
    "twitter": "@statistishdan",
    "uuid": 26774684,
    "orcid": "0000-0003-0862-2018"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "broom",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.3",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "glue",
      "version": ">= 1.6.0",
      "role": "Imports"
    },
    {
      "package": "gtable",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "survival",
      "version": ">= 3.6-4",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "version": ">= 1.1.0",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    },
    {
      "package": "tidycmprsk",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "pharmaverse",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-30",
      "n": 5
    },
    {
      "week": "2025-32",
      "n": 2
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 3
    },
    {
      "week": "2025-40",
      "n": 5
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.2.0",
      "date": "2025-09-13"
    }
  ],
  "_stars": 104,
  "_contributors": [
    {
      "user": "ddsjoberg",
      "count": 297,
      "uuid": 26774684
    },
    {
      "user": "shreyasreeram27",
      "count": 25,
      "uuid": 218669416
    },
    {
      "user": "bailliem",
      "count": 8,
      "uuid": 19621679
    },
    {
      "user": "danchaltiel",
      "count": 2,
      "uuid": 15105152
    },
    {
      "user": "teunbrand",
      "count": 2,
      "uuid": 49372158
    },
    {
      "user": "aghaynes",
      "count": 1,
      "uuid": 6594028
    },
    {
      "user": "avishaitsur",
      "count": 1,
      "uuid": 50148164
    },
    {
      "user": "kennethataylor",
      "count": 1,
      "uuid": 110407869
    },
    {
      "user": "ksirohi7",
      "count": 1,
      "uuid": 83615161
    },
    {
      "user": "mattsecrest",
      "count": 1,
      "uuid": 35199424
    },
    {
      "user": "samrickman",
      "count": 1,
      "uuid": 46163241
    },
    {
      "user": "bundfussr",
      "count": 1,
      "uuid": 80953585
    }
  ],
  "_userbio": {
    "uuid": 26774684,
    "type": "user",
    "name": "Daniel Sjoberg",
    "description": "Senior Principal Data Scientist @Genentech; previously @sloan_kettering; \r\nGolden Girls Superfan"
  },
  "_downloads": {
    "count": 8834,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggsurvfit"
  },
  "_devurl": "https://github.com/pharmaverse/ggsurvfit",
  "_pkgdown": "https://www.danieldsjoberg.com/ggsurvfit/",
  "_searchresults": 1544,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggsurvfit.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pharmaverse/ggsurvfit",
  "_realowner": "pharmaverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-08-27"
    },
    {
      "version": "0.2.0",
      "date": "2022-10-16"
    },
    {
      "version": "0.2.1",
      "date": "2022-12-06"
    },
    {
      "version": "0.3.0",
      "date": "2023-03-16"
    },
    {
      "version": "0.3.1",
      "date": "2023-08-28"
    },
    {
      "version": "1.0.0",
      "date": "2023-10-31"
    },
    {
      "version": "1.1.0",
      "date": "2024-05-08"
    },
    {
      "version": "1.2.0",
      "date": "2025-09-13"
    }
  ],
  "_exports": [
    "%+%",
    "%>%",
    "add_censor_mark",
    "add_confidence_interval",
    "add_legend_title",
    "add_pvalue",
    "add_quantile",
    "add_risktable",
    "add_risktable_strata_symbol",
    "format_p",
    "ggcuminc",
    "ggplot_add",
    "ggsurvfit",
    "ggsurvfit_align_plots",
    "ggsurvfit_build",
    "grid.draw",
    "scale_ggsurvfit",
    "stat_stepribbon",
    "StatStepribbon",
    "Surv",
    "Surv_CNSR",
    "survfit",
    "survfit2",
    "survfit2_p",
    "theme_ggsurvfit_default",
    "theme_ggsurvfit_KMunicate",
    "theme_risktable_boxed",
    "theme_risktable_default",
    "tidy_cuminc",
    "tidy_survfit"
  ],
  "_datasets": [
    {
      "name": "adtte",
      "title": "Example phase III clinical trial data set",
      "object": "ADTTE",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "SUBJID",
        "USUBJID",
        "AGE",
        "STR01",
        "STR01N",
        "STR01L",
        "STR02",
        "STR02N",
        "STR02L",
        "TRT01P",
        "TRT01PN",
        "PARAM",
        "PARAMCD",
        "AVAL",
        "CNSR",
        "EVNTDESC",
        "CNSDTDSC",
        "DCTREAS"
      ],
      "rows": 2199,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_colon",
      "title": "Formatted Copy of 'survival::colon'",
      "object": "df_colon",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "rx",
        "sex",
        "age",
        "obstruct",
        "perfor",
        "adhere",
        "nodes",
        "status",
        "differ",
        "extent",
        "surg",
        "node4",
        "time"
      ],
      "rows": 929,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_lung",
      "title": "Formatted Copy of 'survival::lung'",
      "object": "df_lung",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "inst",
        "time",
        "status",
        "age",
        "sex",
        "ph.ecog",
        "ph.karno",
        "pat.karno",
        "meal.cal",
        "wt.loss"
      ],
      "rows": 228,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_censor_mark",
      "title": "Add Censor Marking",
      "topics": [
        "add_censor_mark"
      ]
    },
    {
      "page": "add_confidence_interval",
      "title": "Add Confidence Interval",
      "topics": [
        "add_confidence_interval"
      ]
    },
    {
      "page": "add_legend_title",
      "title": "Add Legend Title",
      "topics": [
        "add_legend_title"
      ]
    },
    {
      "page": "add_pvalue",
      "title": "Add p-value",
      "topics": [
        "add_pvalue"
      ]
    },
    {
      "page": "add_quantile",
      "title": "Add Quantile Annotation",
      "topics": [
        "add_quantile"
      ]
    },
    {
      "page": "add_risktable",
      "title": "Add risk table",
      "topics": [
        "add_risktable"
      ]
    },
    {
      "page": "add_risktable_strata_symbol",
      "title": "Use Symbol for Strata in Risk Table",
      "topics": [
        "add_risktable_strata_symbol"
      ]
    },
    {
      "page": "adtte",
      "title": "Example phase III clinical trial data set",
      "topics": [
        "adtte"
      ]
    },
    {
      "page": "df_colon",
      "title": "Formatted Copy of 'survival::colon'",
      "topics": [
        "df_colon"
      ]
    },
    {
      "page": "df_lung",
      "title": "Formatted Copy of 'survival::lung'",
      "topics": [
        "df_lung"
      ]
    },
    {
      "page": "format_p",
      "title": "Format p-value",
      "topics": [
        "format_p"
      ]
    },
    {
      "page": "ggcuminc",
      "title": "Plot Cumulative Incidence",
      "topics": [
        "ggcuminc"
      ]
    },
    {
      "page": "ggsurvfit",
      "title": "Plot Survival Probability",
      "topics": [
        "ggsurvfit"
      ]
    },
    {
      "page": "ggsurvfit_align_plots",
      "title": "Align Plots",
      "topics": [
        "ggsurvfit_align_plots"
      ]
    },
    {
      "page": "ggsurvfit_build",
      "title": "Build 'ggsurvfit' Object",
      "topics": [
        "ggsurvfit_build"
      ]
    },
    {
      "page": "ggsurvfit_options",
      "title": "Global Options",
      "topics": [
        "ggsurvfit_options"
      ]
    },
    {
      "page": "scale_ggsurvfit",
      "title": "Apply Scales",
      "topics": [
        "scale_ggsurvfit"
      ]
    },
    {
      "page": "stepribbon",
      "title": "Step ribbon statistic",
      "topics": [
        "StatStepribbon",
        "stat_stepribbon",
        "stepribbon"
      ]
    },
    {
      "page": "Surv_CNSR",
      "title": "Create a Survival Outcome from CDISC Data",
      "topics": [
        "Surv_CNSR"
      ]
    },
    {
      "page": "survfit2",
      "title": "Create survival curves",
      "topics": [
        "survfit2"
      ]
    },
    {
      "page": "survfit2_p",
      "title": "Calculate p-value",
      "topics": [
        "survfit2_p"
      ]
    },
    {
      "page": "theme_ggsurvfit",
      "title": "Survfit Plot Themes",
      "topics": [
        "theme_ggsurvfit",
        "theme_ggsurvfit_default",
        "theme_ggsurvfit_KMunicate"
      ]
    },
    {
      "page": "theme_risktable",
      "title": "Risk Table Themes",
      "topics": [
        "theme_risktable",
        "theme_risktable_boxed",
        "theme_risktable_default"
      ]
    },
    {
      "page": "tidy_cuminc",
      "title": "Tidy a cuminc object",
      "topics": [
        "tidy_cuminc"
      ]
    },
    {
      "page": "tidy_survfit",
      "title": "Tidy a survfit object",
      "topics": [
        "tidy_survfit"
      ]
    }
  ],
  "_pkglogo": "https://github.com/pharmaverse/ggsurvfit/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/pharmaverse/ggsurvfit/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "patchwork",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "themes.Rmd",
      "filename": "themes.html",
      "title": "Themes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Plot Themes",
        "Risk Table Themes"
      ],
      "created": "2022-08-11 02:15:25",
      "modified": "2022-10-04 01:15:19",
      "commits": 4
    }
  ],
  "_score": 12.068291978770795,
  "_indexed": false,
  "_nocasepkg": "ggsurvfit",
  "_universes": [
    "ddsjoberg"
  ],
  "_indexurl": "https://pharmaverse.r-universe.dev/ggsurvfit",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:38:05.000Z",
      "distro": "noble",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "f28a77cd77b82dc84d4decebf615a6e5190a8b2752c13805bbc1079530f649bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/25487752434"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:37:49.000Z",
      "distro": "noble",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "2b82810020fd6854a2dd13e64d3f6149de740c1068e54f4c19ccfda560152111",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/25487752434"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:38:38.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "fb553f04ca739afdd0bd54380782e3e83724b739a47de41e15f29bd3ac03bc2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/25487752434"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:37:47.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "b3ddc26e0ddf9a50487a92bf2c840799af84515b805ef72e41fbceeab55ae32b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/25487752434"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:37:05.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "352d757588003b73a7ab7469ba275337cb578492a88c5f120a5a0a80ec3364c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/25487752434"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:36:54.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "2eaa3ca71fb898f522d68eb372472dc2a8361a1bda6600f7e28f14fc6e44b728",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/25487752434"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:36:42.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "b3ca842ade794aaf1ba1d14ff63cd96d3c7988e23177f283a61ea704c893d713",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/25487752434"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0.9001",
      "date": "2026-05-22T14:41:13.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "faba079f15221ba6209ac907a179fd85b50889641df7b1d156567bc077c59def",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/25487752434"
    }
  ]
}