create_module {shinyscholar} | R Documentation |
Create a shinyscholar module
Description
Create the template of a new shinyscholar module.
Usage
create_module(
id,
dir,
map = FALSE,
result = FALSE,
rmd = FALSE,
save = FALSE,
download = FALSE,
async = FALSE,
init = FALSE
)
Arguments
id |
character. The id of the module. |
dir |
character. Path to the parent directory containing the application |
map |
logical. Whether or not the module should support modifying the map. |
result |
logical. Whether or not the module should support showing information in the Result tab. |
rmd |
logical. Whether or not the module should add Rmd code to the Session Code download. |
save |
logical. Whether or not the module has some custom data to save when the user saves the current session. |
download |
logical. Whether or not the module should add code to handle downloading a file. |
async |
logical. Whether or not the module will operate asynchronously. |
init |
logical. Whether or not the function is being used inside of the init function |
Value
No return value, called for side effects