mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-02 10:45:06 -05:00
no need to expose the documentation to users; expose registerShinyDebugHook to R so that R CMD check does not complain
per discussion in #258, and closes #259
This commit is contained in:
@@ -282,8 +282,10 @@ shinyDeprecated <- function(new=NULL, msg=NULL,
|
||||
#' @param name Name of the field or object containing the function.
|
||||
#' @param where The reference object or environment containing the function.
|
||||
#' @param label A label to display on the function in the debugger.
|
||||
#' @noRd
|
||||
registerDebugHook <- function(name, where, label) {
|
||||
if (exists("registerShinyDebugHook", mode = "function")) {
|
||||
registerShinyDebugHook <- get("registerShinyDebugHook", mode = "function")
|
||||
params <- new.env(parent = emptyenv())
|
||||
params$name <- name
|
||||
params$where <- where
|
||||
|
||||
Reference in New Issue
Block a user