Add basic print method for shiny.render.function

So at least the user isn't exposed to a bunch on internals
This commit is contained in:
Hadley Wickham
2019-09-03 09:17:02 -05:00
parent a415aed7e6
commit eb0162dccf
2 changed files with 6 additions and 0 deletions

View File

@@ -52,6 +52,11 @@ markRenderFunction <- function(uiFunc, renderFunc, outputArgs = list()) {
hasExecuted = hasExecuted)
}
#' @export
print.shiny.render.function <- function(x, ...) {
cat_line("<shiny.render.function>")
}
#' Implement render functions
#'
#' @param func A function without parameters, that returns user data. If the