The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

crane

Codecov test coverage

The {crane} package provides supplementary functions to the {gtsummary} specifically for trial reporting in the pharmaceutical industry.

Installation

You can install {crane} with the following code.

install.packages("crane")

Install the development version with pak::pak("insightsengineering/crane")

Examples

The package exports a gtsummary theme for reporting at Roche. The theme sets function defaults to meet reporting requirements at Roche, making it simpler programmers to achieve the desired results without setting too many arguments.

The package also exports a wrapper for the gtsummary::tbl_summary() function with defaults more suited to reporting at Roche.

library(crane)
#> Loading required package: gtsummary
theme_gtsummary_roche()
#> Setting theme "Roche"

tbl <- trial |>
  tbl_roche_summary(by = trt, include = c(age, grade), nonmissing = "always")

The package also exports functions for Roche adverse event reporting, functions for shift tables, and others.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.