I am getting this error repeatedly in different notebooks. It seems to appear randomly and once it appears I can't get rid of it. I'm creating R Notebooks with html_notebook output. Many chunks. Preview works fine, and then one day I make a minor edit and get this error when I try to Preview or save .... game over. I have to start with a new notebook and copy the chunks across. I have tried binary chopping to see if there is one chunk which causes it, but don't get consistent results even when starting with 2 copies of the same file. It's like there's some hidden control section which has become corrupted and you have to try again.
Any ideas? This is on Windows.
Note, I am not using in-line expression and have checked my use of backticks to make sure they all match up.
Any ideas? This is happening over and over again across different version of R and R-Studio on Windows.