{
  "_id": "6a250b414b233be198387eae",
  "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-06-06 06:15:19 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": "4a3e338049eb070753860dcccd893e7a",
  "_user": "pharmaverse",
  "_type": "src",
  "_file": "ggsurvfit_1.2.0.9001.tar.gz",
  "_fileid": "2567748d898e340e3c0dc44d9641c679269b13bd8ff05dd2b15a548150005205",
  "_filesize": 1267228,
  "_sha256": "2567748d898e340e3c0dc44d9641c679269b13bd8ff05dd2b15a548150005205",
  "_created": "2026-06-06T06:15:19.000Z",
  "_published": "2026-06-07T06:10:09.776Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79936127695,
      "time": 764,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7451978275"
    },
    {
      "job": 79936127576,
      "time": 311,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461320801"
    },
    {
      "job": 79936127819,
      "time": 216,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7451913576"
    },
    {
      "job": 79936127720,
      "time": 271,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451918736"
    },
    {
      "job": 79936127650,
      "time": 209,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451883585"
    },
    {
      "job": 79936127637,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451899964"
    },
    {
      "job": 79936127697,
      "time": 279,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7451919915"
    },
    {
      "job": 79936127586,
      "time": 251,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461314453"
    },
    {
      "job": 79936127665,
      "time": 245,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7451915660"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/27054660295",
  "_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": 84541169,
    "type": "organization",
    "name": "pharmaverse"
  },
  "_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": true,
  "_nocasepkg": "ggsurvfit",
  "_universes": [
    "pharmaverse",
    "ddsjoberg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:25:32.000Z",
      "distro": "noble",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "28a8d4bf45c16e937a1a7a92922ffc40e4823eed66af4bb83e650b40a992d669",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/27054660295"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0.9001",
      "date": "2026-06-07T06:06:53.000Z",
      "distro": "noble",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "17f0df91304548577ebdd02f62fc6ebb8dd8aaf8023790a9837c8f745644d1b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/27054660295"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:17:21.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "65c7dd87f7e2b01ad93a432de28a88c8d6de67e43ad0d65d8128568e4cdf5764",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/27054660295"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:17:19.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "95b3ed4d9cec5847e56df5684ca0c4beeb8e6f529c85fcfd366226720ed5a287",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/27054660295"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:17:42.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "0a7b6da7d39fadd25fc66b1b58d1d36901afe2a3ec51bc5bddab36e8d236dfac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/27054660295"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:16:59.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "aed2cfcf278d465828bdf789a32b26818f505f7a9f63ec9ca203d708497a8ba1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/27054660295"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-06-07T06:05:34.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "7d02d0865b44a8bddfb766324939c1027ed8d1cb4beb30d05c7d902a15dc6a3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/27054660295"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0.9001",
      "date": "2026-06-06T06:16:38.000Z",
      "commit": "0b986407f94761a5f083eb795aec373b64ca7e33",
      "fileid": "ee4279ce1e5682090a248ab31231458468463c6907b744a9782afc49ea88cabf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/27054660295"
    }
  ]
}