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

ab-initio.mit.edu down --> caret installation gets stucked #640

Closed
ross85 opened this issue Apr 26, 2017 · 11 comments
Closed

ab-initio.mit.edu down --> caret installation gets stucked #640

ross85 opened this issue Apr 26, 2017 · 11 comments

Comments

@ross85
Copy link

ross85 commented Apr 26, 2017

Hello,
I am trying to install caret using install.packages("caret") but one dependency is offline so I get the following error:

I know I can probably install NLopt manually, but this could create some troubles.

@topepo
Copy link
Owner

topepo commented Apr 26, 2017

Try using a different mirror (maybe cran.r-project.org or cran.rstudio.com)

@ross85
Copy link
Author

ross85 commented Apr 26, 2017

Now it's online again, but whichever mirror you use it goes to http://ab-initio.mit.edu to download NLopt (it's not an R package).

@topepo
Copy link
Owner

topepo commented Apr 26, 2017

What OS are you on?

@ross85
Copy link
Author

ross85 commented Apr 26, 2017

Ubuntu 16.04

@topepo
Copy link
Owner

topepo commented Apr 26, 2017

Try using sudo apt-get install libnlopt-dev

@topepo
Copy link
Owner

topepo commented Apr 26, 2017

Also, this link gets you to the sources

@ross85
Copy link
Author

ross85 commented Apr 27, 2017

That's fine, as I pointed out in the original post I know I can install the library before (and setting paths and env variables), but I guess a lot of people will have trouble installing CARET if that dependency goes down again.

@topepo
Copy link
Owner

topepo commented Apr 29, 2017

Okay, now it's really getting on my nerves.

caret gets it though the dependency on car (caret -> car -> pbkrtest -> lme4 -> nloptr)

I use car for the Yeo-Johnson transformation but I recently wrote that from scratch for another package. I'd rather move that code into caret than keep the car dependency.

@sinkagergo
Copy link

When I am trying to install, I get the below message:

devtools::install_github('topepo/caret/pkg/caret')
Downloading GitHub repo topepo/caret@master
from URL https://api.github.com/repos/topepo/caret/zipball/master
Error: running command '"C:/PROGRA1/R/R-341.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD config CC' had status 127

Any ideas why?

Thanks!

@topepo
Copy link
Owner

topepo commented Sep 21, 2017

No idea. Can you send sessionInfo()?

@topepo
Copy link
Owner

topepo commented Sep 21, 2017

Also, try this

philipp-baumann added a commit to philipp-baumann/simplerspec that referenced this issue Dec 28, 2017
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