{
  "_id": "6a23bcbf530b9bc726bd9ed9",
  "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-06-06 06:16: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": "7d278ab49f0867cacfdc7edcaef3ccc9",
  "_user": "ddsjoberg",
  "_type": "src",
  "_file": "ggsurvfit_1.2.0.9001.tar.gz",
  "_fileid": "9ecfe2055fb86134ab960075752fae5707bd0851819784bf87d24f8c7c1aa742",
  "_filesize": 1267298,
  "_sha256": "9ecfe2055fb86134ab960075752fae5707bd0851819784bf87d24f8c7c1aa742",
  "_created": "2026-06-06T06:16:46.000Z",
  "_published": "2026-06-06T06:22:55.100Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79856962661,
      "time": 255,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7451928102"
    },
    {
      "job": 79856962681,
      "time": 286,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451932215"
    },
    {
      "job": 79856962663,
      "time": 205,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7451922575"
    },
    {
      "job": 79856962662,
      "time": 219,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451924990"
    },
    {
      "job": 79856750473,
      "time": 200,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451895397"
    },
    {
      "job": 79856962645,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451910628"
    },
    {
      "job": 79856962688,
      "time": 281,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7451931508"
    },
    {
      "job": 79856962685,
      "time": 258,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7451928911"
    },
    {
      "job": 79856962682,
      "time": 325,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451936955"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/27054697307",
  "_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",
    "description": "Senior Principal Data Scientist @Genentech; previously @sloan_kettering; \nGolden Girls Superfan",
    "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": 106,
  "_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": 7835,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggsurvfit"
  },
  "_devurl": "https://github.com/pharmaverse/ggsurvfit",
  "_pkgdown": "https://www.danieldsjoberg.com/ggsurvfit/",
  "_searchresults": 1408,
  "_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": 11.984401469425398,
  "_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-06-06T06:19:05.000Z",
      "distro": "noble",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "b661f93399b03f9dd9cea4200a875b0ebc3c8592419525695bd80d7c2713a06d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/27054697307"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:19:10.000Z",
      "distro": "noble",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "0beca2ca621d5626fb4d096c30d1d92595b08c654d93cecad6fca1efcc966175",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/27054697307"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:18:33.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "2dec93c6199b81c02c254748d9c9d0db11a2d6ea50a6ec632a4c3099187641e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/27054697307"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:18:50.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "bf9c361b3cadeab342c6ceefbfefe1ed6f58a1899ce788249ed69e65118e833c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/27054697307"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:19:02.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "d5c3dfc6d06b9f17725af01234cb01b6929a219ff1ab1438b345a34d974bcf99",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/27054697307"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:18:26.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "5f61fe16c7f956cce4253ce65372518077fdb4512421a988649d73055a4ff96d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/27054697307"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:18:20.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "ec08a507f4b9f03b2a38e529e72470bdf42c1a56edb5ee0921f329f9e2649200",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/27054697307"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:18:10.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "d21730261e7d1be3d739f4d8e85c253ad51de7daa3b627560fde5110b4b26fa4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/27054697307"
    }
  ]
}