Open mylesg opened 10 years ago
Can you try installing another package from github
to check if the issue is related to rMaps
at all in the first place?
Thanks. I think we are narrowing.
So I did this:
require(devtools) install_github("roxygen")
And it crashed too.
(I rarely use github tools)
I would report this on the devtools issues page, since install_github
is a devtools function and you seem to be having trouble with other packages. While reporting this there, make sure to include the output of sessionInfo()
as it would help understanding your R configuration.
This group?
Yes.
thanks- on there now. Appreciate it. Had your package working yesterday. Loved it. Was planning to show it to my students on Wed.
One more. I moved to my Windows 7 partition to get it to work.
I get a different error- It loads the first one (rCharts) but then fails on the github...rmaps
Says: Warning message: package ‘rCharts’ is not available (for R version 3.1.1)
require(devtools)
install_github('ramnathv/rCharts@dev') Installing github repo rCharts/dev from ramnathv Downloading dev.zip from https://github.com/ramnathv/rCharts/archive/dev.zip Installing package from C:\Users\MPGART~1\AppData\Local\Temp\Rtmp4EhVQz/dev.zip Installing rCharts "C:/PROGRA~1/R/R-31~1.1/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\mpgartland1\AppData\Local\Temp\Rtmp4EhVQz\devtools9e015f4512b\rCharts-dev" \ --library="\psf/Home/Documents/R/win-library/3.1" --install-tests
- installing source package 'rCharts' ... * R * inst \ preparing package for lazy loading Error in loadNamespace(name) : there is no package called 'base64enc' Error : unable to load R code in package 'rCharts' ERROR: lazy loading failed for package 'rCharts'
- removing '\psf/Home/Documents/R/win-library/3.1/rCharts'
install_github('ramnathv/rMaps') Installing github repo rMaps/master from ramnathv Downloading master.zip from https://github.com/ramnathv/rMaps/archive/master.zip Installing package from C:\Users\MPGART~1\AppData\Local\Temp\Rtmp4EhVQz/master.zip Installing rMaps Installing dependencies for rMaps: rCharts Installing package into ‘\psf/Home/Documents/R/win-library/3.1’ (as ‘lib’ is unspecified) "C:/PROGRA~1/R/R-31~1.1/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\mpgartland1\AppData\Local\Temp\Rtmp4EhVQz\devtools9e02e0f7b8e\rMaps-master" \ --library="\psf/Home/Documents/R/win-library/3.1" --install-tests
ERROR: dependency 'rCharts' is not available for package 'rMaps'
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 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
other attached packages: [1] acs_1.2 choroplethr_1.7.0 devtools_1.5
loaded via a namespace (and not attached):
[1] cluster_1.15.2 colorspace_1.2-4 digest_0.6.4 evaluate_0.5.5
[5] Formula_1.1-2 ggplot2_1.0.0 grid_3.1.1 gtable_0.1.2
[9] Hmisc_3.14-4 httr_0.3 lattice_0.20-29 latticeExtra_0.6-26
[13] MASS_7.3-33 memoise_0.2.1 munsell_0.4.2 parallel_3.1.1
[17] plyr_1.8.1 proto_0.3-10 RColorBrewer_1.0-5 Rcpp_0.11.2
[21] RCurl_1.95-4.1 reshape2_1.4 scales_0.2.4 splines_3.1.1
[25] stringr_0.6.2 survival_2.37-7 tools_3.1.1 whisker_0.3-2
[29] XML_3.98-1.1
I fixed that bug in the master branch, but failed to do it in dev. As a workaround, run this first before reinstalling rMaps as you have done before.
install.packages('base64enc')
Thanks. Just did. Exact same fail.
I meant reinstalling both rCharts
and rMaps
as you did before. If you read the error message posted earlier, it is failing to install rCharts
in the first place.
This is my sequence: It fails when it hits both install_githubs on the rChart.
require(devtools) install.packages('base64enc') require(base64enc) install_github('ramnathv/rCharts@dev') install_github('ramnathv/rMaps') install.packages("choroplethr") install.packages("acs") library(rMaps) library(choroplethr) library(acs)
install_github('ramnathv/rCharts@dev') Installing github repo rCharts/dev from ramnathv Downloading dev.zip from https://github.com/ramnathv/rCharts/archive/dev.zip Installing package from C:\Users\MPGART~1\AppData\Local\Temp\Rtmp86Pycr/dev.zip Installing rCharts "C:/PROGRA~1/R/R-31~1.1/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\mpgartland1\AppData\Local\Temp\Rtmp86Pycr\devtools96c42d31e6c\rCharts-dev" \ --library="\psf/Home/Documents/R/win-library/3.1" --install-tests
- installing source package 'rCharts' ... * R * inst * preparing package for lazy loading * help ** installing help indices * building package indices \ testing if installed package can be loaded 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
- removing '\psf/Home/Documents/R/win-library/3.1/rCharts' Error: Command failed (1) install_github('ramnathv/rMaps') Installing github repo rMaps/master from ramnathv Downloading master.zip from https://github.com/ramnathv/rMaps/archive/master.zip Installing package from C:\Users\MPGART~1\AppData\Local\Temp\Rtmp86Pycr/master.zip Installing rMaps Installing dependencies for rMaps: rCharts Installing package into ‘\psf/Home/Documents/R/win-library/3.1’ (as ‘lib’ is unspecified) "C:/PROGRA~1/R/R-31~1.1/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\mpgartland1\AppData\Local\Temp\Rtmp86Pycr\devtools96c37b84c1b\rMaps-master" \ --library="\psf/Home/Documents/R/win-library/3.1" --install-tests
ERROR: dependency 'rCharts' is not available for package 'rMaps'
Can you try installing the master branch of rCharts
?
devtools::install_github('ramnathv/rCharts')
Assuming I understood. I just ran that line.
devtools::install_github('ramnathv/rCharts') Installing github repo rCharts/master from ramnathv Downloading master.zip from https://github.com/ramnathv/rCharts/archive/master.zip Installing package from C:\Users\MPGART~1\AppData\Local\Temp\Rtmp86Pycr/master.zip Installing rCharts "C:/PROGRA~1/R/R-31~1.1/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\mpgartland1\AppData\Local\Temp\Rtmp86Pycr\devtools96c36797e22\rCharts-master" \ --library="\psf/Home/Documents/R/win-library/3.1" --install-tests
- 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 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
- removing '\psf/Home/Documents/R/win-library/3.1/rCharts' Error: Command failed (1)
Are you able to install any package from github on this machine?
Just been trying. Can't get any today (i did this yesterday successfully). Let me move to another machine.
If you are interested. I sent the same code sequence to a friend of mine. Different set-up, different company, etc. He got this error set.
install.packages("devtools") Installing package into ‘C:/Users/Mark/Documents/R/win-library/3.0’ (as ‘lib’ is unspecified) trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/devtools_1.5.zip' Content type 'application/zip' length 254408 bytes (248 Kb) opened URL downloaded 248 Kb
package ‘devtools’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\Mark\AppData\Local\Temp\Rtmp2NIZMX\downloaded_packages
require(devtools) Loading required package: devtools
Attaching package: ‘devtools’
The following objects are masked from ‘package:utils’:
?, help
The following object is masked from ‘package:base’:
system.file
Warning message: package ‘devtools’ was built under R version 3.0.3
install_github('ramnathv/rCharts@dev') Installing github repo rCharts/dev from ramnathv Downloading dev.zip from https://github.com/ramnathv/rCharts/archive/dev.zip Installing package from C:\Users\Mark\AppData\Local\Temp\Rtmp2NIZMX/dev.zip Installing rCharts Installing dependencies for rCharts: yaml Installing package into ‘C:/Users/Mark/Documents/R/win-library/3.0’ (as ‘lib’ is unspecified) trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/yaml_2.1.13.zip' Content type 'application/zip' length 180034 bytes (175 Kb) opened URL downloaded 175 Kb
package ‘yaml’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\Mark\AppData\Local\Temp\Rtmp2NIZMX\downloaded_packages "C:/PROGRA~1/R/R-30~1.2/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\Mark\AppData\Local\Temp\Rtmp2NIZMX\devtools1d9859da2319\rCharts-dev" \ --library="C:/Users/Mark/Documents/R/win-library/3.0" --install-tests
install_github('ramnathv/rMaps') Installing github repo rMaps/master from ramnathv Downloading master.zip from https://github.com/ramnathv/rMaps/archive/master.zip Installing package from C:\Users\Mark\AppData\Local\Temp\Rtmp2NIZMX/master.zip Installing rMaps Installing dependencies for rMaps: rCharts Installing package into ‘C:/Users/Mark/Documents/R/win-library/3.0’ (as ‘lib’ is unspecified) "C:/PROGRA~1/R/R-30~1.2/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\Mark\AppData\Local\Temp\Rtmp2NIZMX\devtools1d986c1f7485\rMaps-master" \ --library="C:/Users/Mark/Documents/R/win-library/3.0" --install-tests
ERROR: dependency 'rCharts' is not available for package 'rMaps'
His error is also because on not installing base64enc
which the dev
branch of rCharts
needs.
Justed wanted to share I had a similar issue as reported above, and that installing 'base64enc' resolve it.
+1 for installing "base64enc" before that.
I have the below to load rmaps
load packages
require(devtools) install_github('ramnathv/rCharts@dev') install_github('ramnathv/rMaps') install.packages("choroplethr") library(rMaps) library(choroplethr)
But when it exectues the install_gitbub..... R crashes.
Can't tell if it is the new R version, the new Rstudio version or something on the Mac.
Thoughts?