【发布时间】:2019-10-14 20:38:26
【问题描述】:
问题 我们的最终用户无法生成 html 文件,收到此错误: 错误:pandoc 文档转换失败,错误 61 执行停止
已执行 TS 我们为之前的错误消息设置了代理。 之前的错误是:
pandoc.exe: Could not fetch \\HHBRUNA01.hq.corp.eurocontrol.int\alazarov$\R\win-library\3.5\rmarkdown\rmd\h\jquery\jquery.min.js
ResponseTimeout
Error: pandoc document conversion failed with error 67
Execution halted
为此,我们在 RProfile.Site 中添加了“self_contained: no”> 我们还尝试了“Self_Contained: yes”。
当前错误消息
Could not fetch http://?/UNC/server.contoso.int/username$/R/win-library/3.5/rmarkdown/rmd/h/default.html
HttpExceptionRequest Request {
host = ""
port = 80
secure = False
requestHeaders = []
path = "/"
queryString = "?/UNC/server.contoso.int/username$/R/win-library/3.5/rmarkdown/rmd/h/default.html"
method = "GET"
proxy = Just (Proxy {proxyHost = "pac.contoso.int", proxyPort = 9512})
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
(InvalidDestinationHost "")
Error: pandoc document conversion failed with error 61
Execution halted
【问题讨论】:
-
您是否尝试过使用最新版本的 R 和(更重要的是)knitr?
-
我们使用的是 R3.5.2