Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install GREA #20

Closed
aalokjha opened this issue Jul 19, 2016 · 8 comments
Closed

Unable to install GREA #20

aalokjha opened this issue Jul 19, 2016 · 8 comments

Comments

@aalokjha
Copy link

Hi Stan -

I followed the instructions to install this addin but got the following error. Can you please help resolve this?

devtools::install_github("Stan125/GREA")
Downloading GitHub repo Stan125/GREA@master
Error in packageVersion("curl") : package ‘curl’ not found

Can you please help resolve this?

Thanks!

@Stan125
Copy link
Owner

Stan125 commented Jul 19, 2016

try installing curl first:
install.packages("curl")
and if that works you should be able to continue with:
devtools::install_github("Stan125/GREA")

@aalokjha
Copy link
Author

Thanks for the help. I installed 'curl' but another issue cropped up. Below is the error message.

package ‘curl’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\alokranjan\AppData\Local\Temp\RtmpSuKbV0\downloaded_packages

devtools::install_github("Stan125/GREA")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘digest’
devtools::install_github("Stan125/GREA")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘digest

@Stan125
Copy link
Owner

Stan125 commented Jul 19, 2016

something seems to be weird with the location of your packages.
First, look where your packages were installed to. Then, check where R looks for your packages. You can do this with .libPaths(). Take a look here.
If this still doesn't help, it seems like you have to install every package that's missing with install.packages("package_name").

@aalokjha
Copy link
Author

Thanks for all help!

@aalokjha
Copy link
Author

Thanks much Stan! I was able to install it finally. Thanks for all your help!!

@vstarkweather
Copy link

Hi Stan:

Here's the error message I get on attempting the download and installation of GREA:

> devtools::install_github("Stan125/GREA")
Downloading GitHub repo Stan125/GREA@master
from URL https://api.github.com/repos/Stan125/GREA/zipball/master
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Peer certificate cannot be authenticated with given CA certificates

@aalokjha
Copy link
Author

I would suggest to close all the open R instances on your computer first. Then start afresh with the code above. It should work. Else, check for the library path, if it is correctly getting downloaded there. That should resolve it. At least that is what worked for me.

@Stan125
Copy link
Owner

Stan125 commented Jul 22, 2016

It looks more like a problem with the download using curl. Maybe check if you have the newest version of curl. Also, check if you have the right system time. Look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants