GREA icon indicating copy to clipboard operation
GREA copied to clipboard

Cannot install - no package called GREA

Open petbadger opened this issue 8 years ago • 1 comments

I've tried installing this with MRO 3.3.0 64bit, R 3.3.0 64bit and 32bit all on Win7. It gives similar errors. I also tried doing this in Rstudio and the R command prompt. Same errors.

devtools::install_github("Stan125/GREA") Downloading GitHub repo Stan125/GREA@master from URL https://api.github.com/repos/Stan125/GREA/zipball/master Installing GREA "C:/PROGRA~1/R/R-33~1.0/bin/x64/R" --no-site-file --no-environ --no-save
--no-restore --quiet CMD INSTALL
"C:/Users/[user]/AppData/Local/Temp/Rtmp4Qvf49/devtools2bb019b06959/Stan125-GREA-8eb2b3f"
--library="\clus-file-01/userdirs/[user]/Documents/R/win-library/3.3"
--install-tests

  • installing source package 'GREA' ... ** R ** inst ** tests ** 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 'GREA' 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 'GREA' Error: loading failed Execution halted ERROR: loading failed for 'i386', 'x64'
  • removing '\clus-file-01/userdirs/[user]/Documents/R/win-library/3.3/GREA' Error: Command failed (1)

Perhaps it's because my R lib folder is a network share?

I quickly tried installing it on my Ubuntu Mate box, and that worked fine. So I'm pretty sure it's something odd about the setup on my Windows machine.

petbadger avatar Jul 28 '16 17:07 petbadger

Hi petbadger,

There have been some problems reported regarding installing GREA on network computers. What you can do, is: Specify your package install location with .libPaths(PATH_NAME) and insert a path that you have read and write rights for. Then, install GREA again. It should work now. It might be that you have to re-do this when you restart R, that depends on your administrator rights.

All the Best, Stani

Stan125 avatar Jul 29 '16 15:07 Stan125