show_rcode_modal: Show 'R' code modal

View source: R/show_rcode_modal.R

show_rcode_modalR Documentation

Show R code modal

Description

[Stable]

Use the shiny::showModal() function to show the R code inside.

Usage

show_rcode_modal(title = NULL, rcode, session = getDefaultReactiveDomain())

Arguments

title

(character(1)) Title of the modal, displayed in the first comment of the R code.

rcode

(character) vector with R code to show inside the modal.

session

(ShinySession optional) shiny session object, if missing then shiny::getDefaultReactiveDomain() is used.

References

shiny::showModal()


teal documentation built on May 29, 2024, 10:11 a.m.