teal.slice is an R library used in the development of teal shiny modules. It provides:
- a class accepting an array of
data.framesas an input, then supporting basicdplyroperations on the data, - a method returning the code needed to slice the data in the desired way,
- a set of
shinymodules helping to acquire the desired slice of data using ashinyGUI.
Installation
# stable versions
install.packages('teal.slice')
# install.packages("pak")
pak::pak("insightsengineering/teal.slice@*release")Alternatively, you might want to use the development version available on r-universe.
# beta versions
install.packages('teal.slice', repos = c('https://pharmaverse.r-universe.dev', getOption('repos')))
# install.packages("pak")
pak::pak("insightsengineering/teal.slice")Usage
To understand how to use this package, please refer to the Introduction to teal.slice article, which provides multiple examples of code implementation.

Showcase
Getting help
If you encounter a bug or have a feature request, please file an issue. For questions, discussions, and updates, use the teal channel in the pharmaverse slack workspace.