当出现“资源路径中未找到文件”错误时如何解决问题?

jck*_*k21 5 r pandoc knitr r-markdown

当我在 rmarkdown 文档中运行时knit,它一开始似乎可以工作,但最终会显示以下错误消息。

output file: paper-1_revised.knit.md

File  not found in resource path
Error: pandoc document conversion failed with error 99
Execution halted
Run Code Online (Sandbox Code Playgroud)

我检查了几乎所有路径中使用的图片\includegraphics,但它们对我来说似乎是正确的。有什么方法可以修复或找到代码中资源路径问题所在的位置吗?

---
title: "Model"
author: |
  | jj
date: '2020-04-20'
header-includes:
- \usepackage{amsmath}
- \usepackage{tikz}
- \usepackage{caption}
- \usepackage{pgfplots}
- \usepackage[makeroom]{cancel}
- \usetikzlibrary{arrows,decorations.markings}
- \usetikzlibrary{intersections}
- \usepackage{biblatex}
- \usepackage[nottoc]{tocbibind}
- \usepackage{filecontents}
- \addbibresource{\jobname.bib}
- \usepackage[T1]{fontenc}
- \usepackage[utf8]{inputenc}
- \usepackage{tabularx,ragged2e,booktabs,caption}
- \newenvironment{rcases}
  {\left.\begin{aligned}}
  {\end{aligned}\right\rbrace}

bibliography: 
subparagraph: true
toc: false
number_sections: true
output: pdf_document
fig_caption: yes
fig_height: 5
fig_width: 8
includes:
in_header: preamble.tex
keep_tex: yes
citation_package: biblatex
---
\providecommand{\keywords}[1]{\textbf{\textit{key words---}} #1}

Run Code Online (Sandbox Code Playgroud)
output file: paper-1_revised.knit.md

File  not found in resource path
Error: pandoc document conversion failed with error 99
Execution halted
Run Code Online (Sandbox Code Playgroud)