r - Package installation failed when trying to install from GitHub -


i trying run following command in rstudio (version 3.1.0 on windows 7 64-bit):

devtools::install_github("data.table", "rdatatable") 

i following output:

installing github repo data.table/master rdatatable downloading master.zip https://github.com/rdatatable/data.table/archive/master.zip installing package c:\users\cle1394\appdata\local\temp\rtmpcrtx8y/master.zip installing data.table "c:/progra~1/r/r-31~1.0/bin/x64/r" --vanilla cmd build  \   "c:\users\cle1394\appdata\local\temp\rtmpcrtx8y\devtoolsd343a7c2b57\data.table-master" --no-manual  \   --no-resave-data   * checking file 'c:\users\cle1394\appdata\local\temp\rtmpcrtx8y\devtoolsd343a7c2b57\data.table-master/description' ... ok * preparing 'data.table': * checking description meta-information ... ok * cleaning src * installing package build vignettes warning: running command '"c:/progra~1/r/r-31~1.0/bin/x64/rcmd.exe" install -l "c:\users\cle1394\appdata\local\temp\rtmpmlgnwp\rinst2786d3f6fc5" --no-multiarch "c:/users/cle1394/appdata/local/temp/rtmpmlgnwp/rbuild27856a15b8f/data.table"' had status 1       ----------------------------------- * installing *source* package 'data.table' ... ** libs warning: running command 'make -f "makevars" -f "c:/progra~1/r/r-31~1.0/etc/x64/makeconf" -f "c:/progra~1/r/r-31~1.0/share/make/winshlib.mk" shlib="data.table.dll" win=64 tclbin=64 objects="assign.o bmerge.o chmatch.o dogroups.o fastmean.o fastradixdouble.o fastradixint.o fcast.o fmelt.o forder.o fread.o gsumm.o init.o rbindlist.o reorder.o uniqlist.o vecseq.o wrappers.o"' had status 127 error: compilation failed package 'data.table' * removing 'c:/users/cle1394/appdata/local/temp/rtmpmlgnwp/rinst2786d3f6fc5/data.table'       ----------------------------------- error: package installation failed error: command failed (1) 

i have tried installing rtools; screenshots of installation found below:

enter image description here enter image description here enter image description here

after restarting rstudio, , running command again, same output. there missing? why can't install package github?

edit: added sessioninfo():

> sessioninfo() r version 3.1.0 (2014-04-10) platform: x86_64-w64-mingw32/x64 (64-bit)  locale: [1] lc_collate=english_united states.1252  lc_ctype=english_united states.1252    [3] lc_monetary=english_united states.1252 lc_numeric=c                           [5] lc_time=english_united states.1252      attached base packages: [1] stats     graphics  grdevices utils     datasets  methods   base       loaded via namespace (and not attached):  [1] devtools_1.5   digest_0.6.4   evaluate_0.5.5 httr_0.3       memoise_0.2.1  parallel_3.1.0  [7] rcurl_1.95-4.1 stringr_0.6.2  tools_3.1.0    whisker_0.3-2  

edit: added has_devel():

> has_devel() error: not find function "has_devel" 

just answer open question.
install_github function accepts build_vignettes logical (not documented passed dots install function).
in case of error on building vignettes may use: devtools::install_github("rdatatable/data.table", build_vignettes=false).
argument build_vignettes has changed default value true false, using recent version of devtools don't have care it.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -