问题 I'm trying to knit a word document from a shiny app using a template.docx file. I get the following error message: pandoc.exe: template.docx: openBinaryFile: does not exist (No such file or directory) The following 3 files were all currently located in the same directory. app.R: library(shiny) library(rmarkdown) ui <- fluidPage( titlePanel("Word template"), sidebarLayout( sidebarPanel(), mainPanel( downloadButton("download", "Download Report") ) ) ) server <- function(input, output) { output