0

i try to :

> install.packages("randomcoloR")
......
Error in curl::curl_download("https://github.com/jeroen/V8/releases/download/v3.6.0/v8-9.6.180.12-amd64.tar.gz",  : 
  Timeout was reached: [] Connection timed out after 10001 milliseconds
Execution halted
tar (child): libv8.tar.gz: Cannot open: No such file or directory
......

so i try to :

> curl::curl_download("https://github.com/jeroen/V8/releases/download/v3.6.0/v8-9.6.180.12-amd64.tar.gz")

and i get :

 Error in normalizePath(destfile, mustWork = FALSE) : 
      argument "destfile" is missing, with no default

so,what should i do?

  • i used : devtools::install_github("jeroen/V8") and got the same error – Yimeng Sang May 26 '22 at 13:21
  • 1
    Your title says RColorBrewer but your code looks like you are working with randomcoloR. So is RColorBrewer actually involved here at all? – MrFlick May 26 '22 at 13:33
  • The [V8 Github page](https://github.com/jeroen/V8/) says under "installation" *"On Linux you need a suitable `libv8` installation, see below."* and then offers a few steps. Have you done those steps? Some are CentOS-specific. – Gregor Thomas May 26 '22 at 15:56
  • And the `curl::download` argument is pretty clear - it requires at least 2 arguments, (1) the URL, which you have, and (2) `destfile` where you want to save the file, which you don't have. – Gregor Thomas May 26 '22 at 15:58
  • oh,sorry,I wrote the wrong title. – Yimeng Sang Jun 16 '22 at 13:06
  • i used V8 Github page : `Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1) install.packages("V8")` and return `Error in curl::curl_download("https://github.com/jeroen/V8/releases/download/v3.6.0/v8-9.6.180.12-amd64.tar.gz", : Empty reply from server` – Yimeng Sang Jun 16 '22 at 13:25
  • I think it's possible that my network could not connect to Github – Yimeng Sang Jun 16 '22 at 13:27

0 Answers0