assign("%&%", function (a, b) paste(a, b, sep = "")catn = function(...) cat(..., "\n")wasClicked = function(button) {if(exists("input")) (!is.null(button) ) { if(button > 0) {return(TRUE) } }return(FALSE)}
source("debugTools.R", local=TRUE)
Thanks for your interest.
Did you include uiOutput("debugTools”) somewhere in the return value for shinyUI()? If so, it should appear on the page.
It appears wherever you put it— the top is nice— initially as just a single check box, cleared so that the rest of the stuff
is not visible. It looks like this:
Click the check box and the whole debug panel should appear:
If the code you want to evaluate is multi-line, watch out. Pasting code into one of the boxes will not paste the end-of-line characters properly.
You might have to insert the end-of-lines by hand. The two textareas are resizable; you can see the handles at the lower right.
> shiny::runApp() Listening on http://127.0.0.1:3789 Error in eval(expr, envir, enclos) : object 'session' not found