When I try to install a package using remotes::install_github it does not work if I run the command from RStudio Server, but it works when I run it using a regular R connection through the linux terminal on the same server and project folder (packrat enabled).
This is the command I try to run:
remotes::install_github("traversc/qs", configure.args="--with-simd=AVX2")
This is the error in RStudio Server:
Downloading GitHub repo traversc/qs@master
Error in utils::download.file(url, path, method = download_method(), quiet = quiet, :
cannot open URL 'https://api.github.com/repos/traversc/qs/zipball/master'
In a regular (outside RStudio) R session, same project, the previous command works fine.
The same situation happens when installing Bioconductor packages. From the terminal they install Ok, but not from RStudio Server.
System Information:
- RStudio Edition: Server, in evaluation
- RStudio Version: 1.1.463
- OS Version: Ubuntu 18.04
- R Version: 3.5.1