I keep struggling installing shiny on a ubuntu 20.4 vm on EC2. I followed this procedure. Then I tried:
install.packages("shiny")
install.packages("shiny", dependencies = T)
install.packages("shiny", dependencies = T, INSTALL_opts ='--no-lock')
I also add 4GB of SWAP memory.
But no way...
Here are my outputs:
** R ** demo ** byte-compile and prepare package for lazy loading Error: package ‘promises’ was installed before R 4.0.0: please re-install it Execution halted ERROR: lazy loading failed for package ‘httpuv’
- removing ‘/usr/local/lib/R/site-library/httpuv’ ERROR: dependency ‘openssl’ is not available for package ‘httr’
- removing ‘/usr/local/lib/R/site-library/httr’ ERROR: dependency ‘textshaping’ is not available for package ‘ragg’
- removing ‘/usr/local/lib/R/site-library/ragg’ ERROR: dependency ‘httpuv’ is not available for package ‘shiny’
- removing ‘/usr/local/lib/R/site-library/shiny’ ERROR: dependency ‘httr’ is not available for package ‘webdriver’
- removing ‘/usr/local/lib/R/site-library/webdriver’ ERROR: dependencies ‘httr’, ‘shiny’, ‘webdriver’, ‘httpuv’ are not available for package ‘shinytest’
- removing ‘/usr/local/lib/R/site-library/shinytest’
The downloaded source packages are in ‘/tmp/RtmpGvP9AB/downloaded_packages’ Warning messages: 1: In install.packages("shiny", dependencies = TRUE) : installation of package ‘openssl’ had non-zero exit status 2: In install.packages("shiny", dependencies = TRUE) : installation of package ‘textshaping’ had non-zero exit status 3: In install.packages("shiny", dependencies = TRUE) : installation of package ‘httpuv’ had non-zero exit status 4: In install.packages("shiny", dependencies = TRUE) : installation of package ‘httr’ had non-zero exit status 5: In install.packages("shiny", dependencies = TRUE) : installation of package ‘ragg’ had non-zero exit status 6: In install.packages("shiny", dependencies = TRUE) : installation of package ‘shiny’ had non-zero exit status 7: In install.packages("shiny", dependencies = TRUE) : installation of package ‘webdriver’ had non-zero exit status 8: In install.packages("shiny", dependencies = TRUE) : installation of package ‘shinytest’ had non-zero exit status
Each time I try to install a dependency "by hand", an other missing one, deeper nested, shows up.
Could someone help me with this, please ?