* 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 arm64 -std=gnu++17 accepts -g... yes
checking how to run the C++ preprocessor... clang++ -arch arm64 -std=gnu++17 -E
checking for clang++ -arch arm64 -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.0 (clang-1400.0.29.202)’
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c BRISC.cpp -o BRISC.o
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:1327:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
        int i_0, ret = 0;
                 ^
BRISC.cpp:1252:17: warning: unused variable 'coords' [-Wunused-variable]
        double *coords = REAL(coords_r);
                ^
9 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c BRISC_Predict.cpp -o BRISC_Predict.o
BRISC_Predict.cpp:84:9: warning: variable 'nTheta' set but not used [-Wunused-but-set-variable]
    int nTheta, sigmaSqIndx, tauSqIndx, phiIndx, nuIndx;
        ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lbfgs.c -o lbfgs.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c util.cpp -o util.o
util.cpp:179:11: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k;
          ^
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/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/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/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)