* installing *source* package 'RadEro' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cJSON.c -o cJSON.o cJSON.c: In function 'print_object': cJSON.c:463:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 463 | if (fmt) *ptr++='\n';*ptr=0; | ^~ cJSON.c:463:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 463 | if (fmt) *ptr++='\n';*ptr=0; | ^ cJSON.c: In function 'cJSON_DetachItemFromArray': cJSON.c:490:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 490 | if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;} | ^~ cJSON.c:490:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 490 | if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;} | ^~ cJSON.c: In function 'cJSON_ParseFile': cJSON.c:521:12: warning: variable 'bytesRead' set but not used [-Wunused-but-set-variable] 521 | size_t bytesRead; | ^~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c model.c -o model.o In file included from model.c:33: data_io.h: In function 'read_config': data_io.h:36:14: warning: unused variable 'trash' [-Wunused-variable] 36 | char trash[1024]; | ^~~~~ data_io.h: In function 'write_activity': data_io.h:184:23: warning: unused variable 'x3' [-Wunused-variable] 184 | float x1, x2, x3, dx; | ^~ data_io.h:184:19: warning: unused variable 'x2' [-Wunused-variable] 184 | float x1, x2, x3, dx; | ^~ data_io.h: In function 'read_activity': data_io.h:235:16: warning: variable 'j' set but not used [-Wunused-but-set-variable] 235 | int i, j, cells; | ^ In file included from model.c:34: simulation.h: In function 'isotope_input_t': simulation.h:81:15: warning: 'x1' may be used uninitialized [-Wmaybe-uninitialized] 81 | float x1, t, dt; | ^~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rcpp_hello_world.cpp -o rcpp_hello_world.o g++ -std=gnu++17 -shared -s -static-libgcc -o RadEro.dll tmp.def RcppExports.o cJSON.o model.o rcpp_hello_world.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-RadEro/00new/RadEro/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 (RadEro)