* 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++ -arch x86_64 -std=gnu++17 accepts -g... yes
checking how to run the C++ preprocessor... clang++ -arch x86_64 -std=gnu++17 -E
checking for clang++ -arch x86_64 -std=gnu++17 option to support OpenMP... unsupported
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c BRISC.cpp -o BRISC.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c BRISC_Predict.cpp -o BRISC_Predict.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lbfgs.c -o lbfgs.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c util.cpp -o util.o
BRISC_Predict.cpputil.cpp:179:11: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k;
          ^
:84:9: warning: variable 'nTheta' set but not used [-Wunused-but-set-variable]
    int nTheta, sigmaSqIndx, tauSqIndx, phiIndx, nuIndx;
        ^
BRISC.cpp:479:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
        int i_0, ret = 0;
                 ^
BRISC.cpp:666:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
        int i_0, ret = 0;
                 ^
BRISC.cpp:918:16: warning: unused variable 'logDet' [-Wunused-variable]
        double logDet = updateBF(B, F, c, C, D, d, nnIndxLU, CIndx, n, theta, covModel, nThreads, fix_nugget);
               ^
BRISC.cpp:1080:16: warning: unused variable 'logDet' [-Wunused-variable]
        double logDet = updateBF(B, F, c, C, D, d, nnIndxLU, CIndx, n, theta, covModel, nThreads, fix_nugget);
               ^
BRISC.cpp:1242:13: warning: unused variable 'i' [-Wunused-variable]
        int i, k, l, nProtect=0;
            ^
BRISC.cpp:1242:16: warning: unused variable 'k' [-Wunused-variable]
        int i, k, l, nProtect=0;
               ^
BRISC.cpp:1242:19: warning: unused variable 'l' [-Wunused-variable]
        int i, k, l, nProtect=0;
                  ^
BRISC.cpp:1252:17: warning: unused variable 'coords' [-Wunused-variable]
        double *coords = REAL(coords_r);
                ^
BRISC.cpp:1327:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
        int i_0, ret = 0;
                 ^
1 warning generated.
1 warning generated.
9 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o BRISC.so BRISC.o BRISC_Predict.o init.o lbfgs.o util.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.3/BRISC.Rcheck/00LOCK-BRISC/00new/BRISC/libs
** generating debug symbols (dSYM)
** 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)