I think I may have found a potential bug. I'm receiving an issue rendering HTML in a RMD file when the directory name is too big.
I made the directory name in my test case the largest possible for windows. For now we can work around this and tell users to adjust if their directory name if it is too long, although it would be nice to maintain the large directory names.
Create a directory with a large name, such as: "012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
Create a project in that directory.
Create a new RNotebook and save the RMD file.
Put shiny::HTML("<b>Hello World</b>") in the code chunk.
The HTML will not render successfully, and it'll show raw HTML.
If you do those steps over again without putting the project in a directory with a large name, the HTML will render successfully.
What is the error you get exactly ? No error but unexpected content as you described ? shiny::HTML("<b>Hello World</b>") is including some raw HTML so I am trying to be sure I understood correctly.
Regarding your questions, it does not produce an error message, but it also doesn't produce the expected output when you run the code chunk. The expected output should be rendered HTML with only the text "Hello World" in bold without the html tags "(<'b'>)".
I'll investigate further to see if it's an issue with our machines!
Oh so you mean when you open the HTML document in browser and not what is inside the HTML document ? Can you share the HTML code inside the HTML document for what you see ?
Or are you talking of what you see inside the IDE notebook mode ?