Create the template of a new shinyscholar module.

create_module(
  id,
  dir,
  map = FALSE,
  result = FALSE,
  rmd = FALSE,
  save = FALSE,
  async = FALSE,
  init = FALSE
)

Arguments

id

character. The id of the module.

dir

character. A directory where the new module should be created.

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.

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

See also