* installing to library ‘/home/hornik/tmp/R.check/r-patched-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++-13 -std=gnu++17 accepts -g... yes
checking how to run the C++ preprocessor... g++-13 -std=gnu++17 -E
checking for g++-13 -std=gnu++17 option to support OpenMP... -fopenmp
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-13) 13.2.0’
using C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
make[1]: Entering directory '/tmp/RtmpKtY9yy/R.INSTALL2bc96d66928990/BRISC/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-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:475:18: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  475 |         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:662:18: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  662 |         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: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: In function ‘SEXPREC* BRISC_decorrelationcpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
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: 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: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;
      |                  ^~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-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:80:9: warning: variable ‘nTheta’ set but not used [-Wunused-but-set-variable]
   80 |     int nTheta, sigmaSqIndx, tauSqIndx, phiIndx, nuIndx;
      |         ^~~~~~
gcc-13 -I"/home/hornik/tmp/R.check/r-patched-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-13 -I"/home/hornik/tmp/R.check/r-patched-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++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-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:175:11: warning: unused variable ‘k’ [-Wunused-variable]
  175 |   int i,j,k;
      |           ^
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-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-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -fopenmp -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpKtY9yy/R.INSTALL2bc96d66928990/BRISC/src'
make[1]: Entering directory '/tmp/RtmpKtY9yy/R.INSTALL2bc96d66928990/BRISC/src'
make[1]: Leaving directory '/tmp/RtmpKtY9yy/R.INSTALL2bc96d66928990/BRISC/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-BRISC/00new/BRISC/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘BRISC’
    finding HTML links ... done
    BRISC_bootstrap                         html  
    BRISC_correlation                       html  
    BRISC_decorrelation                     html  
    BRISC_estimation                        html  
    BRISC_neighbor                          html  
    BRISC_order                             html  
    BRISC_prediction                        html  
    BRISC_simulation                        html  
    BRISC_variogram.ci                      html  
** 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)