Summary:
Using the sleuth_prep function, I built a sleuth object (so) summarizing a large dataset. My latest dataset is not viewable using shiny, which lists the error: "Text to be written must be a length-one character vector."
Troubleshooting so far:
A previously constructed sleuth object built in the same fashion (so2) does not produce this error. I verified that the objects are of the same class.
Unfortunately, I am simply out of my depth. I am hoping that I can modify s2c or so (with tidytext?) to address this error. Any help would be much appreciated.
Summary: Using the sleuth_prep function, I built a sleuth object (so) summarizing a large dataset. My latest dataset is not viewable using shiny, which lists the error: "Text to be written must be a length-one character vector."
Troubleshooting so far: A previously constructed sleuth object built in the same fashion (so2) does not produce this error. I verified that the objects are of the same class.
The summaries look similar
The metadata was constructed in the same fashion for both datasets
I looked to the below answer to try to understand the root cause.
Unfortunately, I am simply out of my depth. I am hoping that I can modify s2c or so (with tidytext?) to address this error. Any help would be much appreciated.