【发布时间】:2015-12-30 06:46:59
【问题描述】:
在带有 texlive 的 ubuntu 14.04 上,检查 R 包,例如使用 devtools check() 将返回:
LaTeX errors found:
! LaTeX Error: File `inconsolata.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
! Emergency stop.
<read *>
l.276 ^^M
! ==> Fatal error occurred, no output PDF file produced!
【问题讨论】:
-
@Pascal 这首先导致从 CTAN 下载 inconsolata.sty,这是一个坏主意,特别是如果您只想构建 R 包而不会出错
-
我从来没有建议过这个。只需安装 Latex 发行版。
-
inconsolata包捆绑在 LaTeX 发行版TinyTeX 中。您可以考虑卸载 texlive 并安装 TinyTeX。
标签: r latex ubuntu-14.04