knit fails in rstudio with basic document

Knitting a very basic rmarkdown document, using the Knit button, fails. Please find below my session info, and the errors I receive.

R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 16299)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252   
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RPostgreSQL_0.6-2 DBI_1.0.0        

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.2      crayon_1.3.4    digest_0.6.22   zeallot_0.1.0   backports_1.1.5 evaluate_0.14   pillar_1.4.2   
 [8] rlang_0.4.1     rstudioapi_0.10 blob_1.2.0      vctrs_0.2.0     rmarkdown_1.16  tools_3.6.1     bit64_0.9-7    
[15] bit_1.1-14      hms_0.5.2       xfun_0.10       yaml_2.2.0      compiler_3.6.1  pkgconfig_2.0.3 htmltools_0.4.0
[22] knitr_1.25      tibble_2.1.3

output file: test.knit.md

"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS test.utf8.md --to html4 
--from markdown+autolink_bare_uris+tex_math_single_backslash+smart --output test.html --email-obfuscation none --self-contained 
--standalone --section-divs --template "\\eu.ad.guycarp.com\UK_Home\J-Z\U1191972\R\win-library\3.6\rmarkdown\rmd\h\default.html" --no-highlight 
--variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\u1191972\AppData\Local\Temp\RtmpUBUn3S\rmarkdown-str3238487e61cd.html" --mathjax 
--variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 
--lua-filter "\\eu.ad.guycarp.com/UK_Home/J-Z/U1191972/R/win-library/3.6/rmarkdown/rmd/lua/pagebreak.lua" 
--lua-filter "\\eu.ad.guycarp.com/UK_Home/J-Z/U1191972/R/win-library/3.6/rmarkdown/rmd/lua/latex-div.lua" 
pandoc.exe: \\: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion failed with error 1
Execution halted

I've entered a few linebreaks into the error to try and make it a bit more read-able.

Looks like pandoc (the engine behind Rmarkdown) is looking for a file, perhaps from a read-in command, and failing to find it on your machine. This causes it to error out and leave you with the fail message.

Could you include the Rmd code you are using?

Seems to be working now; not sure what I did ! Thanks anyway @Nate.

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: