nealrichardson commented on code in PR #37777:
URL: https://github.com/apache/arrow/pull/37777#discussion_r1329022369


##########
r/R/arrow-package.R:
##########
@@ -196,6 +196,20 @@ configure_tzdb <- function() {
         )
       )
     }
+
+    # On MacOS only, Check if we are running in under emulation, and warn this 
will not work
+    rosetta <- identical(sysname, "darwin") && identical(system("sysctl -n 
sysctl.proc_translated", intern = TRUE), "1")

Review Comment:
   I see this is also in install_arrow(), NBD but we could factor this out and 
put it in arrow-package.R alongside `on_macos_10_13_or_lower()` et al.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to