* installing *source* package ‘hibayes’ ...
** package ‘hibayes’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c Bayes.cpp -o Bayes.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c SBayesD.cpp -o SBayesD.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c SBayesS.cpp -o SBayesS.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c cg.cpp -o cg.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c cutwind.cpp -o cutwind.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c read_bed.cpp -o read_bed.o
read_bed.cpp:142:9: warning: variable 'n_bytes_read' set but not used [-Wunused-but-set-variable]
        size_t n_bytes_read = static_cast<size_t>(fread(buffer, 1, 3, fin));
               ^
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c rm.cpp -o rm.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c solver.cpp -o solver.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c stats.cpp -o stats.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/bigmemory/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Matrix/include' -I/opt/R/arm64/include   -DARMA_64BIT_WORD=1  -fPIC  -falign-functions=64 -Wall -g -O2  -c tXXmat.cpp -o tXXmat.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o hibayes.so Bayes.o RcppExports.o SBayesD.o SBayesS.o cg.o cutwind.o read_bed.o rm.o solver.o stats.o tXXmat.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/hibayes.Rcheck/00LOCK-hibayes/00new/hibayes/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (hibayes)