* installing *source* package ‘imbibe’ ...
** package ‘imbibe’ successfully unpacked and MD5 sums checked
** using staged installation
** 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 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RNifti/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RNifti_shim.c -o RNifti_shim.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RNifti/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c bw.c -o bw.o
bw.c:397:9: warning: variable 'm' set but not used [-Wunused-but-set-variable]
    int m, k;         // loop variables
        ^
bw.c:422:9: warning: variable 'm' set but not used [-Wunused-but-set-variable]
    int m, k;         // loop variables
        ^
bw.c:654:9: warning: unused variable 'R' [-Wunused-variable]
        int j, R;
               ^
bw.c:667:9: warning: unused variable 'R' [-Wunused-variable]
        int j, R;
               ^
4 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RNifti/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c core.c -o core.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RNifti/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c core32.c -o core32.o
core32.c:503:6: warning: unused variable 'top' [-Wunused-variable]
        int top = nBins - 1;
            ^
core32.c:2943:6: warning: unused variable 'fv' [-Wunused-variable]
        flt fv = v;
            ^
core32.c:2778:12: warning: unused function 'essentiallyEqual' [-Wunused-function]
static int essentiallyEqual(float a, float b) {
           ^
3 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RNifti/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c core64.c -o core64.o
core64.c:503:6: warning: unused variable 'top' [-Wunused-variable]
        int top = nBins - 1;
            ^
core64.c:2943:6: warning: unused variable 'fv' [-Wunused-variable]
        flt fv = v;
            ^
core64.c:2778:12: warning: unused function 'essentiallyEqual' [-Wunused-function]
static int essentiallyEqual(float a, float b) {
           ^
3 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RNifti/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c main.cpp -o main.o
main.cpp:12:9: warning: variable 'status' set but not used [-Wunused-but-set-variable]
    int status = 0;
        ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RNifti/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c tensor.c -o tensor.o
tensor.c:1705:21: warning: variable 'ncall' set but not used [-Wunused-but-set-variable]
  static int nvox , ncall ;
                    ^
tensor.c:1705:14: warning: variable 'nvox' set but not used [-Wunused-but-set-variable]
  static int nvox , ncall ;
             ^
2 warnings 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 imbibe.so RNifti_shim.o bw.o core.o core32.o core64.o main.o tensor.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/imbibe.Rcheck/00LOCK-imbibe/00new/imbibe/libs
** generating debug symbols (dSYM)
** R
** inst
** 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 (imbibe)