psadil commented on issue #39206: URL: https://github.com/apache/arrow/issues/39206#issuecomment-1854690461
I was working with `renv` and had the package source set to the Posit Package Manager. Testing different sources, this is what I see: - from CRAN, the 14.0.0.2 binary loads (but versions later than 13.0.0.1 do not build when `type = "source"`, as with `remotes::install_version`) - from PPM, the 14.0.0.2 binary does not load (and versions later than 13.0.0.1 do not build when `type = "source"`) ``` r CRAN <- "https://cloud.r-project.org/" PPM <- "https://packagemanager.posit.co/cran/latest" # fails ----- install.packages("arrow", repos = PPM) #> Installing package into '/Users/psadil/git/arrow/renv/library/R-4.3/aarch64-apple-darwin20' #> (as 'lib' is unspecified) #> #> The downloaded binary packages are in #> /var/folders/v_/kcpb096s1m3_37ctfd2sp2xm0000gn/T//RtmpyLusWt/downloaded_packages callr::r(\(x) library("arrow")) #> Error: ! in callr subprocess. #> Caused by error: #> ! package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath = DLLpath, ...): #> unable to load shared object '/Users/psadil/git/arrow/renv/library/R-4.3/aarch64-apple-darwin20/arrow/libs/arrow.so': #> dlopen(/Users/psadil/git/arrow/renv/library/R-4.3/aarch64-apple-darwin20/arrow/libs/arrow.so, 0x0006): symbol not found in flat namespace '__ZN5arrow12ArrayBuilder12AppendScalarERKNS_6ScalarEx' # fails ----- remotes::install_version("arrow", "14.0.0.2", repos = PPM) #> Downloading package from url: https://packagemanager.posit.co/cran/latest/src/contrib/arrow_14.0.0.2.tar.gz #> Installing package into '/Users/psadil/git/arrow/renv/library/R-4.3/aarch64-apple-darwin20' #> (as 'lib' is unspecified) #> Warning in i.p(...): installation of package #> '/var/folders/v_/kcpb096s1m3_37ctfd2sp2xm0000gn/T//RtmpyLusWt/remotes1cf77b6510ae/arrow' #> had non-zero exit status remotes::install_version("arrow", "14.0.0.2", repos = CRAN) #> Downloading package from url: https://cloud.r-project.org/src/contrib/arrow_14.0.0.2.tar.gz #> Installing package into '/Users/psadil/git/arrow/renv/library/R-4.3/aarch64-apple-darwin20' #> (as 'lib' is unspecified) #> Warning in i.p(...): installation of package #> '/var/folders/v_/kcpb096s1m3_37ctfd2sp2xm0000gn/T//RtmpyLusWt/remotes1cf7134a78d1/arrow' #> had non-zero exit status # succeeds ----- install.packages("arrow", repos = CRAN) #> Installing package into '/Users/psadil/git/arrow/renv/library/R-4.3/aarch64-apple-darwin20' #> (as 'lib' is unspecified) #> #> The downloaded binary packages are in #> /var/folders/v_/kcpb096s1m3_37ctfd2sp2xm0000gn/T//RtmpyLusWt/downloaded_packages callr::r(\(x) library("arrow")) #> [1] "arrow" "stats" "graphics" "grDevices" "datasets" "utils" #> [7] "methods" "base" remotes::install_version("arrow", "13.0.0.1", repos = PPM) #> Downloading package from url: https://packagemanager.posit.co/cran/latest/src/contrib/Archive/arrow/arrow_13.0.0.1.tar.gz #> Installing package into '/Users/psadil/git/arrow/renv/library/R-4.3/aarch64-apple-darwin20' #> (as 'lib' is unspecified) ``` <sup>Created on 2023-12-13 with [reprex v2.0.2](https://reprex.tidyverse.org)</sup> <details style="margin-bottom:10px;"> <summary> Session info </summary> ``` r sessionInfo() #> R version 4.3.2 (2023-10-31) #> Platform: aarch64-apple-darwin20 (64-bit) #> Running under: macOS Sonoma 14.1.1 #> #> Matrix products: default #> BLAS: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib #> LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0 #> #> locale: #> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 #> #> time zone: America/New_York #> tzcode source: internal #> #> attached base packages: #> [1] stats graphics grDevices datasets utils methods base #> #> loaded via a namespace (and not attached): #> [1] vctrs_0.6.5 cli_3.6.2 knitr_1.45 rlang_1.1.2 #> [5] xfun_0.41 processx_3.8.3 purrr_1.0.2 styler_1.10.2 #> [9] renv_1.0.3 glue_1.6.2 htmltools_0.5.7 ps_1.7.5 #> [13] rmarkdown_2.25 R.cache_0.16.0 evaluate_0.23 fastmap_1.1.1 #> [17] yaml_2.3.8 lifecycle_1.0.4 compiler_4.3.2 fs_1.6.3 #> [21] rstudioapi_0.15.0 R.oo_1.25.0 R.utils_2.12.3 digest_0.6.33 #> [25] R6_2.5.1 reprex_2.0.2 callr_3.7.3 magrittr_2.0.3 #> [29] R.methodsS3_1.8.2 tools_4.3.2 withr_2.5.2 remotes_2.4.2.1 ``` </details> -- 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]
