在 R 中构建我的网站时如何避免下标越界?

How can I avoid subscript out of bounds in building my website in R?

所以我在 R 中有一个项目,它是一个统计数学笔记本。整个学期我都在添加 _site.yml 的链接。这个周末我更新了 R,出于某种原因,每次我在笔记本中编织 .rmds 时,我都会收到以下错误。

Error in config$output[["html_document"]] : subscript out of bounds Calls: -> -> patch_html_document_options Execution halted

Exited with status 1.

我尝试构建整个网站时遇到同样的错误。我还尝试在笔记本外编织 .rmds,那是成功的。我到处搜索类似的问题,但我找不到任何相关的东西,(或者我的 google 搜索不是那么好)。无论如何,如果我的 .rmds 能在此笔记本中成功编织,那就太好了。我还卸载了 Rstudio 并重新安装了它,但也没有用。 这是我的 _site.yml(虽然我不知道它会有帮助)。

name: "math-325-notebook"
navbar:
  title: "Math 325 Notebook"
  left:
    - text: "Table of Contents"
      href: index.html
    - text: "Describing Data"
      menu:
        - text: "Graphical Summaries"
          href: GraphicalSummaries.html
        - text: "Numerical Summaries"
          href: NumericalSummaries.html
    - text: "Making Inference"
      menu: 
        - text: "Making Inference"
          href: MakingInference.html
        - text: "t Tests"
          href: tTests.html
        - text: "Wilcoxon Tests"
          href: WilcoxonTests.html
        - text: "ANOVA"
          href: ANOVA.html
        - text: "Kruskal-Wallis"
          href: Kruskal.html
        - text: "Linear Regression"
          href: LinearRegression.html
        - text: "Logistic Regression"
          href: LogisticRegression.html
    - text: "R Help"
      menu:
        - text: "R Commands"
          href: RCommands.html
        - text: "R Markdown Hints"
          href: RMarkdownHints.html
    - text: "Analyses"
      menu:
        - text: "Analysis Rubric"
          href: ./Analyses/AnalysisRubric.html
        - text: "Good Example Analysis"
          href: ./Analyses/StudentHousing.html
        - text: "Poor Example Analysis"
          href: ./Analyses/StudentHousingPOOR.html
        - text: "My First Analysis"
          href: ./Analyses/StudentHousingII.html

output_dir: '.'

我读到的大多数关于下标越界的帖子都与数组有关,他们试图从域中获取数字,我认为这在这种情况下不相关。

只是让人们知道,我已经回答了这个问题,它最终成为了 rmarkdown 库,最新版本中存在某种错误,我安装了该版本之前它似乎在这方面工作正常,我现在在其他地方有另一个错误,但我想我可以解决这个问题。