Skip to contents

Convenience function that disables the user's ability to add the module to the report previewer.

Usage

disable_report(x)

Arguments

x

(teal_module) a teal_module object.

Value

NULL that indicates that it should disable the reporter functionality.

Examples

app <- init(
  data = within(teal_data(), iris <- iris),
  modules = modules(
    example_module(label = "example teal module") |> disable_report()
  )
)
if (interactive()) {
  shinyApp(app$ui, app$server)
}