Hide internal renderPlot reactive from stack trace

This commit is contained in:
Joe Cheng
2018-03-13 15:49:33 -07:00
parent bb85525793
commit a02c32c153

View File

@@ -93,7 +93,7 @@ renderPlot <- function(expr, width='auto', height='auto', res=72, ...,
# return a promise). The idea is that the (cached) return value from this
# reactive can be used for varying width/heights, as it includes the
# displaylist, which is resolution independent.
drawReactive <- reactive(label = "plotObj", {
drawReactive <- reactive(label = "plotObj", ..stacktraceon = FALSE, {
hybrid_chain(
{
# If !execOnResize, don't invalidate when width/height changes.