R/util.R

Defines functions reactiveStop

####### Some internal shiny utils

# can't import shiny internal function, gives warnings, so rewrite here
reactiveStop <- function(message = "\r              ", class = NULL){
    cond <- structure(list(message = message),
                      class = c(c("shiny.silent.error", class),
                                "error",
                                "condition")
    )
    stop(cond)
}


utils::globalVariables(c("."))

Try the drawer package in your browser

Any scripts or data that you put into this service are public.

drawer documentation built on Aug. 20, 2022, 1:06 a.m.