【问题标题】:error when uploading to bookdown.org上传到 bookdown.org 时出错
【发布时间】:2017-10-09 22:15:42
【问题描述】:

我尝试将我的图书上传到 bookdown.org。半小时后(我想知道为什么有这么多文件上传到 RStudio Connect)我得到一个错误

2017/10/09 18:46:51.957709974 Quitting from lines 28-38 (wiss-arbeiten.Rmd) 2017/10/09 18:46:51.957825693 Error in loadNamespace(name) : there is no package called 'BiocInstaller' 2017/10/09 18:46:51.957885047 Calls: local ... try_bioc -> suppressMessages -> withCallingHandlers 2017/10/09 18:46:51.958782481 2017/10/09 18:46:51.960108826 Execution halted

我安装了 BiocInstaller 并再次尝试了几次,但出现相同的错误消息。

为了提供一个代表,我从头开始安装 bookdown 并尝试上传它。我没有成功,但这次出现了另一个错误消息:

    2017/10/09 21:52:18.435444168 output file: test-bookdown.knit.md
2017/10/09 21:52:18.435449884
2017/10/09 21:52:19.249176890 Latexmk: -latexoption=-halt-on-error bad option
2017/10/09 21:52:19.249238308 Latexmk: -interaction=batchmode bad option
2017/10/09 21:52:19.249408997
2017/10/09 21:52:19.249413953 Latexmk: Bad options specified
2017/10/09 21:52:19.249436980 Use
2017/10/09 21:52:19.249439476    latexmk -help
2017/10/09 21:52:19.249455810 to get usage information
GET /__api__/tasks/eHORYjLKgZlV4pom?first_status=137 524ms
2017/10/09 21:52:19.644109397
2017/10/09 21:52:19.644123280 Latexmk, John Collins, 7 May 2011. Version 4.24
2017/10/09 21:52:19.647906139 Error: Failed to compile test-bookdown.tex.
2017/10/09 21:52:19.647978929 In addition: Warning message:
2017/10/09 21:52:19.648059206 Your latexmk version seems to be too low. You may need to update the latexmk package or your LaTeX distribution.
2017/10/09 21:52:19.658900711 Please delete test-bookdown.Rmd after you finish debugging the error.
2017/10/09 21:52:19.658977638 Execution halted

但在我看来,我的乳胶版本还可以: pdfTeX 3.14159265-2.6-1.40.18(TeX Live 2017)和 Latexmk,John Collins,2017 年 1 月 19 日。版本 4.52c

我正在使用 RStudio 版本 1.1.383 和 R 版本 3.4.2 (2017-09-28) -- “Short Summer”,平台:x86_64-apple-darwin15.6.0(64 位)和 bookdown 0.5.4

知道可能出了什么问题吗?

【问题讨论】:

    标签: r rstudio rstudio-server bookdown


    【解决方案1】:

    此问题已在https://github.com/rstudio/bookdown/issues/474 交叉发布并在那里解决。简而言之,您使用了bookdown::publish_book(render = "server"),目前在 bookdown.org 上还没有得到很好的支持。您应该在本地渲染图书并使用默认的bookdown::publish_book(render = "none")

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-01-21
      • 2011-08-12
      • 2016-01-21
      • 2013-07-14
      • 1970-01-01
      • 2012-04-18
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多