* installing *source* package ‘BEKKs’ ...
** package ‘BEKKs’ 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++17
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/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c BekkFunctions.cpp -o BekkFunctions.o
BekkFunctions.cpp:304:7: warning: unused variable 'numb_of_vars' [-Wunused-variable]
  int numb_of_vars = 2 * pow(N, 2) + N * (N + 1)/2;
      ^
BekkFunctions.cpp:349:7: warning: unused variable 'numb_of_vars' [-Wunused-variable]
  int numb_of_vars = 3 * pow(N, 2) + N * (N + 1)/2;
      ^
BekkFunctions.cpp:1469:9: warning: unused variable 'diagonal_counter' [-Wunused-variable]
    int diagonal_counter = 0;
        ^
BekkFunctions.cpp:1432:7: warning: unused variable 'diagonal_counter' [-Wunused-variable]
  int diagonal_counter = 0;
      ^
BekkFunctions.cpp:1579:9: warning: unused variable 'diagonal_counter' [-Wunused-variable]
    int diagonal_counter = 0;
        ^
BekkFunctions.cpp:1545:7: warning: unused variable 'diagonal_counter' [-Wunused-variable]
  int diagonal_counter = 0;
      ^
BekkFunctions.cpp:2604:7: warning: unused variable 'numb_of_vars' [-Wunused-variable]
  int numb_of_vars = 2*N+(N*(N+1)/2);
      ^
7 warnings 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/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c BekkSim.cpp -o BekkSim.o
BekkSim.cpp:108:7: warning: unused variable 'numb_of_vars' [-Wunused-variable]
  int numb_of_vars = 2 * pow(N, 2) + N*(N + 1)/2;
      ^
BekkSim.cpp:147:7: warning: unused variable 'numb_of_vars' [-Wunused-variable]
  int numb_of_vars = 3 * pow(N, 2) + N*(N + 1)/2;
      ^
2 warnings 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/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c IndicatorFunction.cpp -o IndicatorFunction.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/opt/R/arm64/include    -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/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ScalarBEKK.cpp -o ScalarBEKK.o
ScalarBEKK.cpp:131:10: warning: unused variable 'expected_indicator' [-Wunused-variable]
  double expected_indicator = expected_indicator_value(r, signs);
         ^
ScalarBEKK.cpp:254:10: warning: unused variable 'expected_indicator' [-Wunused-variable]
  double expected_indicator = expected_indicator_value(r, signs);
         ^
ScalarBEKK.cpp:720:10: warning: unused variable 'expected_indicator' [-Wunused-variable]
  double expected_indicator = expected_indicator_value(r, signs);
         ^
ScalarBEKK.cpp:987:10: warning: unused variable 'exp_signs' [-Wunused-variable]
  double exp_signs = expected_indicator_value(r, signs);
         ^
ScalarBEKK.cpp:1049:9: warning: unused variable 'diagonal_counter' [-Wunused-variable]
    int diagonal_counter = 0;
        ^
ScalarBEKK.cpp:1022:7: warning: variable 'diagonal_counter' set but not used [-Wunused-but-set-variable]
  int diagonal_counter = 0;
      ^
ScalarBEKK.cpp:1156:13: warning: unused variable 'diagonal_counter' [-Wunused-variable]
        int diagonal_counter = 0;
            ^
ScalarBEKK.cpp:1127:7: warning: unused variable 'diagonal_counter' [-Wunused-variable]
  int diagonal_counter = 0;
      ^
8 warnings 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/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c YLagCr.cpp -o YLagCr.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 BEKKs.so BekkFunctions.o BekkSim.o IndicatorFunction.o RcppExports.o ScalarBEKK.o YLagCr.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/BEKKs.Rcheck/00LOCK-BEKKs/00new/BEKKs/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (BEKKs)