Package: teal 1.1.0.9033

Dawid Kaledkowski

teal: Exploratory Web Apps for Analyzing Clinical Trials Data

A 'shiny' based interactive exploration framework for analyzing clinical trials data. 'teal' currently provides a dynamic filtering facility and different data viewers. 'teal' 'shiny' applications are built using standard 'shiny' modules.

Authors:Dawid Kaledkowski [aut, cre], Pawel Rucki [aut], Aleksander Chlebowski [aut], Andre Verissimo [aut], Kartikeya Kirar [aut], Vedha Viyash [aut], Marcin Kosinski [aut], Adrian Waddell [aut], Dony Unardi [rev], Nina Qi [rev], Nikolas Burkoff [aut], Mahmoud Hallal [aut], Maciej Nasinski [aut], Konrad Pagacz [aut], Junlue Zhao [aut], Tadeusz Lewandowski [aut], Chendi Liao [rev], F. Hoffmann-La Roche AG [cph, fnd], Maximilian Mordig [ctb]

teal_1.1.0.9033.tar.gz
teal_1.1.0.9033.zip(r-4.7)teal_1.1.0.9033.zip(r-4.6)teal_1.1.0.9033.zip(r-4.5)
teal_1.1.0.9033.tgz(r-4.6-any)teal_1.1.0.9033.tgz(r-4.5-any)
teal_1.1.0.9033.tar.gz(r-4.7-any)teal_1.1.0.9033.tar.gz(r-4.6-any)
teal_1.1.0.9033.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
teal/json (API)

# Install 'teal' in R:
install.packages('teal', repos = c('https://pharmaverse.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/insightsengineering/teal/issues

Pkgdown/docs site:https://insightsengineering.github.io

On CRAN:

Conda:

clinical-trialsnestshinywebapp

13.11 score 260 stars 6 packages 316 scripts 1.2k downloads 39 exports 123 dependencies

Last updated from:cfc08c895c. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK403
source / vignettesOK288
linux-release-x86_64OK358
macos-release-arm64OK310
macos-oldrel-arm64OK293
windows-develOK334
windows-releaseOK279
windows-oldrelOK287
wasm-releaseOK192

Exports:add_landing_modalafteras.teal_slicesassert_decoratorsbuild_app_titlecheck_decoratorsdisable_reportdisable_srcexample_moduleinitmake_teal_transform_servermodify_footermodify_headermodify_titlemodulemodulesneed_inputreport_card_templatereporter_previewer_modulesrv_session_infosrv_tealsrv_transform_teal_datateal_data_moduleteal_slicesteal_transform_moduleTealReportCardui_session_infoui_tealui_transform_teal_datause_validate_input_jsvalidate_has_datavalidate_has_elementsvalidate_has_variablevalidate_invalidate_inputvalidate_inputsvalidate_n_levelsvalidate_no_intersectionvalidate_one_row_per_id

Dependencies:askpassassertthatbackportsbase64encbigDbitopsbsiconsbslibcachemcardscardxcheckmateclicommonmarkcpp11crosstalkcurldata.tabledigestdplyrevaluatefarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverformattersfsgdtoolsgenericsggplot2gluegtgtablegtsummaryhighrhtmltoolshtmlwidgetshttpuvhttrisobandjquerylibjsonlitejuicyjuiceknitrlabelinglaterlazyevallearnrlifecyclelitedownloggermagrittrmarkdownmemoisemimeofficeropensslotelpillarpkgconfigplotlypromisespurrrR.cacheR.methodsS3R.ooR.utilsR6raggrappdirsRColorBrewerRcppreactablereactRrenvrlangrlistingsrmarkdownrprojrootrtablesrtables.officerrvestS7sassscalesselectrshinyshinybusyshinycssloadersshinyjsshinyWidgetssortablesourcetoolsstringistringrstylersyssystemfontsteal.codeteal.datateal.loggerteal.reporterteal.sliceteal.widgetstextshapingtibbletidyrtidyselecttinytexutf8uuidV8vctrsviridisLitewithrxfunxml2xtableyamlzip

Modifying a teal Application With R Options
Motivation | Setting an option | Options used in a teal application | teal.bs_theme (bslib::bs_theme object) | teal.load_nest_code (character) | teal.threshold_slider_vs_checkboxgroup (numeric) | teal.basic_table_args (basic_table_args object) | teal.ggplot2_args (ggplot2_args object) | teal.plot_dpi (integer value 24 or larger) | teal.log_layout (character) | teal.log_level (character) | teal.show_js_log (logical) | teal.lockfile.mode (character) | teal.sidebar.position (character) | teal.sidebar.width (numeric) | teal.reporter.nav_buttons (character) | teal.reporter.rmd_output (character) | teal.reporter.rmd_yaml_args (character) | teal.reporter.global_knitr (list) | teal.reporter.max_request_size (numeric) | teal.show_src (logical) | teal.enable_deep_linking (logical) | teal.snapshot_manager.enable (logical) | Deprecated options | teal_logging | teal_show_js_log | teal.ui.class (character(1))

Last update: 2026-05-19
Started: 2022-06-09

Getting Started with teal
Introduction | Your first teal application: | Try the above app in shinylive | Creating your own applications | Application data | Modules | Defining filters | Reporting | Reproducible code | Embedding teal in shiny application | Where to go next

Last update: 2026-03-11
Started: 2023-12-08

Transform Module Output
Introduction | How to Transform outputs? | Requirements and Limitations | Building Output Transformations (Decorators) | Server | UI | Variable Names as Arguments | Using Output Transformations (Decorators) | Single Transformation (Decoration) | Module | Application | Transforming Multiple Outputs (Decorators) | Transformators | Convenience | Reducing Boilerplate | Multiple Transformations

Last update: 2026-03-10
Started: 2025-02-12

Bootstrap Themes in teal
Introduction | Usage | teal.bs_theme R option | Bootstrap version and themes | Default Bootstrap theme | Reset the Bootstrap theme | Theme not updated | Custom teal CSS | Bootstrap NULL vs Bootstrap 3 | Regular shiny::fluidPage | Interactive theming guide | Set overall app theme | Customize a bootswatch theme | Apply the customized theme | Try the above app in shinylive | Sources

Last update: 2026-03-02
Started: 2023-12-08

Adding Support for Reporting to Custom Modules
Introduction | Custom module | Add support for reporting | Modify the declaration of the server function | Return the reporter object | Add content to the card | Add non-text content to the card | Removing support for displaying reproducible code | Removing reporting | Customizing the reporter

Last update: 2025-10-16
Started: 2022-06-09

Creating Custom Modules
Introduction | Understanding the Inputs and Requirements | Setting Up the teal Module UI | Setting Up the teal Module Server | Passing the data Argument to the Server Function | Understanding teal_data as a Reactive Object in Server Logic | Using names() to Access Dataset Names in teal_data object | Accessing Specific Datasets with Double Brackets ([[ ]]) | Setting Up Server Logic Using teal_data and Dynamic Variable Injection | Creating the Custom teal Module Function | Integrating the Custom teal Module into a teal App | What's next? | Adding reporting to a module | Using standard widgets in your custom module

Last update: 2025-10-16
Started: 2022-06-09

Including Data in teal Applications
Data in teal Applications | General data | Reproducible data | code from file | Creating data in-app | Clinical data | ADaM data | MultiAssayExperiment data | teal_data properties | join_keys | verified | Hidden datasets | Further reading

Last update: 2025-07-31
Started: 2023-12-08

Transform Input Data
Introduction | Creating a data transformation module | Single transformator | Multiple transformators | Targeting multiple datasets | Targeting one dataset

Last update: 2025-02-12
Started: 2025-02-12

Data as shiny Module
Introduction | Creating data in-app | Modification of data in-app | WARNING | Extending existing teal_data_modules

Last update: 2025-02-09
Started: 2023-11-13

Teal as a Shiny Module
Introduction | Example

Last update: 2025-02-09
Started: 2025-02-09

Filter Panel
teal apps with the filter panel | Extending teal.slice | Filter panel respective to teal_module | Global and module specific filter panel

Last update: 2025-02-04
Started: 2023-07-14

Readme and manuals

Help Manual

Help pageTopics
Add a Landing Popup to 'teal' Applicationadd_landing_modal
Build app title with faviconbuild_app_title
Check decorators listassert_decorators check_decorators
Disable the report for a 'teal_module'disable_report
Disable the "Show R Code" global button in the UIdisable_src
An example 'teal' moduleexample_module
Create the server and UI function for the 'shiny' appinit
Make teal_transform_module's servermake_teal_transform_server
'teal' user session info modulemodule_session_info srv_session_info ui_session_info
'teal' main modulemodule_teal srv_teal ui_teal
Apply 'teal_transform_module' decorators to reactive 'teal_data'module_transform_data srv_transform_teal_data ui_transform_teal_data
Template function for 'TealReportCard' creation and customizationreport_card_template
Create a 'teal' module for previewing a reportreporter_previewer_module
Data module for 'teal' applicationseval_code eval_code,teal_data_module teal_data_module within within.teal_data_module \S4method{eval_code}{teal_data_module}
Create 'teal_module' and 'teal_modules' objectsformat.teal_module format.teal_modules module modules print.teal_module print.teal_modules teal_module teal_modules
Data module for 'teal' transformations and output customizationteal_transform_module
'TealReportCard'TealReportCard
Validate that dataset has a minimum number of observationsvalidate_has_data
Validates that vector has length greater than 0validate_has_elements
Validates that dataset contains specific variablevalidate_has_variable
Validates that vector includes all expected valuesvalidate_in
Validate inputneed_input use_validate_input_js validate_input
Send input validation messages to outputvalidate_inputs
Validate that variables has expected number of levelsvalidate_n_levels
Validates no intersection between two vectorsvalidate_no_intersection
Validate that dataset has unique rows for key variablesvalidate_one_row_per_id