Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16639

[R] Improve package installation (on Fedora 36) with arrow system packages

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • R
    • None

    Description

      Fedora 36 includes both a 'libarrow' and a 'libarrow-dataset' package under pkg-config names 'arrow' and 'arrow-dataset', respectively. When we do install.packages("arrow") on Fedora 36, the pkg-config for 'arrow' gets picked up first, and we get a minimal arrow install. Installing with NOT_CRAN=true ARROW_USE_PKG_CONFIG=false results in a full compiled installation because binaries are not available for fedora-36 (according to the install output).

      Reported by Roger Bivand (while testing GDAL + Arrow support since Fedora 36 is the easiest place to do that due to system Arrow): https://github.com/paleolimbot/narrow/issues/7

      Reproducble using the fedora:36 docker container:

      # docker run --rm -it fedora:36
      dnf install -y R libarrow-dataset-devel cmake
      R -e 'install.packages("arrow", repos = "https://cloud.r-project.org/")'
      R -e 'arrow::arrow_info()$capabilities'
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            paleolimbot Dewey Dunnington

            Dates

              Created:
              Updated:

              Slack

                Issue deployment