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

Issues getting packages from MRAN #32

Closed
mhines-usgs opened this issue Jun 28, 2017 · 6 comments
Closed

Issues getting packages from MRAN #32

mhines-usgs opened this issue Jun 28, 2017 · 6 comments

Comments

@mhines-usgs
Copy link

I am also having issues just starting today, whereas before I had no problems yesterday with the same Travis build using mran as a source repo

My Travis command:

#Install First Set of Dependencies
  - Rscript -e 'install.packages(c("bitops","Rcpp","digest","magrittr","stringi","stringr","yaml","evaluate","formatr","highr","R6","assertthat","lazyeval","DBI","jsonlite","brew","mime","curl","caTools","openssl","memoise","whisker","rstudioapi","git2r","withr","markdown","knitr","htmltools", "rmarkdown","RCurl","htmlTable","roxygen2","dplyr","lubridate", "readr", "base64enc", "whisker"), repos="http://mran.microsoft.com/snapshot/2017-02-08", type="source")'

Output when running looks like:

travis_fold:end:R-session-info
�[0Ktravis_fold:start:install.1
�[0Ktravis_time:start:29ee26ca
�[0K$ Rscript -e 'install.packages(c("bitops","Rcpp","digest","magrittr","stringi","stringr","yaml","evaluate","formatr","highr","R6","assertthat","lazyeval","DBI","jsonlite","brew","mime","curl","caTools","openssl","memoise","whisker","rstudioapi","git2r","withr","markdown","knitr","htmltools", "rmarkdown","RCurl","htmlTable","roxygen2","dplyr","lubridate", "readr", "base64enc", "whisker"), repos="http://mran.microsoft.com/snapshot/2017-02-08", type="source")'
Installing packages into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository http://mran.microsoft.com/snapshot/2017-02-08/src/contrib:
  cannot open URL 'http://mran.microsoft.com/snapshot/2017-02-08/src/contrib/PACKAGES'
Warning message:
packages ‘bitops’, ‘Rcpp’, ‘digest’, ‘magrittr’, ‘stringi’, ‘stringr’, ‘yaml’, ‘evaluate’, ‘formatr’, ‘highr’, ‘R6’, ‘assertthat’, ‘lazyeval’, ‘DBI’, ‘jsonlite’, ‘brew’, ‘mime’, ‘curl’, ‘caTools’, ‘openssl’, ‘memoise’, ‘whisker’, ‘rstudioapi’, ‘git2r’, ‘withr’, ‘markdown’, ‘knitr’, ‘htmltools’, ‘rmarkdown’, ‘RCurl’, ‘htmlTable’, ‘roxygen2’, ‘dplyr’, ‘lubridate’, ‘readr’, ‘base64enc’ are not available (for R version 3.3.2) 

Any tips as to what has changed?

@kschaab
Copy link

kschaab commented Jun 28, 2017

Hi Megan,

It looks like the http call is redirecting to https. We made some changes to mran last night and are investigating.

Keith

@mhines-usgs
Copy link
Author

Thank you Keith!

@kschaab
Copy link

kschaab commented Jun 28, 2017

Hi Megan,

We fixed the redirect to https, so your script should work now, can you confirm please?

Keith

@mhines-usgs
Copy link
Author

mhines-usgs commented Jun 28, 2017

@mhines-usgs
Copy link
Author

Hey, thank you, that did the trick!

@kschaab kschaab closed this as completed Jun 28, 2017
@kschaab
Copy link

kschaab commented Jun 28, 2017

Thanks for confirming Megan!

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

2 participants