* installing *source* package ‘dfcomb’ ... ** package ‘dfcomb’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/dfcomb/src' gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c arms.c -o arms.o arms.c: In function 'meet': arms.c:656:15: warning: 'gr' may be used uninitialized [-Wmaybe-uninitialized] 656 | dl = (grl - gr) * (q->pr->x - q->pl->x); | ~~~~~^~~~~ arms.c:594:13: note: 'gr' was declared here 594 | double gl,gr,grl,dl,dr; | ^~ arms.c:666:48: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized] 666 | q->y = (dl * q->pr->y + dr * q->pl->y + dl * dr)/(dl + dr); | ~~~^~~~ arms.c:594:23: note: 'dr' was declared here 594 | double gl,gr,grl,dl,dr; | ^~ gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c dfcomb.c -o dfcomb.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppProgress/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c logistic.cpp -o logistic.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from logistic.cpp:8: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition logistic.cpp: In function 'void logistic_sim(int*, int*, int*, double*, double*, double*, double*, double*, double*, double*, double*, int*, int*, int*, double*, double*, double*, double*, double*, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, double*, double*, double*, double*, double*, double*)': logistic.cpp:774:33: error: 'error' was not declared in this scope; did you mean 'perror'? 774 | catch (std::logic_error &e) { error("Internal error in dfcomb (details: %s)", e.what()); } | ^~~~~ | perror logistic.cpp:775:17: error: 'error' was not declared in this scope; did you mean 'perror'? 775 | catch (...) { error("Internal error in dfcomb"); } | ^~~~~ | perror logistic.cpp: In function 'void logistic_next(int*, int*, int*, double*, double*, double*, double*, double*, double*, int*, int*, double*, double*, double*, double*, double*, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, double*, double*, int*, int*, int*, double*, double*, double*, double*, double*)': logistic.cpp:866:9: error: 'error' was not declared in this scope; did you mean 'perror'? 866 | error("dfcomb : the final recommendation cannot be computed when " | ^~~~~ | perror logistic.cpp:902:33: error: 'error' was not declared in this scope; did you mean 'perror'? 902 | catch (std::logic_error &e) { error("Internal error in dfcomb (details: %s)", e.what()); } | ^~~~~ | perror logistic.cpp:903:17: error: 'error' was not declared in this scope; did you mean 'perror'? 903 | catch (...) { error("Internal error in dfcomb"); } | ^~~~~ | perror make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: logistic.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/dfcomb/src' ERROR: compilation failed for package ‘dfcomb’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/dfcomb-lib/dfcomb’ Command exited with non-zero status 1 Time 0:13.75, 11.42 + 1.04