source_r
source_r | R Documentation |
#
Source a 'sketch' R file#
DescriptionThis function compiles a 'sketch' R file, resolves the dependencies and serves it in the viewer.
#
Usage#
Argumentsfile | A character string; path to the R file. |
debug | TRUE or FALSE; if TRUE, a console for debugging is attached to your app. |
launch_browser | A character string; "viewer" or "browser", which calls 'rstudioapi::viewer' and 'utils::browseURL' respectively; use NULL to suppress display. |
asset_tags | An optional list of 'shiny.tag' objects to be added to the html template. The list must have signature / structure of a named list: [head = [shiny.tag], body = [shiny.tag]] , |
... | Additional arguments to pass to 'compile_r'. |