* installing *source* package ‘imbibe’ ...
** package ‘imbibe’ successfully unpacked and MD5 sums checked
** using staged installation
** 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 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RNifti/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RNifti_shim.c -o RNifti_shim.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RNifti/include' -I/opt/R/x86_64/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 x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RNifti/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c core.c -o core.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RNifti/include' -I/opt/R/x86_64/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 x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RNifti/include' -I/opt/R/x86_64/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 x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RNifti/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c main.cpp -o main.o
In file included from main.cpp:3:
In file included from ./RNifti_shim.h:7:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RNifti/include/RNifti.h:50:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RNifti/include/RNifti/NiftiImage.h:333:33: warning: suggest braces around initialization of subobject [-Wmissing-braces]
            Rcomplex rValue = { value.real(), value.imag() };
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                {                         }
main.cpp:12:9: warning: variable 'status' set but not used [-Wunused-but-set-variable]
    int status = 0;
        ^
2 warnings generated.
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RNifti/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c tensor.c -o tensor.o
tensor.c:1705:14: warning: variable 'nvox' set but not used [-Wunused-but-set-variable]
  static int nvox , ncall ;
             ^
tensor.c:1705:21: warning: variable 'ncall' set but not used [-Wunused-but-set-variable]
  static int nvox , ncall ;
                    ^
2 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/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-x86_64/results/4.3/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)