Getting below error when running testapp on terminal: ``` library(shinytest);testApp("026-shiny-inline") Running mytest.R Error: lexical error: invalid char in json text. ERROR: Argument object must be (right here) ------^ ```
Activity
bwbioinfo commentedon May 25, 2020
warnes commentedon Aug 4, 2020
I had to work around this by explicitly specifying which objects to include in the snapshot.
hadley commentedon Aug 7, 2020
@shalutiwari where can
026-shiny-inlinebe found?warnes commentedon Aug 7, 2020
This seems to occur when the subprocess server returns an error message, in my case:
The code needs to check for a returned error code instead of assuming the results are proper JSON.
warnes commentedon Aug 7, 2020
I've added code to fix this issue to PR #324.
[-]Error: lexical error: invalid char in json text. [/-][+]Uninformative failure on http error[/+]hadley commentedon Aug 14, 2020
I can't reproduce the error:
But I'm almost certain it's the same root cause as #191 or #192, which I'm about to fix momentarily.