Skip to content

[R] incompatibility with M2 and M3 processors in macOS #40991

@rafapereirabr

Description

@rafapereirabr

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

It seems there is some incompatibility between the current version of the {arrow} package in R and the M2 and M3 processors in macOS. Two colleagues who have laptops with those processors have found the following ERROR when trying to run the code below:

data("mtcars")
head(mtcars)

arrow::write_parquet(mtcars, 'mtcars.parquet')

df <- arrow::read_parquet('mtcars.parquet', as_data_frame = F)
head(df)

Error in parquet__WriterProperties_Builder_create() :
Cannot call parquet__WriterProperties_Builder_create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries

observation 1. This error does not occur in macOS or pcs with Intel processors.
observation 2. I develop the {censobr} package, which imports {arrow}, and I also noticed that the package passes all CMD Checks in all operational systems, except in macOS. See the latest cmd chek here.

Component(s)

R

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions