Skip to contents

Check 🛠 Docs 📚 Code Coverage 📔

GitHub forksGitHub repo stars

GitHub commit activityGitHub contributorsGitHub last commitGitHub pull requestsGitHub repo sizeGitHub language countProject Status: Active – The project has reached a stable, usable state and is being actively developed. Current Version Open Issues

teal is a shiny-based interactive exploration framework for analyzing data. teal applications require app developers to specify:

  • Data, which can be:
    • CDISC data, commonly used for clinical trial reporting
    • Independent datasets, for example from a data.frame
    • Related datasets, for example a set of data.frames with key columns to enable data joins
    • MultiAssayExperiment objects which are R data structures for representing and analyzing multi-omics experiments
  • teal modules:
    • teal modules are shiny modules built within the teal framework that specify analysis to be performed. For example, it can be a module for exploring outliers in the data, or a module for visualizing the data in line plots. Although these can be created from scratch, lost of teal modules have been released and we recommend starting with modules found in the following packages:

A lot of the functionality of the teal framework derives from the following packages:

  • creating and loading the data needed for teal applications.
  • teal.widgets: shiny components used within teal.
  • teal.slice: provides a filtering panel to allow filtering of data.
  • teal.code: handles reproducibility of outputs.
  • teal.transform: standardizes extracting and merging data.
  • teal.logger: standardizes logging within teal framework.
  • teal.reporter: allows teal applications to generate reports.


install.packages("teal", repos = c("", getOption("repos")))

# install.packages("pak")

Alternatively, you might also use the development version.

install.packages("teal", repos = c("", getOption("repos")))

# install.packages("pak")



app <- init(
  data = teal_data(
    dataset("iris", iris)
  modules = list(
      "iris histogram",
      server = function(input, output, session, data) {
        output$hist <- renderPlot(
      ui = function(id, data, ...) {
        ns <- NS(id)
            "Column name",

shinyApp(app$ui, app$server)
App recording
App recording

Please see teal gallery and TLG Catalog to see examples of teal apps.

Please start with the “Getting Started” article and then other package vignettes for more detailed guide.

Getting help

If you encounter a bug or you have a feature request - please file an issue. For questions, discussions and staying up to date, please use the “teal” channel in the pharmaverse slack workspace.


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

Stargazers and Forkers

Stargazers over time

Stargazers over time


Stargazers repo roster for @insightsengineering/teal


Forkers repo roster for @insightsengineering/teal