In a new RStudio Cloud project, when installing tidyr
, I got this. Sorry there is a lot of output, but if you scroll down you see the 500 error for tidyr
itself:
> install.packages("tidyr")
Installing package into ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)
also installing the dependencies ‘cli’, ‘crayon’, ‘utf8’, ‘generics’, ‘R6’, ‘pillar’, ‘fansi’, ‘pkgconfig’, ‘dplyr’, ‘ellipsis’, ‘glue’, ‘lifecycle’, ‘magrittr’, ‘purrr’, ‘rlang’, ‘tibble’, ‘tidyselect’, ‘vctrs’, ‘cpp11’
trying URL 'http://package-proxy/focal/src/contrib/cli_3.0.1.tar.gz'
Content type 'application/x-tar' length 727103 bytes (710 KB)
==================================================
downloaded 710 KB
trying URL 'http://package-proxy/focal/src/contrib/crayon_1.4.1.tar.gz'
Content type 'application/x-tar' length 140493 bytes (137 KB)
==================================================
downloaded 137 KB
trying URL 'http://package-proxy/focal/src/contrib/utf8_1.2.2.tar.gz'
Content type 'application/x-tar' length 237320 bytes (231 KB)
==================================================
downloaded 231 KB
trying URL 'http://package-proxy/focal/src/contrib/generics_0.1.0.tar.gz'
Content type 'application/x-tar' length 68376 bytes (66 KB)
==================================================
downloaded 66 KB
trying URL 'http://package-proxy/focal/src/contrib/R6_2.5.1.tar.gz'
Content type 'application/x-tar' length 82501 bytes (80 KB)
==================================================
downloaded 80 KB
trying URL 'http://package-proxy/focal/src/contrib/pillar_1.6.3.tar.gz'
Content type 'application/x-tar' length 1066946 bytes (1.0 MB)
==================================================
downloaded 1.0 MB
trying URL 'http://package-proxy/focal/src/contrib/fansi_0.5.0.tar.gz'
Content type 'application/x-tar' length 282628 bytes (276 KB)
==================================================
downloaded 276 KB
trying URL 'http://package-proxy/focal/src/contrib/pkgconfig_2.0.3.tar.gz'
Content type 'application/x-tar' length 19198 bytes (18 KB)
==================================================
downloaded 18 KB
trying URL 'http://package-proxy/focal/src/contrib/dplyr_1.0.7.tar.gz'
Content type 'application/x-tar' length 1282950 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
trying URL 'http://package-proxy/focal/src/contrib/ellipsis_0.3.2.tar.gz'
Content type 'application/x-tar' length 40784 bytes (39 KB)
==================================================
downloaded 39 KB
trying URL 'http://package-proxy/focal/src/contrib/glue_1.4.2.tar.gz'
Content type 'application/x-tar' length 144820 bytes (141 KB)
==================================================
downloaded 141 KB
trying URL 'http://package-proxy/focal/src/contrib/lifecycle_1.0.1.tar.gz'
Content type 'application/x-tar' length 108371 bytes (105 KB)
==================================================
downloaded 105 KB
trying URL 'http://package-proxy/focal/src/contrib/magrittr_2.0.1.tar.gz'
Content type 'application/x-tar' length 225306 bytes (220 KB)
==================================================
downloaded 220 KB
trying URL 'http://package-proxy/focal/src/contrib/purrr_0.3.4.tar.gz'
Content type 'application/x-tar' length 435909 bytes (425 KB)
==================================================
downloaded 425 KB
trying URL 'http://package-proxy/focal/src/contrib/rlang_0.4.11.tar.gz'
Content type 'application/x-tar' length 1407854 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
trying URL 'http://package-proxy/focal/src/contrib/tibble_3.1.4.tar.gz'
Content type 'application/x-tar' length 858131 bytes (838 KB)
==================================================
downloaded 838 KB
trying URL 'http://package-proxy/focal/src/contrib/tidyselect_1.1.1.tar.gz'
Content type 'application/x-tar' length 202346 bytes (197 KB)
==================================================
downloaded 197 KB
trying URL 'http://package-proxy/focal/src/contrib/vctrs_0.3.8.tar.gz'
Content type 'application/x-tar' length 1627880 bytes (1.6 MB)
==================================================
downloaded 1.6 MB
trying URL 'http://package-proxy/focal/src/contrib/cpp11_0.4.0.tar.gz'
Content type 'application/x-tar' length 309530 bytes (302 KB)
==================================================
downloaded 302 KB
trying URL 'http://package-proxy/focal/src/contrib/tidyr_1.1.4.tar.gz'
Warning in install.packages :
cannot open URL 'http://package-proxy/focal/src/contrib/tidyr_1.1.4.tar.gz': HTTP status was '500 Internal Server Error'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'http://package-proxy/focal/src/contrib/tidyr_1.1.4.tar.gz'
Warning in install.packages :
download of package ‘tidyr’ failed
* installing *binary* package ‘crayon’ ...
* DONE (crayon)
* installing *binary* package ‘utf8’ ...
* DONE (utf8)
* installing *binary* package ‘generics’ ...
* DONE (generics)
* installing *binary* package ‘R6’ ...
* DONE (R6)
* installing *binary* package ‘fansi’ ...
* DONE (fansi)
* installing *binary* package ‘pkgconfig’ ...
* DONE (pkgconfig)
* installing *binary* package ‘glue’ ...
* DONE (glue)
* installing *binary* package ‘magrittr’ ...
* DONE (magrittr)
* installing *binary* package ‘rlang’ ...
* DONE (rlang)
* installing *binary* package ‘cpp11’ ...
* DONE (cpp11)
* installing *binary* package ‘cli’ ...
* DONE (cli)
* installing *binary* package ‘ellipsis’ ...
* DONE (ellipsis)
* installing *binary* package ‘lifecycle’ ...
* DONE (lifecycle)
* installing *binary* package ‘purrr’ ...
* DONE (purrr)
* installing *binary* package ‘vctrs’ ...
* DONE (vctrs)
* installing *binary* package ‘pillar’ ...
* DONE (pillar)
* installing *binary* package ‘tidyselect’ ...
* DONE (tidyselect)
* installing *binary* package ‘tibble’ ...
* DONE (tibble)
* installing *binary* package ‘dplyr’ ...
* DONE (dplyr)
The downloaded source packages are in
‘/tmp/RtmpZw6ccH/downloaded_packages’
Is there anyway around this? Outside of RStudio Cloud, specifically in fresh rocker/r-ver:latest container, I had no problem installing tidyr
with the repository server being https://packagemanager.rstudio.com
. Can we change RStudio Cloud to use a different repo server?
For reference, the RStudio project URL is RStudio Cloud