* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘BRISC’ ...
** package ‘BRISC’ 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++-18 -std=gnu++17 accepts -g... yes
checking how to run the C++ preprocessor... clang++-18 -std=gnu++17 -E
checking for clang++-18 -std=gnu++17 option to support OpenMP... unsupported
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘Debian clang version 18.1.4 (1)’
using C++ compiler: ‘Debian clang version 18.1.4 (1)’
make[1]: Entering directory '/tmp/RtmpEfW7p6/R.INSTALLecaa576787e58/BRISC/src'
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c BRISC.cpp -o BRISC.o
BRISC.cpp:475:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  475 |         int i_0, ret = 0;
      |                  ^
BRISC.cpp:662:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  662 |         int i_0, ret = 0;
      |                  ^
BRISC.cpp:914:16: warning: unused variable 'logDet' [-Wunused-variable]
  914 |         double logDet = updateBF(B, F, c, C, D, d, nnIndxLU, CIndx, n, theta, covModel, nThreads, fix_nugget);
      |                ^~~~~~
BRISC.cpp:1076:16: warning: unused variable 'logDet' [-Wunused-variable]
 1076 |         double logDet = updateBF(B, F, c, C, D, d, nnIndxLU, CIndx, n, theta, covModel, nThreads, fix_nugget);
      |                ^~~~~~
BRISC.cpp:1238:13: warning: unused variable 'i' [-Wunused-variable]
 1238 |         int i, k, l, nProtect=0;
      |             ^
BRISC.cpp:1238:16: warning: unused variable 'k' [-Wunused-variable]
 1238 |         int i, k, l, nProtect=0;
      |                ^
BRISC.cpp:1238:19: warning: unused variable 'l' [-Wunused-variable]
 1238 |         int i, k, l, nProtect=0;
      |                   ^
BRISC.cpp:1248:17: warning: unused variable 'coords' [-Wunused-variable]
 1248 |         double *coords = REAL(coords_r);
      |                 ^~~~~~
BRISC.cpp:1323:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1323 |         int i_0, ret = 0;
      |                  ^
9 warnings generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c BRISC_Predict.cpp -o BRISC_Predict.o
BRISC_Predict.cpp:80:9: warning: variable 'nTheta' set but not used [-Wunused-but-set-variable]
   80 |     int nTheta, sigmaSqIndx, tauSqIndx, phiIndx, nuIndx;
      |         ^
1 warning generated.
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c init.c -o init.o
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c lbfgs.c -o lbfgs.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c util.cpp -o util.o
util.cpp:175:11: warning: unused variable 'k' [-Wunused-variable]
  175 |   int i,j,k;
      |           ^
1 warning generated.
clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o BRISC.so BRISC.o BRISC_Predict.o init.o lbfgs.o util.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/RtmpEfW7p6/R.INSTALLecaa576787e58/BRISC/src'
make[1]: Entering directory '/tmp/RtmpEfW7p6/R.INSTALLecaa576787e58/BRISC/src'
make[1]: Leaving directory '/tmp/RtmpEfW7p6/R.INSTALLecaa576787e58/BRISC/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-BRISC/00new/BRISC/libs
** R
** 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 (BRISC)