Cannot knit my R file after I updated R to use pandoc document conversion failed with error 83

Please help me output file: I cannot knit the file ;(((

CourseworkAppliedecon.knit.md

C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS CourseworkAppliedecon.utf8.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output CourseworkAppliedecon.tex --self-contained --highlight-style tango --pdf-engine pdflatex --variable graphics --lua-filter "\\myfiles/dvn23/dos/R/win-library/3.6/rmarkdown/rmd/lua/pagebreak.lua" --lua-filter "\\myfiles/dvn23/dos/R/win-library/3.6/rmarkdown/rmd/lua/latex-div.lua" --variable "geometry:margin=1in" --include-in-header "\\myfiles\dvn23\dos\R\win-library\3.6\rmarkdown\rmd\latex\compact-title.tex" 
Error running filter \\?\UNC\myfiles/dvn23/dos/R/win-library/3.6/rmarkdown/rmd/lua/pagebreak.lua:
\\?\UNC\myfiles/dvn23/dos/R/win-library/3.6/rmarkdown/rmd/lua/pagebreak.lua: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion failed with error 83
Execution halted

The error message suggests pandoc is looking for a file and can't locate it. That might happen on read-in.
Can you share a minimal reproducible example of the Rmd code producing the error?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.