{
  "_id": "6a106b0eacfb0bcc41caa327",
  "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://pharmaverse.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:46 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": "bb9458f8c6f4aaadd0f42c0f3caa4ed2",
  "_user": "pharmaverse",
  "_type": "src",
  "_file": "ggsurvfit_1.2.0.9001.tar.gz",
  "_fileid": "e978ebd8e497267d5e251bcae41e61a3ff3e7dae4d3189e1d10e6251305a4dcd",
  "_filesize": 1269445,
  "_sha256": "e978ebd8e497267d5e251bcae41e61a3ff3e7dae4d3189e1d10e6251305a4dcd",
  "_created": "2026-05-07T09:35:46.000Z",
  "_published": "2026-05-22T14:41:18.518Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77402240127,
      "time": 316,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6851816220"
    },
    {
      "job": 77402240110,
      "time": 289,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851806234"
    },
    {
      "job": 77402240487,
      "time": 186,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6851774177"
    },
    {
      "job": 77402240368,
      "time": 242,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851803394"
    },
    {
      "job": 77402239410,
      "time": 227,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851710486"
    },
    {
      "job": 77402239471,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7163231118"
    },
    {
      "job": 77402239990,
      "time": 266,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6851798457"
    },
    {
      "job": 77402240286,
      "time": 255,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6851795217"
    },
    {
      "job": 77402240235,
      "time": 294,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851807930"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/25487767721",
  "_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": 84541169,
    "type": "organization",
    "name": "pharmaverse"
  },
  "_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": true,
  "_nocasepkg": "ggsurvfit",
  "_universes": [
    "pharmaverse",
    "ddsjoberg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:38:25.000Z",
      "distro": "noble",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "9a6a360027cdba354fb101a465eb5ba3983a9b47d02b7e19df009c4595f96bd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/25487767721"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:38:10.000Z",
      "distro": "noble",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "2cad6db416c9b531f7c946336fc2546c30f998b21d8878c12ff33e58dc2c0426",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/25487767721"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:37:32.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "6c0eba888efa68bb2efaac200a33ac99aeaf756fcabb05a0dd8ccd9f9f6fb134",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/25487767721"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:38:18.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "92055003ae7cb8257731f17c425b45b4adfaeb0e847d7183a968a044cfaa1c95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/25487767721"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:37:11.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "0dbeb66813581fafd5b53079b8907d41d8e8ba43091d7f0c3102ae214b430bcd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/25487767721"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:37:06.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "67c28fd8ee3dda382f7262c21515b305055b78a6063181f6ae1537224377577a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/25487767721"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-05-07T09:37:28.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "c97006e9bcdb54222313a70ac6772a56c8273fd8c770eb3c53a834df742f9a11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/25487767721"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0.9001",
      "date": "2026-05-22T14:40:58.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "1059734f4f8e88404f00afa45dd7af58227e6f4260ec1379c02eedd7683eff0b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/25487767721"
    }
  ]
}