* installing *source* package ‘RadEro’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 18.1.8 (11)’ using C++ compiler: ‘Debian clang version 18.1.8 (11)’ clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c cJSON.c -o cJSON.o In file included from cJSON.c:33: ./cJSON.h:83:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 83 | extern const char *cJSON_GetErrorPtr(); | ^ | void ./cJSON.h:86:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 86 | extern cJSON *cJSON_CreateNull(); | ^ | void ./cJSON.h:87:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 87 | extern cJSON *cJSON_CreateTrue(); | ^ | void ./cJSON.h:88:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 88 | extern cJSON *cJSON_CreateFalse(); | ^ | void ./cJSON.h:92:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 92 | extern cJSON *cJSON_CreateArray(); | ^ | void ./cJSON.h:93:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 93 | extern cJSON *cJSON_CreateObject(); | ^ | void cJSON.c:37:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 37 | const char *cJSON_GetErrorPtr() {return ep;} | ^ | void cJSON.c:73:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 73 | static cJSON *cJSON_New_Item() | ^ | void cJSON.c:502:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 502 | cJSON *cJSON_CreateNull() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_NULL;return item;} | ^ | void cJSON.c:503:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 503 | cJSON *cJSON_CreateTrue() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_True;return item;} | ^ | void cJSON.c:504:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 504 | cJSON *cJSON_CreateFalse() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_False;return item;} | ^ | void cJSON.c:508:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 508 | cJSON *cJSON_CreateArray() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_Array;return item;} | ^ | void cJSON.c:509:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 509 | cJSON *cJSON_CreateObject() {cJSON *item=cJSON_New_Item();if(item)item->type=cJSON_Object;return item;} | ^ | void cJSON.c:521:12: warning: variable 'bytesRead' set but not used [-Wunused-but-set-variable] 521 | size_t bytesRead; | ^ 14 warnings generated. clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c model.c -o model.o In file included from model.c:31: ./cJSON.h:83:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 83 | extern const char *cJSON_GetErrorPtr(); | ^ | void ./cJSON.h:86:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 86 | extern cJSON *cJSON_CreateNull(); | ^ | void ./cJSON.h:87:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 87 | extern cJSON *cJSON_CreateTrue(); | ^ | void ./cJSON.h:88:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 88 | extern cJSON *cJSON_CreateFalse(); | ^ | void ./cJSON.h:92:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 92 | extern cJSON *cJSON_CreateArray(); | ^ | void ./cJSON.h:93:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 93 | extern cJSON *cJSON_CreateObject(); | ^ | void In file included from model.c:32: ./defs.h:34:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 34 | int cs_model(); | ^ | void In file included from model.c:33: ./data_io.h:36:7: warning: unused variable 'trash' [-Wunused-variable] 36 | char trash[1024]; | ^~~~~ ./data_io.h:184:12: warning: unused variable 'x2' [-Wunused-variable] 184 | float x1, x2, x3, dx; | ^~ ./data_io.h:184:16: warning: unused variable 'x3' [-Wunused-variable] 184 | float x1, x2, x3, dx; | ^~ ./data_io.h:235:9: 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:94:10: warning: variable 'x1' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 94 | else if(i+1 == j){ | ^~~~~~~~ ./simulation.h:109:9: note: uninitialized use occurs here 109 | return x1; | ^~ ./simulation.h:94:7: note: remove the 'if' if its condition is always true 94 | else if(i+1 == j){ | ^~~~~~~~~~~~ ./simulation.h:81:10: note: initialize the variable 'x1' to silence this warning 81 | float x1, t, dt; | ^ | = 0.0 model.c:38:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 38 | int cs_model() | ^ | void 13 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c rcpp_hello_world.cpp -o rcpp_hello_world.o clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-18/lib -Wl,-O1 -o RadEro.so RcppExports.o cJSON.o model.o rcpp_hello_world.o -L/home/hornik/tmp/R-d-clang-18/lib -lR installing to /srv/hornik/tmp/CRAN_pretest/RadEro.Rcheck/00LOCK-RadEro/00new/RadEro/libs ** R ** data ** 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 (RadEro)