R程序包安装失败(怀疑连接不良?)

R程序包安装失败(怀疑连接不良?),r,proxy,R,Proxy,全部 当我试图安装软件包时,它自动停止 > install_github("knitcitations", "cboettig") Installing github repo knitcitations/master from cboettig Downloading master.zip from https://github.com/cboettig/knitcitations/archive/master.zip Installing package from /var/folde

全部

当我试图安装软件包时,它自动停止

> install_github("knitcitations", "cboettig")
Installing github repo knitcitations/master from cboettig
Downloading master.zip from https://github.com/cboettig/knitcitations/archive/master.zip
Installing package from /var/folders/4p/c5pzz4jd6zz98slzq2vc3x8w0000gn/T//Rtmp2r0xUn/master.zip
arguments 'minimized' and 'invisible' are for Windows only
Installing knitcitations
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD build  \
  '/private/var/folders/4p/c5pzz4jd6zz98slzq2vc3x8w0000gn/T/Rtmp2r0xUn/devtools273458506e75/knitcitations-master' --no-manual --no-resave-data 

* checking for file '/private/var/folders/4p/c5pzz4jd6zz98slzq2vc3x8w0000gn/T/Rtmp2r0xUn/devtools273458506e75/knitcitations-master/DESCRIPTION' ... OK
* preparing 'knitcitations':
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
Error in function (type, msg, asError = TRUE)  : 
  Failed connect to dx.doi.org:8080; Connection refused
Server error for doi http://dx.doi.org/10.1890/11-0011.1, you may want to try again.
No results
Quitting from lines 60-83 (tutorial.Rmd) 
Error: processing vignette 'tutorial.Rmd' failed with diagnostics:
argument "bibtype" is missing, with no default
Execution halted
Error: Command failed (1)

我还尝试与代理连接,但它仍然会出现此错误。

由于此处的错误来自构建渐晕图,因此您可以使用以下方法轻松跳过该部分:

install_github("cboettig/knitcitations", quick=TRUE)
或:


参见
?安装
了解详细信息。

由于此处的错误来自构建渐晕图,您可以通过以下操作轻松跳过该部分:

install_github("cboettig/knitcitations", quick=TRUE)
或:


参见
?安装
了解详细信息。

无法在我的机器上复制此内容(R版本3.1.1,平台:x86_64-pc-linux-gnu(64位))。我也不能(x86_64-w64-mingw32/x64)。如果是小片段中的内容,请在github上分叉,注释掉小片段中的内容,然后从那里尝试。8080的东西看起来很奇怪,不知道是从哪里来的…在我的机器上无法复制它(R版本3.1.1,平台:x86_64-pc-linux-gnu(64位))。我也不能(x86_64-w64-mingw32/x64)。如果是小片段中的东西,那么在github上分叉,在小片段中注释掉东西,然后从那里尝试。:8080的东西看起来很奇怪,不知道这是从哪里来的……还有一件事,似乎构建渐晕图的失败来自
连接到dx.doi.org:8080失败;连接被拒绝
。我想知道我是否可以使用这个软件包在我的机器上引用需要连接到doi.org的内容。@nml试试看。如果它不起作用,发布一个关于它的新问题。似乎这只是一个奇怪的暂时性问题,但很难说。还有一件事,似乎构建渐晕图的失败来自于
未能连接到dx.doi.org:8080;连接被拒绝
。我想知道我是否可以使用这个软件包在我的机器上引用需要连接到doi.org的内容。@nml试试看。如果它不起作用,发布一个关于它的新问题。似乎这只是一个奇怪的暂时问题,但很难说。