delete_app {shinymgr} | R Documentation |
Deletes an app from the database
Description
Deletes an app (and associated files if requested) from the shinymgr.sqlite database
Usage
delete_app(appName, shinyMgrPath, fileDelete = FALSE)
Arguments
appName |
The name of the app to be deleted |
shinyMgrPath |
The path to the shinymgr project. Typically the working directory. |
fileDelete |
TRUE/FALSE, whether the app script should also be deleted - defaults to FALSE. |
Value
An integer value with the total number of rows deleted (including cascades)
More Info
The delete_app() function is described in the "app_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_mod()
,
delete_report()