Neil Currie created ARROW-17314:
-----------------------------------

             Summary: [R] Unable to install dev version of arrow: Unable to 
identify current OS/version
                 Key: ARROW-17314
                 URL: https://issues.apache.org/jira/browse/ARROW-17314
             Project: Apache Arrow
          Issue Type: Bug
          Components: R
            Reporter: Neil Currie


Reporting as per the instructions here:

[https://arrow.apache.org/docs/r/articles/install.html]

install.packages("arrow", repos = 
"https://packagemanager.rstudio.com/all/2022-08-04+Y3JhbiwyOjQ1MjYyMTU7NUNFQTk1N0Q";)

Does not work and leads to error:
installing the source package ‘arrow’
 
trying URL 
'https://packagemanager.rstudio.com/all/2022-08-04+Y3JhbiwyOjQ1MjYyMTU7NUNFQTk1N0Q/src/contrib/arrow_8.0.0.tar.gz'
Content type 'binary/octet-stream' length 4815444 bytes (4.6 MB)
==================================================
downloaded 4.6 MB
 
* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
**** pkg-config not installed, setting ARROW_DEPENDENCY_SOURCE=BUNDLED
*** Unable to identify current OS/version
*** Found local C++ source: 'tools/cpp'
*** Building libarrow from source
    For a faster, more complete installation, set the environment variable 
NOT_CRAN=true before installing
    See install vignette for details:
    https://cran.r-project.org/web/packages/arrow/vignettes/install.html
**** cmake
sh: 
/var/folders/0x/2l4gy85n1qv_5xdqc6x4mgb00000gn/T//RtmprB5JZy/filec48c7ff5b4ec/cmake-3.21.4-macos-universal/bin/cmake:
 No such file or directory
Error in system(paste("export", env_vars, "&& $CMAKE --system-information"),  : 
  error in running command
Calls: build_libarrow ... cmake_gcc_version -> cmake_cxx_compiler_vars -> system
Execution halted
------------------------- NOTE ---------------------------
There was an issue preparing the Arrow C++ libraries.
See https://arrow.apache.org/docs/r/articles/install.html
---------------------------------------------------------
ERROR: configuration failed for package ‘arrow’
* removing 
‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/arrow’
* restoring previous 
‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/arrow’
Warning in install.packages :
  installation of package ‘arrow’ had non-zero exit status
 
The downloaded source packages are in
‘/private/var/folders/0x/2l4gy85n1qv_5xdqc6x4mgb00000gn/T/Rtmpv1beT2/downloaded_packages
 
sessionInfo() R version 4.2.0 (2022-04-22) Platform: x86_64-apple-darwin17.0 
(64-bit) Running under: macOS Monterey 12.4 Matrix products: default LAPACK: 
/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib 
locale: [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8 
attached base packages: [1] stats     graphics  grDevices utils     datasets  
methods   base      loaded via a namespace (and not attached): [1] 
compiler_4.2.0 cli_3.3.0      tools_4.2.0   
 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to