{"id":18733520,"url":"https://github.com/insightsengineering/crane","last_synced_at":"2025-07-19T10:02:30.487Z","repository":{"id":257881938,"uuid":"856637830","full_name":"insightsengineering/crane","owner":"insightsengineering","description":"Supplement to functions found in the {gtsummary} R package","archived":false,"fork":false,"pushed_at":"2025-07-18T01:10:20.000Z","size":6832,"stargazers_count":4,"open_issues_count":20,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-18T05:01:35.908Z","etag":null,"topics":["gt","r","reproducible-research","summary-statistics"],"latest_commit_sha":null,"homepage":"https://insightsengineering.github.io/crane/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/insightsengineering.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"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},"funding":{"custom":["https://pharmaverse.org"]}},"created_at":"2024-09-12T23:43:44.000Z","updated_at":"2025-07-15T21:51:42.000Z","dependencies_parsed_at":"2025-01-08T00:24:32.639Z","dependency_job_id":"f758b520-98da-4399-8a1c-aaba03733ab1","html_url":"https://github.com/insightsengineering/crane","commit_stats":null,"previous_names":["insightsengineering/crane"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/insightsengineering/crane","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fcrane","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fcrane/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fcrane/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fcrane/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insightsengineering","download_url":"https://codeload.github.com/insightsengineering/crane/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fcrane/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265716306,"owners_count":23816354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["gt","r","reproducible-research","summary-statistics"],"created_at":"2024-11-07T15:10:06.618Z","updated_at":"2025-07-19T10:02:30.480Z","avatar_url":"https://github.com/insightsengineering.png","language":"R","funding_links":["https://pharmaverse.org"],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# crane\n\n\u003c!-- badges: start --\u003e\n[![Codecov test coverage](https://codecov.io/gh/insightsengineering/crane/graph/badge.svg)](https://app.codecov.io/gh/insightsengineering/crane)\n\u003c!-- badges: end --\u003e\n\nThe {crane} package provides supplementary functions to the {gtsummary} specifically for trial reporting in the pharmaceutical industry.\n\n## Installation\n\nYou can install {crane} with the following code.  \n\n``` r\ninstall.packages(\"crane\")\n```\n\nInstall the development version with `pak::pak(\"insightsengineering/crane\")`\n\n## Example\n\nThis is a basic example which shows you how to solve a common problem:\n\n```{r example}\nlibrary(crane)\ntheme_gtsummary_roche()\n\ntbl \u003c- trial |\u003e\n  tbl_roche_summary(by = trt, include = c(age, grade), nonmissing = \"always\") |\u003e\n  add_blank_row()\n```\n\n```{r tbl_print_simple, include = FALSE}\n# Had to manually save images in temp file, not sure if better way.\ngt::gtsave(as_gt(tbl), file = \"man/figures/README-tbl_print_simple-1.png\")\n```\n\n```{r out.width = \"40%\", echo = FALSE}\nknitr::include_graphics(\"man/figures/README-tbl_print_simple-1.png\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsightsengineering%2Fcrane","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsightsengineering%2Fcrane","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsightsengineering%2Fcrane/lists"}