r - Shiny and Javascript - Uncaught ReferenceError: TRUE is not defined -
I have a shineip that has the original login screen.
When the app loads, the " Log in "variable is wrong. When the user successfully logs in within the session, the R login code happens as follows:
X $ logged - TRUE
At this point, I get warnings in the JavaScript console "Unwanted reference references: Not really defined".
I click the link to go to the code, and the javascript code is:
(with function () {with (this) {return (x $ logage) = True)}}}}
I'm starting a bit, I believe that, first of all, this is a Javascript of my R code, and the other thing is that it does not like Because Javascript is expecting a lower case boolean "true".
How can I see it? Equally, R. I do not like Boolean.
How do I get it? Equally, The short case does not like Boolean.
Define one in the other, eg. As you are going to javascript , before its code ( Javascript )
var true = true, wrong = false;
then
(function () (with this) {return (x $ log in = TRUE);} // now working Alternatively, you can use things like bull, i.e. 1
and 0
Instead. Finally, how are you doing R for the conversion? It may well be a bug in the structure you used
Comments
Post a Comment