You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dewey Dunnington (Jira)" <ji...@apache.org> on 2022/04/04 13:56:00 UTC

[jira] [Commented] (ARROW-16103) [R] arrow::create_package_with_all_dependencies() fails to download third party dependencies

    [ https://issues.apache.org/jira/browse/ARROW-16103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516838#comment-17516838 ] 

Dewey Dunnington commented on ARROW-16103:
------------------------------------------

I also wish JIRA would do Markdown!

It is a known bug that {{arrow::create_package_with_all_dependencies()}} doesn't work on Windows (ARROW-15092, ARROW-15608); however, I can't seem to reproduce this on Ubuntu:

{noformat}
# docker run --rm -it ubuntu:focal
apt-get update && apt-get install -y r-base libcurl4-openssl-dev
NOT_CRAN=true R -e 'install.packages("arrow")'
R -e 'arrow::create_package_with_all_dependencies()'
{noformat}

We did notice in the process of reproducing this that the URL https://arrow-r-nightly.s3.amazonaws.com/libarrow/bin/ubuntu-18.04/arrow-7.0.0.zip seems to be missing (we're working on fixing it), although that didn't seem to affect {{R -e 'arrow::create_package_with_all_dependencies()'}} when I ran it.


> [R] arrow::create_package_with_all_dependencies() fails to download third party dependencies
> --------------------------------------------------------------------------------------------
>
>                 Key: ARROW-16103
>                 URL: https://issues.apache.org/jira/browse/ARROW-16103
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, R
>    Affects Versions: 7.0.0
>         Environment: Windows 10
> Ubuntu Focal
> OpenSuse ESP 15SP2
>            Reporter: Daniel Paierl
>            Priority: Minor
>
> Hello, Im in the unfortunate position that I need to get the arrow package to a company R Server without access to the web.
> h2. Main Problem
> `arrow;;create_package_with_all_dependencies` from the R arrow package (7.0) fails to download the third party dependencies. This happens irrespective of OS (Windows, Ubuntu Focal, OpenSuse EPS 15 SP2) on company and private machines (several...).
> I suspect an issue with the function or the underlying shell script that downloads these third party dependencies.
>  
> Similar to [this Stackexchange thread]([https://stackoverflow.com/questions/70044518/how-to-install-c-dependencies-for-the-arrow-package).|https://stackoverflow.com/questions/70044518/how-to-install-c-dependencies-for-the-arrow-package)]
>  
> {code:java}
> arrow::create_package_with_all_dependencies()
> Downloading Arrow source file
> trying URL 'https://cran.rstudio.com/src/contrib/arrow_7.0.0.tar.gz'
> Content type 'application/x-gzip' length 4553836 bytes (4.3 MB)
> downloaded 4.3 MB
> Downloading files to C:\Users\<user_here>\AppData\Local\Temp\4\Rtmp0srhMl\file1475c6909878/arrow/tools/thirdparty_dependencies
> Error in arrow::create_package_with_all_dependencies() : 
>   Failed to download thirdparty dependencies
> {code}
>  
> PS: Ghee I wish Jira would have simple MD support.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)