* installing *source* package ‘RNifti’ ... ** package ‘RNifti’ successfully unpacked and MD5 sums checked ** using staged installation checking for gcc... clang -arch x86_64 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 x86_64 accepts -g... yes checking for clang -arch x86_64 option to enable C11 features... none needed checking for library containing inflate... -lz configure: creating ./config.status config.status: creating src/Makevars ** 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 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c main.cpp -o main.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c zzz.c -o zzz.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c znzlib/znzlib.c -o znzlib/znzlib.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c niftilib/nifti1_io.c -o niftilib/nifti1_io.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c niftilib/nifti2_io.c -o niftilib/nifti2_io.o niftilib/nifti1_io.c:353:19: warning: unused variable 'gni_version' [-Wunused-const-variable] static const char gni_version[] = NIFTI1_IO_SOURCE_VERSION " (16 Jun, 2022)"; ^ niftilib/nifti1_io.c:363:29: warning: unused variable 'nifti_type_list' [-Wunused-const-variable] static const nifti_type_ele nifti_type_list[] = { ^ niftilib/nifti1_io.c:3337:12: warning: unused function 'compare_strlist' [-Wunused-function] static int compare_strlist(const char * str, char ** strlist, int len) ^ niftilib/nifti1_io.c:3292:12: warning: unused function 'is_mixedcase' [-Wunused-function] static int is_mixedcase(const char * str) ^ niftilib/nifti1_io.c:3276:12: warning: unused function 'is_uppercase' [-Wunused-function] static int is_uppercase(const char * str) ^ niftilib/nifti1_io.c:3323:12: warning: unused function 'make_lowercase' [-Wunused-function] static int make_lowercase(char * str) ^ niftilib/nifti1_io.c:3310:12: warning: unused function 'make_uppercase' [-Wunused-function] static int make_uppercase(char * str) ^ niftilib/nifti1_io.c:449:14: warning: unused function 'print_hex_vals' [-Wunused-function] static int print_hex_vals (const char * data, size_t nbytes, FILE * fp); ^ niftilib/nifti1_io.c:6135:14: warning: unused function 'escapize_string' [-Wunused-function] static char *escapize_string( const char * str ) ^ niftilib/nifti2_io.c:4468:12: warning: unused function 'print_hex_vals' [-Wunused-function] static int print_hex_vals( const char * data, size_t nbytes, FILE * fp ) ^ niftilib/nifti2_io.c:8250:14: warning: unused function 'escapize_string' [-Wunused-function] static char *escapize_string( const char * str ) ^ 9 warnings generated. 2 warnings generated. main.cpp:726:40: warning: suggest braces around initialization of subobject [-Wmissing-braces] const Rcomplex naValue = { NA_REAL, NA_REAL }; ^~~~~~~~~~~~~~~~ { } /Library/Frameworks/R.framework/Resources/include/R_ext/Arith.h:58:18: note: expanded from macro 'NA_REAL' #define NA_REAL R_NaReal ^ main.cpp:780:40: warning: suggest braces around initialization of subobject [-Wmissing-braces] const Rcomplex naValue = { NA_REAL, NA_REAL }; ^~~~~~~~~~~~~~~~ { } /Library/Frameworks/R.framework/Resources/include/R_ext/Arith.h:58:18: note: expanded from macro 'NA_REAL' #define NA_REAL R_NaReal ^ 2 warnings generated. clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o RNifti.so main.o zzz.o znzlib/znzlib.o niftilib/nifti1_io.o niftilib/nifti2_io.o -lz -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.3/RNifti.Rcheck/00LOCK-RNifti/00new/RNifti/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 (RNifti)