I upgraded my RStudio from v1.1.453 to v1.2.1335. After the update, I attempted to knit some of my standard .Rmd files but received the error under the Unsuccessful section. No code, filepaths, or filenames were changed between the different versions. I have confirmed that I am still able to run the .Rmd files on an older version of RStudio with the exact same packages.
None of the .Rmd files reference relative filepaths. Every read_() and write_() function explicitly declares the absolute filepaths.
Try creating a brand new project and making a simple markdown file with no external content. Use some filler text like lorem ipsum just to have some content. Does that successfully generate an output html file?
I tried creating a brand new project on my company's network drive. I still receive the same error.
pandoc.exe: lorum_ipsum.utf8.md: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion failed with error 1
Execution halted
I then created a project on my local drive. I am able to knit the exact same Rmd file.
Doing one on a local and one on a network drive was a good idea.
So the project on your local drive functions and the project on the network drive does not. I wonder if this is an issue with the network paths being handled incorrectly. In the local and network drive projects, does the result of getwd() look different?
Testing absolute path to templates
You can supply an absolute path to a template by calling knit2pdf directly. Is knitr able successful generate hmtl when you call it in this fashion?
After some more exploration, it appears the issue stems from not having my network directories mapped to a drive. I was able knit the .Rmd files using RStudio v1.2.1335 after I mapped the network directory to a drive.
I reverted back to v1.1.453 as I would have to rewrite all my scripts to reference the newly mapped drive instead of absolute network filepaths.
Do we know if this is an active bug that RStudio is looking into fixing or if this difference is intentional? If it is a bug, where can I submit it?