我如何确保本地 TeX Live 不比远程存储库旧?

我如何确保本地 TeX Live 不比远程存储库旧?

我已经下载了 MacTeX-2020,以便能够在 R Studio 中将 R Markdown 文档转换为 PDF。我昨天下载了它,它是 2020 版本。当我尝试在 R Markdown 中将其转换为 PDF 时,出现错误:

tlmgr: Local TeX Live (2019) is older than remote repository (2020).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
! LaTeX Error: File `multirow.sty' not found.

! Emergency stop.
<read *> 

Error: LaTeX failed to compile lab_test.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See lab_test.log for more info.
In addition: Warning message:
In system2("tlmgr", args, ...) :
  running command ''tlmgr' search --file --global '/multirow.sty'' had status 1
Execution halted

我不确定这是怎么发生的,因为我下载的是 2020 MacTeX 版本,所以 Local TeX Live 肯定也是 2020 版本而不是 2019 版本?我该如何将 Local TeX Live 升级到 2020 版本?非常感谢您的帮助。

相关内容