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:

  1. learnr::run_tutorial(name = "intro", package = "shinymgr")

  2. learnr::run_tutorial(name = "shiny", package = "shinymgr")

  3. learnr::run_tutorial(name = "modules", package = "shinymgr")

  4. learnr::run_tutorial(name = "app_modules", package = "shinymgr")

  5. learnr::run_tutorial(name = "tests", package = "shinymgr")

  6. learnr::run_tutorial(name = "shinymgr", package = "shinymgr")

  7. learnr::run_tutorial(name = "database", package = "shinymgr")

  8. learnr::run_tutorial(name = "shinymgr_modules", package = "shinymgr")

  9. learnr::run_tutorial(name = "apps", package = "shinymgr")

  10. learnr::run_tutorial(name = "analyses", package = "shinymgr")

  11. learnr::run_tutorial(name = "reports", package = "shinymgr")

  12. learnr::run_tutorial(name = "deployment", package = "shinymgr")

References

https://code.usgs.gov/vtcfwru/shinymgr

See Also

Other delete: delete_mod(), delete_report()


[Package shinymgr version 1.1.0 Index]