* installing *source* package ‘L0Learn’ ...
** package ‘L0Learn’ successfully unpacked and MD5 sums checked
** using staged installation
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ -arch arm64 -std=gnu++17 accepts -g... yes
checking how to run the C++ preprocessor... clang++ -arch arm64 -std=gnu++17 -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether clang++ -arch arm64 -std=gnu++17 accepts -g... (cached) yes
configure: creating ./config.status
config.status: creating src/Makevars
** 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.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c BetaVector.cpp -o BetaVector.o
clang++ -arch arm64 -std=gnu++17 -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/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c CDL012LogisticSwaps.cpp -o CDL012LogisticSwaps.o
clang++ -arch arm64 -std=gnu++17 -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/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c CDL012SquaredHingeSwaps.cpp -o CDL012SquaredHingeSwaps.o
CDL012SquaredHingeSwaps.cpp:65:37: warning: variable 'l' set but not used [-Wunused-but-set-variable]
                        std::size_t l = 0;
                                    ^
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.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c CDL012Swaps.cpp -o CDL012Swaps.o
CDL012Swaps.cpp:17:12: warning: variable 'objective' set but not used [-Wunused-but-set-variable]
    double objective = result.Objective;
           ^
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.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c Grid.cpp -o Grid.o
clang++ -arch arm64 -std=gnu++17 -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/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c Grid1D.cpp -o Grid1D.o
Grid1D.cpp:194:26: warning: variable 'samesupp' set but not used [-Wunused-but-set-variable]
                    bool samesupp = false;
                         ^
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.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c Grid2D.cpp -o Grid2D.o
clang++ -arch arm64 -std=gnu++17 -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/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c Interface.cpp -o Interface.o
clang++ -arch arm64 -std=gnu++17 -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/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c Normalize.cpp -o Normalize.o
clang++ -arch arm64 -std=gnu++17 -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/opt/R/arm64/include   "-Iinclude" -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.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c Test_Interface.cpp -o Test_Interface.o
clang++ -arch arm64 -std=gnu++17 -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/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c profile.cpp -o profile.o
clang++ -arch arm64 -std=gnu++17 -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/opt/R/arm64/include   "-Iinclude" -fPIC  -falign-functions=64 -Wall -g -O2   -c utils.cpp -o utils.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o L0Learn.so BetaVector.o CDL012LogisticSwaps.o CDL012SquaredHingeSwaps.o CDL012Swaps.o Grid.o Grid1D.o Grid2D.o Interface.o Normalize.o RcppExports.o Test_Interface.o profile.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/L0Learn.Rcheck/00LOCK-L0Learn/00new/L0Learn/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (L0Learn)