Reputation: 66650
I've got this error when called htmlTemplate
in Shiny application on Windows 7:
Error: <text>:1:1: unexpected input
Upvotes: 1
Views: 803
Reputation: 51
In addition to changing line endings to Unix (LF), I had to also remove blank lines from all the .html
files that I called using htmlTemplate
.
Upvotes: 0
Reputation: 66650
The problem was windows line ending, replacing it with Unix (LF) ending solved the issue.
Upvotes: 1