Skip to content

Commit

Permalink
Merge pull request #1011 from rstudio/joe/feature/better-errors
Browse files Browse the repository at this point in the history
Better errors
  • Loading branch information
jcheng5 committed Nov 20, 2015
2 parents 12b0484 + 8e4f738 commit 4d3fa2c
Show file tree
Hide file tree
Showing 44 changed files with 1,157 additions and 167 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Expand Up @@ -6,6 +6,7 @@
^shiny\.cmd$
^run\.R$
^\.gitignore$
^smoketests$
^res$
^man-roxygen$
^\.travis\.yml$
Expand All @@ -14,3 +15,4 @@
^srcjs$
^CONTRIBUTING.md$
^cran-comments.md$
^.*\.o$
1 change: 1 addition & 0 deletions DESCRIPTION
Expand Up @@ -88,6 +88,7 @@ Collate:
'bootstrap-layout.R'
'map.R'
'globals.R'
'conditions.R'
'utils.R'
'bootstrap.R'
'cache.R'
Expand Down
10 changes: 10 additions & 0 deletions NAMESPACE
Expand Up @@ -25,6 +25,9 @@ S3method(names,reactivevalues)
S3method(print,reactive)
S3method(print,shiny.appobj)
S3method(str,reactivevalues)
export("conditionStackTrace<-")
export(..stacktraceoff..)
export(..stacktraceon..)
export(HTML)
export(NS)
export(Progress)
Expand All @@ -41,11 +44,13 @@ export(br)
export(brushOpts)
export(brushedPoints)
export(callModule)
export(captureStackTraces)
export(checkboxGroupInput)
export(checkboxInput)
export(clickOpts)
export(code)
export(column)
export(conditionStackTrace)
export(conditionalPanel)
export(createWebDependency)
export(dataTableOutput)
Expand All @@ -59,13 +64,15 @@ export(downloadLink)
export(em)
export(eventReactive)
export(exprToFunction)
export(extractStackTrace)
export(fileInput)
export(fixedPage)
export(fixedPanel)
export(fixedRow)
export(flowLayout)
export(fluidPage)
export(fluidRow)
export(formatStackTrace)
export(getDefaultReactiveDomain)
export(h1)
export(h2)
Expand Down Expand Up @@ -122,6 +129,8 @@ export(passwordInput)
export(plotOutput)
export(plotPNG)
export(pre)
export(printError)
export(printStackTrace)
export(radioButtons)
export(reactive)
export(reactiveFileReader)
Expand Down Expand Up @@ -200,6 +209,7 @@ export(validateCssUnit)
export(verbatimTextOutput)
export(verticalLayout)
export(wellPanel)
export(withLogErrors)
export(withMathJax)
export(withProgress)
export(withReactiveDomain)
Expand Down
7 changes: 7 additions & 0 deletions NEWS
Expand Up @@ -40,6 +40,13 @@ shiny 0.12.2.9000
reload whenever Shiny app files change on disk. This is intended to shorten
the feedback cycle when tweaking UI code.

* Errors are now printed with stack traces! This should make it tremendously
easier to track down the causes of errors in Shiny. Try it by calling
`stop("message")` from within an output, reactive, or observer. Shiny itself
adds a lot of noise to the call stack, so by default, it attempts to hide all
but the relevant levels of the call stack. You can turn off this behavior by
setting `options(shiny.fullstacktrace=TRUE)` before or during app startup.

shiny 0.12.2
--------------------------------------------------------------------------------

Expand Down

0 comments on commit 4d3fa2c

Please sign in to comment.