Problems installing packages from GitHub using install_github

1,191 views
Skip to first unread message

Sean Murphy

unread,
Jun 22, 2015, 2:25:55 AM6/22/15
to rdev...@googlegroups.com
I have been getting the below error when attempting to install packages using install_github.  rCharts is just one example, I have had the same error with several other packages.  Rtools33 is installed along with devtools and all dependencies.  My session info follows the error below.  Is there anything I am missing in the devtools installation?  Are there permissions, or PATH issues that I should consider but have not (RTools is in the system path)...

Scanning path...
ls : c:\Rtools\bin\ls.exe 
gcc: c:\Rtools\GCC-46~1.3\bin\gcc.exe 
VERSION.txt
Rtools version 3.3.0.1958 
Version: 3.3 
[1] TRUE

***************************************ERROR MESSAGE******************************************

* installing *source* package 'rCharts' ...
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
Warning in library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) :
  there is no package called 'rCharts'
Error: loading failed
Execution halted
*** arch - x64
Warning in library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) :
  there is no package called 'rCharts'
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing '\\XXXX/users$/XXXX/My Documents/R/win-library/3.2/rCharts'
Error: Command failed (1)

*******************************************Session Info*******************************************************

R version 3.2.1 (2015-06-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

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     

other attached packages:
[1] devtools_1.8.0

loaded via a namespace (and not attached):
 [1] httr_0.6.1      magrittr_1.5    rversions_1.0.1 tools_3.2.1    
 [5] RCurl_1.95-4.6  curl_0.9        Rcpp_0.11.6     memoise_0.2.1  
 [9] xml2_0.1.1      stringi_0.4-1   git2r_0.10.1    stringr_1.0.0  
[13] digest_0.6.8    bitops_1.0-6   

Sean Murphy

unread,
Jun 22, 2015, 10:56:21 PM6/22/15
to rdev...@googlegroups.com
I have resolved this issue...

It was a UNC path on a network that was causing the problem.  I resolved the issue by changing the UNC path to a path mapped to a drive letter and replacing the UNC path in .libPath() with the drive letter version.  More on this issue (where I finally found the answer) may be found here.

Reply all
Reply to author
Forward
0 new messages