{
  "_id": "6ab242483d719c1f8408aefa",
  "Package": "ggsurvfit",
  "Title": "Flexible Time-to-Event Figures",
  "Version": "1.2.1.9000",
  "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)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ddsjoberg.r-universe.dev",
  "Date/Publication": "2026-07-24 19:55:13 UTC",
  "RemoteUrl": "https://github.com/pharmaverse/ggsurvfit",
  "RemoteRef": "HEAD",
  "RemoteSha": "a28afe991306baab3920b5ec70355c78c0624a3b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-22 08:48:00 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>",
  "_user": "ddsjoberg",
  "_type": "src",
  "_file": "ggsurvfit_1.2.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/62871fb4198f4b17d856ac03e0895444e463ccc1bc43c30979ad39c04df70e9e",
  "_filesize": 1192236,
  "_sha256": "62871fb4198f4b17d856ac03e0895444e463ccc1bc43c30979ad39c04df70e9e",
  "_expires": "2026-12-31T08:54:30.000Z",
  "_created": "2026-09-22T08:48:00.000Z",
  "_published": "2026-09-22T08:54:32.159Z",
  "_jobs": [
    {
      "job": 106677630706,
      "time": 333,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10685235654"
    },
    {
      "job": 106677630546,
      "time": 274,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10684344653"
    },
    {
      "job": 106677630550,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10684688615"
    },
    {
      "job": 106677630738,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10684673637"
    },
    {
      "job": 106676462151,
      "time": 225,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10684558380"
    },
    {
      "job": 106677630657,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10684875799"
    },
    {
      "job": 106677630591,
      "time": 258,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10684209738"
    },
    {
      "job": 106677630690,
      "time": 258,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10684294628"
    },
    {
      "job": 106677630619,
      "time": 259,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10684871199"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/35706416805",
  "_status": "success",
  "_upstream": "https://github.com/pharmaverse/ggsurvfit",
  "_commit": {
    "id": "a28afe991306baab3920b5ec70355c78c0624a3b",
    "author": "Daniel Sjoberg <danield.sjoberg@gmail.com>",
    "committer": "Daniel Sjoberg <danield.sjoberg@gmail.com>",
    "message": "Increment version number to 1.2.1.9000\n",
    "time": 1784922913
  },
  "_maintainer": {
    "name": "Daniel D. Sjoberg",
    "email": "danield.sjoberg@gmail.com",
    "login": "ddsjoberg",
    "bluesky": "@ddsjoberg.bsky.social",
    "description": "Senior Principal Data Scientist @Genentech; previously @sloan_kettering; \nGolden Girls Superfan",
    "uuid": 26774684,
    "orcid": "0000-0003-0862-2018"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "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": 8,
  "_updates": [
    {
      "week": "2025-40",
      "n": 5
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v1.2.1",
      "date": "2026-07-24"
    }
  ],
  "_stars": 105,
  "_contributors": [
    {
      "user": "ddsjoberg",
      "count": 302,
      "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",
    "followers": 432,
    "description": "Senior Principal Data Scientist @Genentech; previously @sloan_kettering; \r\nGolden Girls Superfan"
  },
  "_downloads": {
    "count": 7901,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggsurvfit"
  },
  "_devurl": "https://github.com/pharmaverse/ggsurvfit",
  "_pkgdown": "https://www.danieldsjoberg.com/ggsurvfit/",
  "_searchresults": 1460,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggsurvfit.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "1.2.1",
      "date": "2026-07-24"
    }
  ],
  "_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.805858139184608,
  "_indexed": false,
  "_nocasepkg": "ggsurvfit",
  "_universes": [
    "ddsjoberg"
  ],
  "_indexurl": "https://pharmaverse.r-universe.dev/ggsurvfit",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-09-22T08:50:42.000Z",
      "distro": "resolute",
      "commit": "a28afe991306baab3920b5ec70355c78c0624a3b",
      "fileid": "https://r2.ropensci.org/67ea2b8955d27c17aba986bbd2a2efc9fcb9c2e843f5beb0a306025500151ce9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/35706416805"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-09-22T08:50:40.000Z",
      "distro": "resolute",
      "commit": "a28afe991306baab3920b5ec70355c78c0624a3b",
      "fileid": "https://r2.ropensci.org/7108f92fd66c6252d192040f1a2884ecc9c686a2e16bcda4f54c9bfe0f6df189",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/35706416805"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-09-22T08:49:40.000Z",
      "commit": "a28afe991306baab3920b5ec70355c78c0624a3b",
      "fileid": "https://r2.ropensci.org/b02a6a94538e26abc084f400085811af14c52d347f1717dbbe010fc08e0d0501",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/35706416805"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-09-22T08:49:42.000Z",
      "commit": "a28afe991306baab3920b5ec70355c78c0624a3b",
      "fileid": "https://r2.ropensci.org/745d37603c063af62d85257bbb27fcfe09ec2f7e7933b0b83835e44bf5dd673f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/35706416805"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1.9000",
      "date": "2026-09-22T08:50:47.000Z",
      "commit": "a28afe991306baab3920b5ec70355c78c0624a3b",
      "fileid": "https://r2.ropensci.org/772d9857dc37f95ae332612f94692d8d725e7b289ec1941873ee9338670fe9be",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/35706416805"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-09-22T08:49:18.000Z",
      "commit": "a28afe991306baab3920b5ec70355c78c0624a3b",
      "fileid": "https://r2.ropensci.org/93fce46ea951f14f541a3e1a800116b1173988e80e88e5702894decb7d17f0a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/35706416805"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-09-22T08:49:23.000Z",
      "commit": "a28afe991306baab3920b5ec70355c78c0624a3b",
      "fileid": "https://r2.ropensci.org/1d4305f98ce0b885e59d49d764d67e47f6603c3471a3af3074f6f26941fa7963",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/35706416805"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-09-22T08:49:24.000Z",
      "commit": "a28afe991306baab3920b5ec70355c78c0624a3b",
      "fileid": "https://r2.ropensci.org/2ae0dd72c68b9910aa5503a8beaf3902b1306db8cd38e178590a8163e0ec961e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/35706416805"
    }
  ]
}