* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/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 g++-14 -std=gnu++17 accepts -g... yes
checking how to run the C++ preprocessor... g++-14 -std=gnu++17 -E
checking for g++-14 -std=gnu++17 option to support OpenMP... -fopenmp
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMsl8lc/R.INSTALL39f95c1830788f/BRISC/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c BRISC.cpp -o BRISC.o
BRISC.cpp: In function ‘SEXPREC* BRISC_bootstrapcpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
BRISC.cpp:479:18: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  479 |         int i_0, ret = 0;
      |                  ^~~
BRISC.cpp: In function ‘SEXPREC* BRISC_estimatecpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
BRISC.cpp:666:18: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  666 |         int i_0, ret = 0;
      |                  ^~~
BRISC.cpp: In function ‘SEXPREC* BRISC_correlationcpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
BRISC.cpp:918:16: warning: unused variable ‘logDet’ [-Wunused-variable]
  918 |         double logDet = updateBF(B, F, c, C, D, d, nnIndxLU, CIndx, n, theta, covModel, nThreads, fix_nugget);
      |                ^~~~~~
BRISC.cpp: In function ‘SEXPREC* BRISC_decorrelationcpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
BRISC.cpp:1080:16: warning: unused variable ‘logDet’ [-Wunused-variable]
 1080 |         double logDet = updateBF(B, F, c, C, D, d, nnIndxLU, CIndx, n, theta, covModel, nThreads, fix_nugget);
      |                ^~~~~~
BRISC.cpp: In function ‘SEXPREC* BRISC_estimateneighborcpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
BRISC.cpp:1242:13: warning: unused variable ‘i’ [-Wunused-variable]
 1242 |         int i, k, l, nProtect=0;
      |             ^
BRISC.cpp:1242:16: warning: unused variable ‘k’ [-Wunused-variable]
 1242 |         int i, k, l, nProtect=0;
      |                ^
BRISC.cpp:1242:19: warning: unused variable ‘l’ [-Wunused-variable]
 1242 |         int i, k, l, nProtect=0;
      |                   ^
BRISC.cpp:1252:17: warning: unused variable ‘coords’ [-Wunused-variable]
 1252 |         double *coords = REAL(coords_r);
      |                 ^~~~~~
BRISC.cpp:1327:18: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
 1327 |         int i_0, ret = 0;
      |                  ^~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c BRISC_Predict.cpp -o BRISC_Predict.o
BRISC_Predict.cpp: In function ‘SEXPREC* BRISC_predictioncpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
BRISC_Predict.cpp:84:9: warning: variable ‘nTheta’ set but not used [-Wunused-but-set-variable]
   84 |     int nTheta, sigmaSqIndx, tauSqIndx, phiIndx, nuIndx;
      |         ^~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c init.c -o init.o
gcc-14 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lbfgs.c -o lbfgs.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c util.cpp -o util.o
util.cpp: In function ‘void fastNN(int, int, double*, int, double*, int*, int*, double*)’:
util.cpp:179:11: warning: unused variable ‘k’ [-Wunused-variable]
  179 |   int i,j,k;
      |           ^
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/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-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -fopenmp -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMsl8lc/R.INSTALL39f95c1830788f/BRISC/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMsl8lc/R.INSTALL39f95c1830788f/BRISC/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMsl8lc/R.INSTALL39f95c1830788f/BRISC/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/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)