delete_mod {shinymgr} | R Documentation |
Deletes a module from the database
Description
Deletes a module (and associated files if requested) from the shinymgr.sqlite database
Usage
delete_mod(modName, shinyMgrPath, fileDelete = FALSE,
verbose = TRUE)
Arguments
modName |
The name of the module to be deleted, character string. |
shinyMgrPath |
The path to the shinymgr project. Typically the working directory. |
fileDelete |
TRUE/FALSE, whether the module script should also be deleted - defaults to FALSE. |
verbose |
Whether to print updates to the console (default = TRUE) |
Value
An integer value with the total number of rows deleted (including cascades)
More Info
The delete_mod() function is described in the "shinymgr_modules" tutorial.
Tutorials
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")
References
https://code.usgs.gov/vtcfwru/shinymgr
See Also
Other delete:
delete_app()
,
delete_report()