Datium
Datium

Reputation: 93

R Package Install Failed (suspecting bad connection?)

all.

When I tried to install a package, it automatically halted.

> 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)

I also tried to connect with a proxy, but it still make this error.

Upvotes: 1

Views: 160

Answers (1)

Thomas
Thomas

Reputation: 44525

Since the error here is coming from building vignettes, you can easily skip that part with:

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

Or:

install_github("cboettig/knitcitations", build_vignettes=FALSE)

See ? install for details.

Upvotes: 4

Related Questions