* installing *source* package 'RNifti' ... ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C compiler: 'gcc.exe (GCC) 12.2.0' using C++ compiler: 'g++.exe (GCC) 12.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c main.cpp -o main.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c zzz.c -o zzz.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c znzlib/znzlib.c -o znzlib/znzlib.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c niftilib/nifti1_io.c -o niftilib/nifti1_io.o niftilib/nifti1_io.c:448:14: warning: 'print_hex_vals' declared 'static' but never defined [-Wunused-function] 448 | static int print_hex_vals (const char * data, size_t nbytes, FILE * fp); | ^~~~~~~~~~~~~~ niftilib/nifti1_io.c:6134:14: warning: 'escapize_string' defined but not used [-Wunused-function] 6134 | static char *escapize_string( const char * str ) | ^~~~~~~~~~~~~~~ niftilib/nifti1_io.c:3336:12: warning: 'compare_strlist' defined but not used [-Wunused-function] 3336 | static int compare_strlist(const char * str, char ** strlist, int len) | ^~~~~~~~~~~~~~~ niftilib/nifti1_io.c:3322:12: warning: 'make_lowercase' defined but not used [-Wunused-function] 3322 | static int make_lowercase(char * str) | ^~~~~~~~~~~~~~ niftilib/nifti1_io.c:3309:12: warning: 'make_uppercase' defined but not used [-Wunused-function] 3309 | static int make_uppercase(char * str) | ^~~~~~~~~~~~~~ niftilib/nifti1_io.c:3291:12: warning: 'is_mixedcase' defined but not used [-Wunused-function] 3291 | static int is_mixedcase(const char * str) | ^~~~~~~~~~~~ niftilib/nifti1_io.c:3275:12: warning: 'is_uppercase' defined but not used [-Wunused-function] 3275 | static int is_uppercase(const char * str) | ^~~~~~~~~~~~ niftilib/nifti1_io.c:362:29: warning: 'nifti_type_list' defined but not used [-Wunused-const-variable=] 362 | static const nifti_type_ele nifti_type_list[] = { | ^~~~~~~~~~~~~~~ niftilib/nifti1_io.c:352:19: warning: 'gni_version' defined but not used [-Wunused-const-variable=] 352 | static const char gni_version[] = NIFTI1_IO_SOURCE_VERSION " (16 Jun, 2022)"; | ^~~~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c niftilib/nifti2_io.c -o niftilib/nifti2_io.o niftilib/nifti2_io.c:8250:14: warning: 'escapize_string' defined but not used [-Wunused-function] 8250 | static char *escapize_string( const char * str ) | ^~~~~~~~~~~~~~~ niftilib/nifti2_io.c:4468:12: warning: 'print_hex_vals' defined but not used [-Wunused-function] 4468 | static int print_hex_vals( const char * data, size_t nbytes, FILE * fp ) | ^~~~~~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o RNifti.dll tmp.def main.o zzz.o znzlib/znzlib.o niftilib/nifti1_io.o niftilib/nifti2_io.o -lz -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-RNifti/00new/RNifti/libs/x64 ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (RNifti)