nealrichardson commented on issue #35083: URL: https://github.com/apache/arrow/issues/35083#issuecomment-1507042507
The `invalid version specification` comes from here: https://github.com/apache/arrow/blob/main/r/R/arrow-package.R#L210 because it seems `Sys.info()["release"]` on your setup is not parseable as a numeric version. This should work around: ``` diff --git a/r/R/arrow-package.R b/r/R/arrow-package.R index a3c860a51c..9fc89b46ea 100644 --- a/r/R/arrow-package.R +++ b/r/R/arrow-package.R @@ -207,7 +207,8 @@ on_linux_dev <- function() { on_macos_10_13_or_lower <- function() { identical(unname(Sys.info()["sysname"]), "Darwin") && - package_version(unname(Sys.info()["release"])) < "18.0.0" + # wrap in isTRUE because package_version can return NA + isTRUE(package_version(unname(Sys.info()["release"]), strict = FALSE) < "18.0.0") } option_use_threads <- function() { ``` -- 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]
