* installing *source* package ‘RNifti’ ... ** package ‘RNifti’ successfully unpacked and MD5 sums checked ** using staged installation checking for gcc... /usr/local/clang19/bin/clang 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 /usr/local/clang19/bin/clang accepts -g... yes checking for /usr/local/clang19/bin/clang 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: ‘clang version 19.1.5’ using C++ compiler: ‘clang version 19.1.5’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RNifti/src' /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c main.cpp -o main.o In file included from main.cpp:5: In file included from ../inst/include/RNifti.h:46: In file included from ../inst/include/niftilib/nifti2_io.h:27: ../inst/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. /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c zzz.c -o zzz.o /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c znzlib/znzlib.c -o znzlib/znzlib.o /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c niftilib/nifti1_io.c -o niftilib/nifti1_io.o niftilib/nifti1_io.c:353:19: warning: unused variable 'gni_version' [-Wunused-const-variable] 353 | 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] 363 | static const nifti_type_ele nifti_type_list[] = { | ^~~~~~~~~~~~~~~ niftilib/nifti1_io.c:3337:12: warning: unused function 'compare_strlist' [-Wunused-function] 3337 | static int compare_strlist(const char * str, char ** strlist, int len) | ^~~~~~~~~~~~~~~ niftilib/nifti1_io.c:3292:12: warning: unused function 'is_mixedcase' [-Wunused-function] 3292 | static int is_mixedcase(const char * str) | ^~~~~~~~~~~~ niftilib/nifti1_io.c:3276:12: warning: unused function 'is_uppercase' [-Wunused-function] 3276 | static int is_uppercase(const char * str) | ^~~~~~~~~~~~ niftilib/nifti1_io.c:3323:12: warning: unused function 'make_lowercase' [-Wunused-function] 3323 | static int make_lowercase(char * str) | ^~~~~~~~~~~~~~ niftilib/nifti1_io.c:3310:12: warning: unused function 'make_uppercase' [-Wunused-function] 3310 | static int make_uppercase(char * str) | ^~~~~~~~~~~~~~ niftilib/nifti1_io.c:449:14: warning: unused function 'print_hex_vals' [-Wunused-function] 449 | 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] 6135 | static char *escapize_string( const char * str ) | ^~~~~~~~~~~~~~~ 9 warnings generated. /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DNDEBUG -DHAVE_ZLIB -DUSING_R -DRNIFTI_NIFTILIB_DEDUPLICATE -I../inst/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c niftilib/nifti2_io.c -o niftilib/nifti2_io.o niftilib/nifti2_io.c:4468:12: warning: unused function 'print_hex_vals' [-Wunused-function] 4468 | 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] 8250 | static char *escapize_string( const char * str ) | ^~~~~~~~~~~~~~~ 2 warnings generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang19/lib -L/usr/local/clang19/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o RNifti.so main.o zzz.o znzlib/znzlib.o niftilib/nifti1_io.o niftilib/nifti2_io.o -lz make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RNifti/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RNifti/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RNifti/src' installing to /data/gannet/ripley/R/packages/tests-clang/RNifti.Rcheck/00LOCK-RNifti/00new/RNifti/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 (RNifti)