* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘divest’ ...
** package ‘divest’ 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 the compiler supports GNU C++... yes
checking whether clang++-19 -std=gnu++17 accepts -g... yes
checking for clang++-19 -std=gnu++17 option to enable C++11 features... none needed
checking for pkg-config... /usr/bin/pkg-config
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for fmemopen... yes
configure: Using OpenJPEG for JPEG2000 support
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C++ compiler: ‘Debian clang version 19.1.5 (1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpcFo2PO/R.INSTALL2950a82b7c098e/divest/src'
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/usr/include/openjpeg-2.5  -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/RNifti.h:43:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/niftilib/nifti1_io.h:24:
/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>:6:9: note: previous definition is here
    6 | #define R_NO_REMAP 1
      |         ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/usr/include/openjpeg-2.5  -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -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 dcm2niix/jpg_0XC3.cpp -o dcm2niix/jpg_0XC3.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/usr/include/openjpeg-2.5  -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -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 dcm2niix/nifti1_io_core.cpp -o dcm2niix/nifti1_io_core.o
In file included from dcm2niix/nifti1_io_core.cpp:18:
In file included from dcm2niix/nifti1_io_core.h:9:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/RNifti.h:43:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/niftilib/nifti1_io.h:24:
/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>:6:9: note: previous definition is here
    6 | #define R_NO_REMAP 1
      |         ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/usr/include/openjpeg-2.5  -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -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 dcm2niix/nii_dicom.cpp -o dcm2niix/nii_dicom.o
In file included from dcm2niix/nii_dicom.cpp:27:
In file included from dcm2niix/nifti1_io_core.h:9:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/RNifti.h:43:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/niftilib/nifti1_io.h:24:
/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>:6:9: note: previous definition is here
    6 | #define R_NO_REMAP 1
      |         ^
dcm2niix/nii_dicom.cpp:1922:6: warning: variable 'patientPositionNumPhilips' set but not used [-Wunused-but-set-variable]
 1922 |         int patientPositionNumPhilips = 0;
      |             ^
dcm2niix/nii_dicom.cpp:4876:12: warning: unused variable 'realGroupElement' [-Wunused-variable]
 4876 |                 uint32_t realGroupElement = groupElement;
      |                          ^~~~~~~~~~~~~~~~
3 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/usr/include/openjpeg-2.5  -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -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 dcm2niix/nii_dicom_batch.cpp -o dcm2niix/nii_dicom_batch.o
In file included from dcm2niix/nii_dicom_batch.cpp:30:
In file included from dcm2niix/nifti1_io_core.h:9:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/RNifti.h:43:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/niftilib/nifti1_io.h:24:
/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>:6:9: note: previous definition is here
    6 | #define R_NO_REMAP 1
      |         ^
dcm2niix/nii_dicom_batch.cpp:2727:7: warning: variable 'isIsotropic' set but not used [-Wunused-but-set-variable]
 2727 |         bool isIsotropic = false;
      |              ^
dcm2niix/nii_dicom_batch.cpp:3485:13: warning: unused variable 'kTempPathSeparator' [-Wunused-variable]
 3485 |         const char kTempPathSeparator = '\a';
      |                    ^~~~~~~~~~~~~~~~~~
dcm2niix/nii_dicom_batch.cpp:3486:7: warning: unused variable 'hasCaret' [-Wunused-variable]
 3486 |         bool hasCaret = false;
      |              ^~~~~~~~
dcm2niix/nii_dicom_batch.cpp:6833:9: warning: unused variable 'pf' [-Wunused-variable]
 6833 |                 float pf = 1.0f; // partial fourier
      |                       ^~
dcm2niix/nii_dicom_batch.cpp:7118:7: warning: variable 'isDirLabel' set but not used [-Wunused-but-set-variable]
 7118 |         bool isDirLabel = false;           // report phase encoding direction
      |              ^
dcm2niix/nii_dicom_batch.cpp:7296:6: warning: variable 'nVol' set but not used [-Wunused-but-set-variable]
 7296 |         int nVol = 1;
      |             ^
dcm2niix/nii_dicom_batch.cpp:8267:11: warning: variable 'slicePositionRepeats' set but not used [-Wunused-but-set-variable]
 8267 |                                                 int slicePositionRepeats = 1; // how many times is first position repeated
      |                                                     ^
dcm2niix/nii_dicom_batch.cpp:8566:10: warning: unused variable 'shearMat' [-Wunused-variable]
 8566 |                         mat33 shearMat;
      |                               ^~~~~~~~
9 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/usr/include/openjpeg-2.5  -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -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 dcm2niix/nii_ortho.cpp -o dcm2niix/nii_ortho.o
In file included from dcm2niix/nii_ortho.cpp:4:
In file included from dcm2niix/nifti1_io_core.h:9:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/RNifti.h:43:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RNifti/include/niftilib/nifti1_io.h:24:
/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>:6:9: note: previous definition is here
    6 | #define R_NO_REMAP 1
      |         ^
1 warning generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/usr/include/openjpeg-2.5  -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -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 ujpeg/ujpeg.cpp -o ujpeg/ujpeg.o
clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o divest.so main.o dcm2niix/jpg_0XC3.o dcm2niix/nifti1_io_core.o dcm2niix/nii_dicom.o dcm2niix/nii_dicom_batch.o dcm2niix/nii_ortho.o ujpeg/ujpeg.o -lopenjp2 -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpcFo2PO/R.INSTALL2950a82b7c098e/divest/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpcFo2PO/R.INSTALL2950a82b7c098e/divest/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpcFo2PO/R.INSTALL2950a82b7c098e/divest/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-divest/00new/divest/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 (divest)