* installing *source* package ‘regmed’ ...
** package ‘regmed’ 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/opt/R/arm64/include     -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/opt/R/arm64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c mvregmed.cpp -o mvregmed.o
mvregmed.cpp:127:9: warning: unused variable 'ncolA' [-Wunused-variable]
    int ncolA = A.n_cols;
        ^
mvregmed.cpp:129:9: warning: unused variable 'nrowB' [-Wunused-variable]
    int nrowB = B.n_rows;
        ^
mvregmed.cpp:696:10: warning: unused variable 'pen_loss_end' [-Wunused-variable]
  double pen_loss_end = 0.0;
         ^
mvregmed.cpp:723:7: warning: unused variable 'nt' [-Wunused-variable]
  int nt = vary.n_rows;
      ^
4 warnings generated.
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/opt/R/arm64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c regmed.cpp -o regmed.o
regmed.cpp:526:10: warning: unused variable 'grad_varx' [-Wunused-variable]
  double grad_varx = 0.0;
         ^
regmed.cpp:507:10: warning: unused variable 'vary_diff' [-Wunused-variable]
  double vary_diff = 0.0;
         ^
regmed.cpp:514:10: warning: unused variable 'pen_loss_end' [-Wunused-variable]
  double pen_loss_end = 0.0;
         ^
regmed.cpp:501:10: warning: unused variable 'varx_old' [-Wunused-variable]
  double varx_old = 0.0;
         ^
regmed.cpp:502:10: warning: unused variable 'varx_new' [-Wunused-variable]
  double varx_new = 0.0;
         ^
regmed.cpp:503:10: warning: unused variable 'varx_diff' [-Wunused-variable]
  double varx_diff = 0.0;
         ^
6 warnings generated.
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 regmed.so RcppExports.o mvregmed.o regmed.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/regmed.Rcheck/00LOCK-regmed/00new/regmed/libs
** generating debug symbols (dSYM)
** R
** data
** 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 (regmed)