* installing *source* package ‘ANN2’ ...
** package ‘ANN2’ 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 C++11
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c ANN.cpp -o ANN.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c Activations.cpp -o Activations.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c Layer.cpp -o Layer.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c Loss.cpp -o Loss.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c Optimizer.cpp -o Optimizer.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c arma_serialization.cpp -o arma_serialization.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c test-cpp-activations.cpp -o test-cpp-activations.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c test-cpp-loss.cpp -o test-cpp-loss.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c test-cpp-optimizers.cpp -o test-cpp-optimizers.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c test-cpp-utils.cpp -o test-cpp-utils.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c test-runner.cpp -o test-runner.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c test_utils.cpp -o test_utils.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/testthat/include' -I/opt/R/arm64/include   -I../inst/  -fPIC  -falign-functions=64 -Wall -g -O2   -c utils.cpp -o utils.o
clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o ANN2.so ANN.o Activations.o Layer.o Loss.o Optimizer.o RcppExports.o arma_serialization.o test-cpp-activations.o test-cpp-loss.o test-cpp-optimizers.o test-cpp-utils.o test-runner.o test_utils.o utils.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.4/ANN2.Rcheck/00LOCK-ANN2/00new/ANN2/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 (ANN2)