jeroen / V8

Embedded JavaScript Engine for R
https://cran.r-project.org/package=V8
Other
201 stars 29 forks source link

Facing issue 'network unreachable' while trying to install V8 library in R code environment via Dataiku application #163

Closed supriya-patha closed 9 months ago

supriya-patha commented 1 year ago

Hi team,

We are trying to install V8 library in R code environment in Dataiku application but we are getting below error: Error in curl::curl_download("http://jeroen.github.io/V8/get-v8-linux.sh", : Failed to connect to 2606:50c0:8002::153: Network is unreachable We are performing this action with internet connectivity still facing this issue. Can you please help us with this issue?

Thanks

jeroen commented 1 year ago

Which linux distribution do you use?

supriya-patha commented 1 year ago

Hi jeroen,

We are not installing package using linux shell. We are installing it in dataiku application. We specify the package in the code environment and the application installs it. Please find the screenshot attached of the logs.

Thanks

gt_issue
jeroen commented 1 year ago

Did you try the suggestion at the bottom, to install libv8-dev or similar?

laurejo1 commented 1 year ago

Similar issue on windows due to network restriction. As published on CRAN, is it expected to need external contents?

rm -f V8.dll RcppExports.o bindings.o "C:/PROGRA~1/R/R-42~1.1/bin/x64/Rscript.exe" "../tools/ucrtlibs.R" Error in download.file("https://github.com/jeroen/V8/releases/download/v3.6.0/v8-9.1.269.38-win-ucrt.pkg.tar.xz", : cannot open URL 'https://github.com/jeroen/V8/releases/download/v3.6.0/v8-9.1.269.38-win-ucrt.pkg.tar.xz'

jeroen commented 1 year ago

Try installing the binary package from cran: install.packages("V8", type = "win.binary")

laurejo1 commented 1 year ago

works like a charm! :) thanks