问题 我们的最终用户无法生成 html 文件,出现此错误:错误:pandoc 文档转换失败,错误 61 执行暂停
TS Performed 我们为之前的错误消息设置了代理。之前的错误是:
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
Run Code Online (Sandbox Code Playgroud)
为此,我们将 "self_contained: no" 添加到 RProfile.Site> 我们还尝试了 "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
Run Code Online (Sandbox Code Playgroud)
小智 5
I had the same issue on Windows 10, with user path located on a network drive.
Could not fetch http://?/UNC/...
Error: pandoc document conversion failed with error 61
Run Code Online (Sandbox Code Playgroud)
The solution was to run R as administrator, remove the package 'rmarkdown', and reinstall it.