Skip to content

[R] package development builds broken for Windows and MacOS #35472

@jeroen

Description

@jeroen

Describe the bug, including details regarding any error messages, version, and platform.

If we try to build the R package on Windows or MacOS from a checkout, it fails at a point where it is supposed to download a suitable nightly build of libarrow:

remotes::install_github('apache/arrow/r')
# -- R CMD build -------------------------------------------
# -  preparing 'arrow': (392ms)
# -  checking DESCRIPTION meta-information
# -  cleaning src
# -  checking for LF line-endings in source and make files and shell scripts
# -  checking for empty or unneeded directories
# -  building 'arrow_12.0.0.9000.tar.gz'
# Installing package into ‘C:/Users/Jeroen/AppData/Local/R/win-library/4.3’
# (as ‘lib’ is unspecified)
# * installing *source* package 'arrow' ...
# ** using staged installation
# Warning message:
# In unzip("lib.zip", exdir = "windows") :
#   error 1 in extracting from zip file
...
# using C++17
# g++  -std=gnu++17 -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I../windows//include -DARROW_STATIC -DPARQUET_STATIC -DARROW_DS_STATIC               -DARROW_ACERO_STATIC -DARROW_R_WITH_PARQUET -DARROW_R_WITH_ACERO               -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -I'C:/Users/Jeroen/AppData/Local/R/win-library/4.3/cpp11/include'   -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RTasks.cpp -o RTasks.o
# In file included from RTasks.cpp:18:
# ./r_task_group.h:20:10: fatal error: arrow/util/parallel.h: No such file or directory
#    20 | #include <arrow/util/parallel.h>
#       |          ^~~~~~~~~~~~~~~~~~~~~~~
# compilation terminated.

Same on MacOS.

I'm not sure if it is related, but the builds on https://nightlies.apache.org/arrow/r/libarrow/bin/ have not been updated for 6 weeks. But even before that it was not working, I think the R package script does not not find the correct URLs.

Component(s)

R

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions