delete_report {shinymgr}R Documentation

Deletes a report from the database

Description

Deletes a report (and associated file if requested) from the shinymgr.sqlite database

Usage

delete_report(reportName, shinyMgrPath, fileDelete = FALSE)

Arguments

reportName

The name of the report to be deleted, character string.

shinyMgrPath

The path to the shinymgr project. Typically the working directory.

fileDelete

TRUE/FALSE, whether the report .Rmd file should also be deleted - defaults to FALSE.

Value

An integer value with the total number of rows deleted (including cascades)

More Info

The delete_report() function is described in the "reports" 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_app(), delete_mod()


[Package shinymgr version 1.1.0 Index]