* 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++ -arch arm64 -std=gnu++17 accepts -g... yes checking for clang++ -arch arm64 -std=gnu++17 option to enable C++11 features... none needed checking for pkg-config... /opt/R/arm64/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: ‘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 -DUSING_R -DmyDisableMiniZ -I/opt/R/arm64/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RNifti/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c main.cpp -o main.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/opt/R/arm64/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RNifti/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c dcm2niix/jpg_0XC3.cpp -o dcm2niix/jpg_0XC3.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/opt/R/arm64/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RNifti/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c dcm2niix/nifti1_io_core.cpp -o dcm2niix/nifti1_io_core.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/opt/R/arm64/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RNifti/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c dcm2niix/nii_dicom.cpp -o dcm2niix/nii_dicom.o dcm2niix/nii_dicom.cpp:4876:12: warning: unused variable 'realGroupElement' [-Wunused-variable] uint32_t realGroupElement = groupElement; ^ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/opt/R/arm64/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RNifti/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c dcm2niix/nii_dicom_batch.cpp -o dcm2niix/nii_dicom_batch.o dcm2niix/nii_dicom_batch.cpp:2727:7: warning: variable 'isIsotropic' set but not used [-Wunused-but-set-variable] bool isIsotropic = false; ^ dcm2niix/nii_dicom_batch.cpp:3485:13: warning: unused variable 'kTempPathSeparator' [-Wunused-variable] const char kTempPathSeparator = '\a'; ^ dcm2niix/nii_dicom_batch.cpp:3486:7: warning: unused variable 'hasCaret' [-Wunused-variable] bool hasCaret = false; ^ dcm2niix/nii_dicom_batch.cpp:6833:9: warning: unused variable 'pf' [-Wunused-variable] float pf = 1.0f; // partial fourier ^ dcm2niix/nii_dicom_batch.cpp:7118:7: warning: variable 'isDirLabel' set but not used [-Wunused-but-set-variable] 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] int nVol = 1; ^ dcm2niix/nii_dicom_batch.cpp:8566:10: warning: unused variable 'shearMat' [-Wunused-variable] mat33 shearMat; ^ 7 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/opt/R/arm64/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RNifti/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c dcm2niix/nii_ortho.cpp -o dcm2niix/nii_ortho.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DUSING_R -DmyDisableMiniZ -I/opt/R/arm64/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RNifti/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ujpeg/ujpeg.cpp -o ujpeg/ujpeg.o 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 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 -L/opt/R/arm64/lib -lopenjp2 -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/divest.Rcheck/00LOCK-divest/00new/divest/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 (divest)