{
  "_id": "6a101da6acfb0bcc41c8a5f0",
  "Type": "Package",
  "Package": "easysurv",
  "Title": "Simplify Survival Data Analysis and Model Fitting",
  "Version": "2.0.2",
  "Authors@R": "c(\nperson(\"Niall\", \"Davison\", , \"niall.davison@maplehealthgroup.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9447-0825\")),\nperson(\"Brad\", \"Kievit\", , \"brad.kievit@maplehealthgroup.com\", role = \"aut\"),\nperson(\"Maple Health Group, LLC\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Inspect survival data, plot Kaplan-Meier curves, assess\nthe proportional hazards assumption, fit parametric survival\nmodels, predict and plot survival and hazards, and export the\noutputs to 'Excel'.  A simple interface for fitting survival\nmodels using flexsurv::flexsurvreg(),\nflexsurv::flexsurvspline(), flexsurvcure::flexsurvcure(), and\nsurvival::survreg().",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/Maple-Health-Group/easysurv,\nhttps://maple-health-group.github.io/easysurv/",
  "BugReports": "https://github.com/Maple-Health-Group/easysurv/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "r-lib/asciicast",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "cmake git make libgit2-dev libicu-dev libuv1-dev\nlibssl-dev libx11-dev",
  "Repository": "https://maple-health-group.r-universe.dev",
  "Date/Publication": "2025-10-16 14:27:59 UTC",
  "RemoteUrl": "https://github.com/maple-health-group/easysurv",
  "RemoteRef": "HEAD",
  "RemoteSha": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 07:51:11 UTC",
    "User": "root"
  },
  "Author": "Niall Davison [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9447-0825>),\nBrad Kievit [aut],\nMaple Health Group, LLC [cph, fnd]",
  "Maintainer": "Niall Davison <niall.davison@maplehealthgroup.com>",
  "MD5sum": "5becab522982d6ade4f66eb97dcc09e9",
  "_user": "maple-health-group",
  "_type": "src",
  "_file": "easysurv_2.0.2.tar.gz",
  "_fileid": "28d315fa788697c4d5171f1558ac3612ddba48f0775c61bfd6fe9f9cd7acab29",
  "_filesize": 1834460,
  "_sha256": "28d315fa788697c4d5171f1558ac3612ddba48f0775c61bfd6fe9f9cd7acab29",
  "_created": "2026-05-14T07:51:11.000Z",
  "_published": "2026-05-22T09:11:02.913Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77349984167,
      "time": 245,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6989809997"
    },
    {
      "job": 77349984101,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989799022"
    },
    {
      "job": 77349984090,
      "time": 300,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6989811147"
    },
    {
      "job": 77349984085,
      "time": 245,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989801856"
    },
    {
      "job": 77349983744,
      "time": 233,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989746069"
    },
    {
      "job": 77349983421,
      "time": 156,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156935068"
    },
    {
      "job": 77349983969,
      "time": 231,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6989805922"
    },
    {
      "job": 77349984182,
      "time": 183,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6989792591"
    },
    {
      "job": 77349984466,
      "time": 196,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989796290"
    }
  ],
  "_buildurl": "https://github.com/r-universe/maple-health-group/actions/runs/25848473851",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/maple-health-group/easysurv",
  "_commit": {
    "id": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
    "author": "BKievit1 <116747843+BKievit1@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #26 from Maple-Health-Group/release-v2.0.2\n\nRelease v2.0.2",
    "time": 1760624879
  },
  "_maintainer": {
    "name": "Niall Davison",
    "email": "niall.davison@maplehealthgroup.com",
    "login": "nialldavison",
    "uuid": 119408531,
    "orcid": "0000-0002-9447-0825"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "bshazard",
      "role": "Imports"
    },
    {
      "package": "censored",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "flexsurv",
      "role": "Imports"
    },
    {
      "package": "flexsurvcure",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggsurvfit",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "openxlsx",
      "role": "Imports"
    },
    {
      "package": "parsnip",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "usethis",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "maple-health-group",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v2.0.2",
      "date": "2025-10-08"
    }
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "nialldavison",
      "count": 162,
      "uuid": 119408531
    },
    {
      "user": "bkievit1",
      "count": 43,
      "uuid": 116747843
    },
    {
      "user": "maplecharlie",
      "count": 1,
      "uuid": 146198084
    }
  ],
  "_userbio": {
    "uuid": 146210493,
    "type": "organization",
    "name": "Maple Health Group LLC",
    "description": "Maple Health Group is a leading global strategy consulting firm servicing a variety of pharmaceutical, biotech, and medical device companies."
  },
  "_downloads": {
    "count": 230,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/easysurv"
  },
  "_devurl": "https://github.com/maple-health-group/easysurv",
  "_pkgdown": "https://maple-health-group.github.io/easysurv/",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/easysurv.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/maple-health-group/easysurv",
  "_realowner": "maple-health-group",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.0.1",
      "date": "2024-06-21"
    },
    {
      "version": "2.0.2",
      "date": "2025-10-08"
    }
  ],
  "_exports": [
    "fit_models",
    "get_km",
    "get_schoenfeld",
    "inspect_surv_data",
    "plot_cloglog",
    "plot_km",
    "plot_schoenfeld",
    "predict_and_plot",
    "quick_start",
    "quick_start2",
    "quick_start3",
    "test_ph",
    "theme_easysurv",
    "theme_risktable_easysurv",
    "write_to_xl"
  ],
  "_datasets": [
    {
      "name": "easy_adtte",
      "title": "Formatted Copy of ggsurvfit::adtte",
      "object": "easy_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": "easy_bc",
      "title": "Formatted Copy of flexsurv::bc",
      "object": "easy_bc",
      "class": [
        "data.frame"
      ],
      "fields": [
        "censrec",
        "rectime",
        "group",
        "recyrs"
      ],
      "rows": 686,
      "table": true,
      "tojson": true
    },
    {
      "name": "easy_lung",
      "title": "Formatted Copy of survival::lung",
      "object": "easy_lung",
      "class": [
        "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": "easy_adtte",
      "title": "Formatted Copy of ggsurvfit::adtte",
      "topics": [
        "easy_adtte"
      ]
    },
    {
      "page": "easy_bc",
      "title": "Formatted Copy of flexsurv::bc",
      "topics": [
        "easy_bc"
      ]
    },
    {
      "page": "easy_lung",
      "title": "Formatted Copy of survival::lung",
      "topics": [
        "easy_lung"
      ]
    },
    {
      "page": "fit_models",
      "title": "Fit Survival Models",
      "topics": [
        "fit_models"
      ]
    },
    {
      "page": "get_KM",
      "title": "Generate Kaplan-Meier estimates",
      "topics": [
        "get_km"
      ]
    },
    {
      "page": "get_schoenfeld",
      "title": "Extract Schoenfeld Residuals",
      "topics": [
        "get_schoenfeld"
      ]
    },
    {
      "page": "inspect_surv_data",
      "title": "Inspect Survival Data",
      "topics": [
        "inspect_surv_data"
      ]
    },
    {
      "page": "plot_cloglog",
      "title": "Cumulative Log Log Plot",
      "topics": [
        "plot_cloglog"
      ]
    },
    {
      "page": "plot_KM",
      "title": "Plot Kaplan-Meier Data",
      "topics": [
        "plot_km"
      ]
    },
    {
      "page": "plot_schoenfeld",
      "title": "Plot Schoenfeld Residuals",
      "topics": [
        "plot_schoenfeld"
      ]
    },
    {
      "page": "plot.fit_models",
      "title": "Plot method for 'fit_models'",
      "topics": [
        "plot.fit_models"
      ]
    },
    {
      "page": "predict_and_plot",
      "title": "Predict and Plot Fitted Models",
      "topics": [
        "predict_and_plot"
      ]
    },
    {
      "page": "predict.fit_models",
      "title": "Predict method for 'fit_models'",
      "topics": [
        "predict.fit_models"
      ]
    },
    {
      "page": "print.fit_models",
      "title": "Print methods for 'fit_models()'",
      "topics": [
        "print.fit_models"
      ]
    },
    {
      "page": "print.get_km",
      "title": "Print methods for 'get_km()'",
      "topics": [
        "print.get_km"
      ]
    },
    {
      "page": "print.inspect_surv_data",
      "title": "Print methods for 'inspect_surv_data()'",
      "topics": [
        "print.inspect_surv_data"
      ]
    },
    {
      "page": "print.predict_and_plot",
      "title": "Print methods for 'predict_and_plot()'",
      "topics": [
        "print.predict_and_plot"
      ]
    },
    {
      "page": "print.test_ph",
      "title": "Print methods for 'test_ph()'",
      "topics": [
        "print.test_ph"
      ]
    },
    {
      "page": "quick_start",
      "title": "Launch Example Survival Analysis Script using the easy_lung Data Set",
      "topics": [
        "quick_start"
      ]
    },
    {
      "page": "quick_start2",
      "title": "Launch Example Survival Analysis Script using the easy_bc Data Set",
      "topics": [
        "quick_start2"
      ]
    },
    {
      "page": "quick_start3",
      "title": "Launch Example Survival Analysis Script using the easy_adtte Data Set",
      "topics": [
        "quick_start3"
      ]
    },
    {
      "page": "test_PH",
      "title": "Test Proportional Hazards Assumption",
      "topics": [
        "test_ph"
      ]
    },
    {
      "page": "theme_easysurv",
      "title": "Plot Theme for easysurv Survival and Hazard Plots",
      "topics": [
        "theme_easysurv"
      ]
    },
    {
      "page": "theme_risktable_easysurv",
      "title": "Plot Theme for easysurv Risk Tables",
      "topics": [
        "theme_risktable_easysurv"
      ]
    },
    {
      "page": "write_to_xl",
      "title": "Export easysurv output to Excel via 'openxlsx'",
      "topics": [
        "write_to_xl"
      ]
    }
  ],
  "_pkglogo": "https://github.com/maple-health-group/easysurv/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/maple-health-group/easysurv/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "assertthat",
    "backports",
    "base64enc",
    "bbmle",
    "bdsmatrix",
    "boot",
    "broom",
    "bshazard",
    "bslib",
    "cachem",
    "censored",
    "cli",
    "clipr",
    "cmprsk",
    "codetools",
    "cpp11",
    "crayon",
    "credentials",
    "crosstalk",
    "curl",
    "data.table",
    "desc",
    "deSolve",
    "diagram",
    "dials",
    "DiceDesign",
    "digest",
    "dplyr",
    "Epi",
    "etm",
    "evaluate",
    "farver",
    "fastGHQuad",
    "fastmap",
    "flexsurv",
    "flexsurvcure",
    "fontawesome",
    "Formula",
    "fs",
    "future",
    "future.apply",
    "generics",
    "gert",
    "ggplot2",
    "ggsurvfit",
    "gh",
    "gitcreds",
    "globals",
    "glue",
    "gtable",
    "hardhat",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "httr2",
    "ini",
    "inum",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lava",
    "lazyeval",
    "libcoin",
    "lifecycle",
    "listenv",
    "lsoda",
    "magrittr",
    "MASS",
    "Matrix",
    "mboost",
    "memoise",
    "mgcv",
    "mime",
    "mstate",
    "muhaz",
    "mvtnorm",
    "nlme",
    "nnls",
    "numDeriv",
    "openssl",
    "openxlsx",
    "otel",
    "parallelly",
    "parsnip",
    "partykit",
    "patchwork",
    "pillar",
    "pkgconfig",
    "plotly",
    "plyr",
    "prettyunits",
    "prodlim",
    "progressr",
    "promises",
    "purrr",
    "quadprog",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rmarkdown",
    "rpart",
    "rprojroot",
    "rstpm2",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "sfd",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stabs",
    "statmod",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "usethis",
    "utf8",
    "vctrs",
    "viridisLite",
    "whisker",
    "withr",
    "xfun",
    "yaml",
    "zip",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "easysurv.Rmd",
      "filename": "easysurv.html",
      "title": "Explore easysurv",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Loading the package",
        "Preparing your data",
        "Data import",
        "Data structure",
        "Data labelling",
        "Exploratory data analysis",
        "Kaplan-Meier survival curves",
        "Testing proportional hazards",
        "Fitting survival models",
        "Aside: handling failure",
        "Fitting models separately",
        "Fitting models jointly",
        "Fitting spline models",
        "Fitting cure models",
        "Making predictions and plots",
        "Exporting your results",
        "Conclusion"
      ],
      "created": "2024-06-19 14:00:32",
      "modified": "2024-06-20 18:59:01",
      "commits": 2
    }
  ],
  "_score": 4.698970004336019,
  "_indexed": true,
  "_nocasepkg": "easysurv",
  "_universes": [
    "maple-health-group",
    "nialldavison"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-05-14T07:54:05.000Z",
      "distro": "noble",
      "commit": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
      "fileid": "8d34ccef417b3cbe1c391f38edb74281e2a1471af032ed9b25ea9d61cf77587e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maple-health-group/actions/runs/25848473851"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.2",
      "date": "2026-05-14T07:53:44.000Z",
      "distro": "noble",
      "commit": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
      "fileid": "690a69973b38cf5767752c3b53ea078826192d9c2f8bb1bb270e6bdc5b287546",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maple-health-group/actions/runs/25848473851"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-05-14T07:54:20.000Z",
      "commit": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
      "fileid": "1952bcfe2d37e3bad458787a0527ba234037f19b0373727a5c47a941bdce4977",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maple-health-group/actions/runs/25848473851"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.2",
      "date": "2026-05-14T07:53:41.000Z",
      "commit": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
      "fileid": "22322f3fc827690585acf12654739c2b29b31038c9b351a65a53701d6cff2dda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maple-health-group/actions/runs/25848473851"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.2",
      "date": "2026-05-14T07:53:40.000Z",
      "commit": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
      "fileid": "4d2258a6e8fb216a50f4ddb1bba23d01e2aa7e3d8bd8a6ed8145186ecec13ceb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maple-health-group/actions/runs/25848473851"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.2",
      "date": "2026-05-14T07:52:44.000Z",
      "commit": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
      "fileid": "c4e59b7802bde9cd64c051fa5f29f4e1cb4a72fb3ffa553a303d742ca31738af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maple-health-group/actions/runs/25848473851"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.2",
      "date": "2026-05-14T07:52:51.000Z",
      "commit": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
      "fileid": "38fd3b8955bbad46805ca42556ca038f717586686f3fd77c25923d32784ccc6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maple-health-group/actions/runs/25848473851"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.2",
      "date": "2026-05-22T09:10:39.000Z",
      "commit": "ea4673b7ebc8b092d691ef8155e63de499a1e5ff",
      "fileid": "3b55cf08d28647ae08be3fbce5e0a133a23a2e4b4352f8464e928ad720697693",
      "status": "success",
      "buildurl": "https://github.com/r-universe/maple-health-group/actions/runs/25848473851"
    }
  ]
}