r-lib / R6

Encapsulated object-oriented programming for R
https://R6.r-lib.org
Other
407 stars 56 forks source link

Fail when devtools::install_github('wch/R6') #17

Closed renkun-ken closed 10 years ago

renkun-ken commented 10 years ago
> devtools::install_github('wch/R6')
Installing github repo R6/master from wch
Downloading master.zip from https://github.com/wch/R6/archive/master.zip
Installing package from C:\Users\Kun\AppData\Local\Temp\RtmpiUoeAX/master.zip
Installing R6
"C:/PROGRA~1/R/R-31~1.1/bin/x64/R" --vanilla CMD build  \
  "C:\Users\Kun\AppData\Local\Temp\RtmpiUoeAX\devtools27043e8e3047\R6-master"  \
  --no-manual --no-resave-data 

* checking for file 'C:\Users\Kun\AppData\Local\Temp\RtmpiUoeAX\devtools27043e8e3047\R6-master/DESCRIPTION' ... OK
* preparing 'R6':
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ...Warning: running command '"C:/PROGRA~1/R/R-31~1.1/bin/x64/Rscript" --vanilla --default-packages= -e "tools::buildVignettes(dir = '.', tangle = TRUE)"' had status 1
 ERROR
Quitting from lines 424-437 (Performance.Rmd) 
Error: processing vignette 'Performance.Rmd' failed with diagnostics:
Measured negative execution time! Please investigate and/or contact the package author.
Execution halted
Error: Command failed (1)
> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] devtools_1.5   digest_0.6.4   evaluate_0.5.5 formatR_0.10   httr_0.4      
 [6] knitr_1.6      memoise_0.2.1  parallel_3.1.1 RCurl_1.95-4.3 stringr_0.6.2 
[11] tools_3.1.1    whisker_0.3-2 
gaborcsardi commented 10 years ago

Duplicate of #15.

wch commented 10 years ago

Hm, I can't get that problem to replicate on my Windows VM. I think the best solution is to do as Gabor suggested:

devtools::install_github('wch/R6', build_vignettes = FALSE)

I've updated the README to reflect this.