Reputation: 3465
I'm installing Shiny Server for R Language in CentOS 6.5 using:
install.packages('shiny', repos='https://cran.rstudio.com/')
And get:
ERROR: compilation failed for package ‘later’
* removing ‘/usr/lib64/R/library/later’
ERROR: dependency ‘later’ is not available for package ‘promises’
* removing ‘/usr/lib64/R/library/promises’
Looking in the Internet I found that I need devtools to install it from git hub:
https://github.com/r-lib/later/issues/78
Using:
install.packages('devtools', repos='https://cran.rstudio.com/')
But get the same error:
ERROR: dependency ‘later’ is not available for package ‘promises’
How to solve this in order to install shiny?
Upvotes: 0
Views: 1958
Reputation: 3465
The problem was solved upgrading the C++ compiler in CentOS.
This guide was useful for the process:
https://edwards.sdsu.edu/research/c11-on-centos-6/
Upvotes: 0