* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘regmed’ ...
** package ‘regmed’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 18.1.4 (1)’
using C++11
make[1]: Entering directory '/tmp/RtmpJj9Q8W/R.INSTALL1275dd736a944b/regmed/src'
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c RcppExports.cpp -o RcppExports.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c mvregmed.cpp -o mvregmed.o
mvregmed.cpp:127:9: warning: unused variable 'ncolA' [-Wunused-variable]
  127 |     int ncolA = A.n_cols;
      |         ^~~~~
mvregmed.cpp:129:9: warning: unused variable 'nrowB' [-Wunused-variable]
  129 |     int nrowB = B.n_rows;
      |         ^~~~~
mvregmed.cpp:532:7: warning: variable 'rank' set but not used [-Wunused-but-set-variable]
  532 |   int rank;
      |       ^
mvregmed.cpp:696:10: warning: unused variable 'pen_loss_end' [-Wunused-variable]
  696 |   double pen_loss_end = 0.0;
      |          ^~~~~~~~~~~~
mvregmed.cpp:723:7: warning: unused variable 'nt' [-Wunused-variable]
  723 |   int nt = vary.n_rows;
      |       ^~
5 warnings generated.
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c regmed.cpp -o regmed.o
regmed.cpp:501:10: warning: unused variable 'varx_old' [-Wunused-variable]
  501 |   double varx_old = 0.0;
      |          ^~~~~~~~
regmed.cpp:502:10: warning: unused variable 'varx_new' [-Wunused-variable]
  502 |   double varx_new = 0.0;
      |          ^~~~~~~~
regmed.cpp:503:10: warning: unused variable 'varx_diff' [-Wunused-variable]
  503 |   double varx_diff = 0.0;
      |          ^~~~~~~~~
regmed.cpp:507:10: warning: unused variable 'vary_diff' [-Wunused-variable]
  507 |   double vary_diff = 0.0;
      |          ^~~~~~~~~
regmed.cpp:514:10: warning: unused variable 'pen_loss_end' [-Wunused-variable]
  514 |   double pen_loss_end = 0.0;
      |          ^~~~~~~~~~~~
regmed.cpp:526:10: warning: unused variable 'grad_varx' [-Wunused-variable]
  526 |   double grad_varx = 0.0;
      |          ^~~~~~~~~
6 warnings generated.
clang++-18 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o regmed.so RcppExports.o mvregmed.o regmed.o -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-18/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpJj9Q8W/R.INSTALL1275dd736a944b/regmed/src'
make[1]: Entering directory '/tmp/RtmpJj9Q8W/R.INSTALL1275dd736a944b/regmed/src'
make[1]: Leaving directory '/tmp/RtmpJj9Q8W/R.INSTALL1275dd736a944b/regmed/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-regmed/00new/regmed/libs
** 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)