* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘imbibe’ ...
** package ‘imbibe’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 19.1.5 (1)’
using C++ compiler: ‘Debian clang version 19.1.5 (1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpmsme8H/R.INSTALL2b04a612827564/imbibe/src'
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c RNifti_shim.c -o RNifti_shim.o
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c bw.c -o bw.o
bw.c:397:9: warning: variable 'm' set but not used [-Wunused-but-set-variable]
  397 |     int m, k;         // loop variables
      |         ^
bw.c:422:9: warning: variable 'm' set but not used [-Wunused-but-set-variable]
  422 |     int m, k;         // loop variables
      |         ^
bw.c:654:9: warning: unused variable 'R' [-Wunused-variable]
  654 |         int j, R;
      |                ^
bw.c:667:9: warning: unused variable 'R' [-Wunused-variable]
  667 |         int j, R;
      |                ^
4 warnings generated.
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c core.c -o core.o
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c core32.c -o core32.o
core32.c:503:6: warning: unused variable 'top' [-Wunused-variable]
  503 |         int top = nBins - 1;
      |             ^~~
core32.c:2943:6: warning: unused variable 'fv' [-Wunused-variable]
 2943 |         flt fv = v;
      |             ^~
core32.c:2778:12: warning: unused function 'essentiallyEqual' [-Wunused-function]
 2778 | static int essentiallyEqual(float a, float b) {
      |            ^~~~~~~~~~~~~~~~
3 warnings generated.
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c core64.c -o core64.o
core64.c:503:6: warning: unused variable 'top' [-Wunused-variable]
  503 |         int top = nBins - 1;
      |             ^~~
core64.c:2943:6: warning: unused variable 'fv' [-Wunused-variable]
 2943 |         flt fv = v;
      |             ^~
core64.c:2778:12: warning: unused function 'essentiallyEqual' [-Wunused-function]
 2778 | static int essentiallyEqual(float a, float b) {
      |            ^~~~~~~~~~~~~~~~
3 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -DR_NO_REMAP -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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/RNifti.h:46:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/niftilib/nifti2_io.h:27:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/RNifti/NiftiImage_print.h:6:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined]
    6 | #define R_NO_REMAP
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define R_NO_REMAP 1
      |         ^
main.cpp:12:9: warning: variable 'status' set but not used [-Wunused-but-set-variable]
   12 |     int status = 0;
      |         ^
2 warnings generated.
clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DHAVE_ZLIB -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c tensor.c -o tensor.o
tensor.c:1705:14: warning: variable 'nvox' set but not used [-Wunused-but-set-variable]
 1705 |   static int nvox , ncall ;
      |              ^
tensor.c:1705:21: warning: variable 'ncall' set but not used [-Wunused-but-set-variable]
 1705 |   static int nvox , ncall ;
      |                     ^
2 warnings generated.
clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o imbibe.so RNifti_shim.o bw.o core.o core32.o core64.o main.o tensor.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpmsme8H/R.INSTALL2b04a612827564/imbibe/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpmsme8H/R.INSTALL2b04a612827564/imbibe/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpmsme8H/R.INSTALL2b04a612827564/imbibe/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-imbibe/00new/imbibe/libs
** 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)