Skip to contents

Sets global Shiny options by automatically adding the 'shiny.' prefix to option names. Validates and processes option values using type-specific handlers.

Usage

configure_shiny(..., type_handlers = list())

Arguments

...

Named arguments passed as Shiny options. Names will be prefixed with 'shiny.'.

type_handlers

Named list of functions for option value processing. Default handlers provided for:

  • numeric: Validates numeric values

  • logical: Converts to TRUE/FALSE

  • character: Processes string values

Value

Invisible NULL. Modifies global Shiny options.

Examples

if (FALSE) { # \dontrun{
configure_shiny(
  host = "0.0.0.0",
  port = 3838,
  sanitize_errors = TRUE,
  autoreload = FALSE
)
} # }