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:
-
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_mod()