mod_register | R Documentation |
Insert a new record into the shinymgr.sqlite database table "modules" and accompanying tables ("modFunctionArguments", "modFunctionReturns", "modPackages")
mod_register(modName, shinyMgrPath)
modName |
Name of the new module |
shinyMgrPath |
Directory that holds the main shinymgr project |
This function reads in a module file created by
mod_init
and parses the header using mod_header_parser
to populate the
modules, modFunctionArguments, modFunctionReturns, and modPackages tables of
the
shinymgr.sqlite database. These tables are referenced in the app builder,
so module headers must match the module functions exactly.
Nothing. Records are inserted into shinymgr.sqlite.
The mod_register() function is described in the "shinymgr_modules" tutorial.
The shinymgr learnr tutorials include, in order:
learnr::run_tutorial(name = "intro", package = "shinymgr")
learnr::run_tutorial(name = "shiny", package = "shinymgr")
learnr::run_tutorial(name = "modules", package = "shinymgr")
learnr::run_tutorial(name = "app_modules", package = "shinymgr")
learnr::run_tutorial(name = "tests", package = "shinymgr")
learnr::run_tutorial(name = "shinymgr", package = "shinymgr")
learnr::run_tutorial(name = "database", package = "shinymgr")
learnr::run_tutorial(name = "shinymgr_modules", package = "shinymgr")
learnr::run_tutorial(name = "apps", package = "shinymgr")
learnr::run_tutorial(name = "analyses", package = "shinymgr")
learnr::run_tutorial(name = "reports", package = "shinymgr")
learnr::run_tutorial(name = "deployment", package = "shinymgr")
https://code.usgs.gov/vtcfwru/shinymgr
mod_init
Other module:
check_mod_info()
,
mod_header_parser()
,
mod_init()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.