{"id":44259171,"url":"https://github.com/dark-peak-analytics/sicksickerpack","last_synced_at":"2026-02-10T16:42:13.125Z","repository":{"id":170663865,"uuid":"626341229","full_name":"dark-peak-analytics/sicksickerPack","owner":"dark-peak-analytics","description":"R package version of the Sick Sicker model originally developed by the DARTH group","archived":false,"fork":false,"pushed_at":"2024-03-18T09:33:52.000Z","size":424,"stargazers_count":7,"open_issues_count":0,"forks_count":7,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-11T10:04:55.510Z","etag":null,"topics":["hta","rprogramming"],"latest_commit_sha":null,"homepage":"https://darkpeakanalytics.com/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dark-peak-analytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-11T09:17:14.000Z","updated_at":"2024-01-30T12:26:22.000Z","dependencies_parsed_at":"2024-02-04T22:23:23.696Z","dependency_job_id":"5cea8f1b-7902-4c28-8bea-13efa197b286","html_url":"https://github.com/dark-peak-analytics/sicksickerPack","commit_stats":null,"previous_names":["dark-peak-analytics/sicksickerpack"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dark-peak-analytics/sicksickerPack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark-peak-analytics%2FsicksickerPack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark-peak-analytics%2FsicksickerPack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark-peak-analytics%2FsicksickerPack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark-peak-analytics%2FsicksickerPack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dark-peak-analytics","download_url":"https://codeload.github.com/dark-peak-analytics/sicksickerPack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark-peak-analytics%2FsicksickerPack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29307928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T16:09:25.305Z","status":"ssl_error","status_checked_at":"2026-02-10T16:08:52.170Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hta","rprogramming"],"created_at":"2026-02-10T16:42:12.379Z","updated_at":"2026-02-10T16:42:13.117Z","avatar_url":"https://github.com/dark-peak-analytics.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sicksickerPack\n\nThis repository houses the case study R package `sicksickerPack` described in a working paper:\n\n\u003e Smith R, Mohammed W and Schneider P. Packaging cost-effectiveness models in R: A tutorial. version 1; peer review: awaiting peer review. Wellcome Open Res 2023, 8:419 [https://doi.org/10.12688/wellcomeopenres.19656.1](https://doi.org/10.12688/wellcomeopenres.19656.1)\n\n# **Packaging cost-effectiveness models in R: A tutorial**\n\n[Robert Smith](https://www.linkedin.com/in/robert-smith-53b28438)\u003csup\u003e1,2\u003c/sup\u003e, Wael Mohammed\u003csup\u003e1,2\u003c/sup\u003e \u0026 Paul Schneider\u003csup\u003e1,2\u003c/sup\u003e\n\n\u003csup\u003e1\u003c/sup\u003e [University of Sheffield](https://www.sheffield.ac.uk/scharr), University of Sheffield, Sheffield, UK   \n\u003csup\u003e2\u003c/sup\u003e [Dark Peak Analytics](https://darkpeakanalytics.com/), Sheffield, UK\n\n\u003e#### **Background**\n\u003e\n\u003eThe use of programming languages such as R in health economics and decision science is increasing, and brings numerous benefits including increas- ing model development efficiency, improving transparency, and reducing human error. However, there is limited guidance on how to best develop models using R. So far, no clear consensus has emerged.\n\u003e\n\u003e#### **Methods**\n\u003e\n\u003eWe present the advantages of creating health economic models as R packages - structured collections of functions, data sets, tests, and documentation. Assuming an intermediate understanding of R, we provide a tutorial to demonstrate how to construct a basic R package for health economic evaluation. All source code used in or referenced by this paper is available under an open source licence.\n\u003e\n\u003e#### **Results**\n\u003e\n\u003eWe use the Sick Sicker Model as a case study applying the steps from the tutorial to standardise model development, documentation and aid review. This can improve the distribution of code, thereby streamlining model development, and improve methods in health economic evaluation.\n\u003e\n\u003e#### **Conclusions**\n\u003e\n\u003eR Packages offer a valuable framework for enhancing the quality and transparency of health economic evaluation models. Embracing better, more standardised software development practices, while fostering a collaborative culture, has the potential to significantly improve the quality of health economic models, and, ultimately, support better decision making in healthcare.\n\n## Installation\n\nTo test the functionality of this package, install the development version of the package using the devtools package. The package has a vignette source file built into an HTML document during installation. However, as highlighted below, users can install the package without building the included vignette.\n\n#### Installation - *_without_* vignette:\n``` r\ndevtools::install_github(\"dark-peak-analytics/sicksickerPack\")\n```\n#### Installation - *_building_* vignette:\n``` r\ndevtools::install_github( \n  repo = \"dark-peak-analytics/sicksickerPack\",\n  dependencies = TRUE, \n  build_vignettes = TRUE\n)\n```\n\n## Quick start\n\n### Load the package.\n\n``` r\nlibrary(sicksickerPack)\n```\n\n### Deterministic Model \n\nRun the deterministic sick-sicker model with the dummy parameters.\n\n``` r\nrun_sickSicker_model(\n  params_ = dummy_sickSickerModel_params\n)\n```\n\n### Probabilistic Model \n\nRun the probabilistic sick-sicker model with the dummy PSA parameters.\n\n``` r\nrun_psa(\n  model_func_ = sicksickerPack::run_sickSicker_model,\n  model_func_args_ = list(\n    age_init_ = 25,\n    age_max_  = 55,\n    discount_rate_ = 0.035\n  ),\n  psa_params_names_ = dummy_sickSickerModel_psa_params$\n    psa_params_names,\n  psa_params_dists_ = dummy_sickSickerModel_psa_params$\n    psa_params_dists,\n  psa_params_dists_args_ = dummy_sickSickerModel_psa_params$\n    psa_params_dists_args,\n  n_sim_ = 100\n)\n```\n## Project folder structure\n\nThe project follows a typical R package structure as below\n\n```\n.\n├── .gitignore            # Names of files to be ignored by Git\n├── .Rbuildignore         # Names of files to be ignored by R-CMD\n├── data/                 # Package data files\n├── data-raw/             # Package data-construction files\n├── DESCRIPTION           # Package description file\n├── inst/                 # Package post-installation deployed files\n├── LICENSE               # License file\n├── LICENSE.md            # License description file\n├── man/                  # Functions' documentation\n├── NAMESPACE            \n├── R/                    # Functions' definitions\n├── README.md  \n├── sicksickerPack.Rproj \n├── tests/                # Functions' tests  \n└── vignettes/            # Vignettes' source files\n```\n\n## Funding\n\nRob, Wael \u0026 Paul were joint funded by the Wellcome Trust Doctoral Training Centre in Public Health Economics and Decision Science [108903] and the University of Sheffield. They now all work for [Dark Peak Analytics](https://www.darkpeakanalytics.com). Please contact \u003crasmith3@sheffield.ac.uk\u003e with any queries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdark-peak-analytics%2Fsicksickerpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdark-peak-analytics%2Fsicksickerpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdark-peak-analytics%2Fsicksickerpack/lists"}