Installation of GOfuncR
fails with an error:
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c genes.cc -o genes.o
genes.cc:100:9: error: use of undeclared identifier 'random_shuffle'
random_shuffle( gene_vec.begin(), gene_vec.end(), rng ) ;
^
1 error generated.
make: *** [genes.o] Error 1
There are no Mac Intel binaries available on Bioconductor, and Bioconductor's build results web page show error on Mac OS Monterey. Any ideas how to circumvent these issues?
My session info:
> sessionInfo()
R version 4.3.1 (2023-06-16)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.5.1
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-x86_64/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: Europe/London
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] BiocManager_1.30.22 compiler_4.3.1 tools_4.3.1
Thank you, I saw some comments on the web about
random_shuffle()
being deprecated. I have submitted an issue to the author.Hi, thanks for reporting. I fixed the bug in devel and just added the fix also to the current release. Should hopefully be solved with the new build.