Skip to content

insightsengineering/crane

Repository files navigation

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 the development version of crane from GitHub with:

# install.packages("pak")
pak::pak("insightsengineering/crane")

Example

This is a basic example which shows you how to solve a common problem:

library(crane)
#> ── Attaching packages ──────────────────────────────────────────────────────────
#> ✔ crane     0.0.0.9010     ✔ gtsummary 2.1.0     
#> 
#> ▶ Setting Roche gtsummary theme. See ?theme_gtsummary_roche() (`?crane::theme_gtsummary_roche()`).

tbl <- trial |>
  tbl_demographics(by = trt, include = c(age, grade)) |>
  add_blank_row()

Releases

No releases published

Sponsor this project

Languages