Description Usage Arguments Examples
Use start_rave
to launch applications; use
view_layout
to debug module.
1 2 3 4 5 6 7 8 9 10 11 | start_rave(
host = "127.0.0.1",
port = NULL,
launch_browser = TRUE,
test_mode = FALSE,
token = NULL,
theme = "purple",
.adapter = dipsaus::fastmap2()
)
view_layout(host = "127.0.0.1", port = NULL, theme = "red")
|
host |
IP address, default is |
port |
integer port to listen to, default is |
launch_browser |
whether to launch browser once the application is opened |
test_mode |
whether to enter test mode. Test mode does not release memory once application is closed, this will allow step-by-step debugging |
token |
token needed to launch application, default does not require any token |
theme |
passed to |
.adapter |
debug use, must be a |
1 2 3 4 5 6 7 8 9 10 | if(interactive()){
# Production
start_rave()
# Debug rave preprocess
rave_context('rave_module_debug', package = 'ravetools',
module_id = 'ravepreprocessoverview')
view_layout()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.