Check 🛠 Docs 📚 Code Coverage 📔

GitHub forks GitHub repo stars

GitHub commit activity GitHub contributors GitHub last commit GitHub pull requests GitHub repo size GitHub language count Project Status: Active – The project has reached a stable, usable state and is being actively developed. Current Version Open Issues

The tern R package contains analysis functions to create tables and graphs used for clinical trial reporting.

The package provides a large range of functionality, such as:

Data visualizations:

Statistical model fit summaries:

Analysis tables:

Many of these outputs are available to be added into teal shiny applications for interactive exploration of data. These teal modules are available in the teal.modules.clinical package.

See the TLG Catalog for an extensive catalog of example clinical trial tables, listings, and graphs created using tern functionality.


tern is available on CRAN and you can install the latest released version with:


or you can install the latest development version directly from GitHub by running the following:

if (!require("remotes")) install.packages("remotes")

Note that it is recommended you create and use a GITHUB_PAT if installing from GitHub.

See package vignettes browseVignettes(package = "tern") for usage of this package.


This package is a result of a joint efforts by many developers and stakeholders. We would like to thank everyone who has contributed so far!

Stargazers and Forkers

Stargazers over time

Stargazers over time


Stargazers repo roster for tern

Forkers repo roster for tern