cboettig / knitcitations

:package: Generate citations for knitr markdown and html files
http://carlboettiger.info
Other
220 stars 28 forks source link

Installation fails: "creating vignettes ... ERROR" #64

Closed hmf closed 9 years ago

hmf commented 9 years ago

Hello,

Using the latest R version in Linux (Ubuntu). I tried and install the package with:

install_github("knitcitations", "cboettig")

However I get the following output:

Installing github repo knitcitations/master from cboettig
Downloading master.zip from https://github.com/cboettig/knitcitations/archive/master.zip
Installing package from /tmp/RtmphF78uf/master.zip
arguments 'minimized' and 'invisible' are for Windows only
Installing knitcitations
'/usr/lib/R/bin/R' --vanilla CMD build  \
  '/tmp/RtmphF78uf/devtools7af7604a3bc0/knitcitations-master' --no-manual  \
  --no-resave-data 

* checking for file '/tmp/RtmphF78uf/devtools7af7604a3bc0/knitcitations-master/DESCRIPTION' ... OK
* preparing 'knitcitations':
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
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)

The link above does exists. The cause I suspect may be due to a proxy. I have tried this with (RStudio) and without (R command line) explicit proxy setting but it does not work. Anyway I can circumvent this?

TIA.

rmflight commented 9 years ago

if you want to install without creating the vignettes, you can do

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

the quick argument tells install to skip making the vignettes

hmf commented 9 years ago

Thanks Robert, that did it.

cboettig commented 9 years ago

Yeah, CrossRef API is being fickle all of a sudden, causing vignette not to build, so looking at ways to work around that....

Meanwhile you might get errors when citing by DOI or search terms.

Carl Boettiger http://carlboettiger.info

sent from mobile device; my apologies for any terseness or typos On Aug 7, 2014 5:47 AM, "hmf" notifications@github.com wrote:

Thanks Robert, that did it.

— Reply to this email directly or view it on GitHub https://github.com/cboettig/knitcitations/issues/64#issuecomment-51466354 .

cboettig commented 9 years ago

CrossRef API seems stable now. CrossRef did confirm some instability earlier this week, so glad to know they're on top of this. knitcitations should be functioning as expected now.

hmf commented 9 years ago

Thanks.