Nothing
#' Clear storage for an application
#'
#' Remove all stored inputs of an application
#'
#' @param appId the application identification
#' @param session session object
#'
#' @note Ensure not to use this function when the inputs are intended to be tracked.
#' @return No return value, called for side effects
#'
#' @examples
#' if (interactive()) {
#' library(shiny)
#' library(shinyStorePlus)
#'
#' ui <- fluidPage(
#' # initialize stores
#' initStore(),
#' "Sample delete storage",
#' selectInput("dataset",
#' label = "Dataset",
#' choices = c("dataset 1", "dataset 2")
#' )
#' )
#' server <- function(input, output, session) {
#' appid <- "application01"
#' clearStore(appId = appid)
#' }
#' shinyApp(ui, server)
#' }
#' @export
#'
clearStore <- function(appId, session = getDefaultReactiveDomain()) {
session$sendCustomMessage("clearStorage", appId)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.