* installing *source* package ‘DescTools’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 18.1.8 (9)’ using Fortran compiler: ‘Debian flang-new version 18.1.8 (9)’ using C++ compiler: ‘Debian clang version 18.1.8 (9)’ using C++17 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 ADinf.c -o ADinf.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 AnDarl.c -o AnDarl.o 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 -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 TukeyBiweight.cpp -o TukeyBiweight.o TukeyBiweight.cpp:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ 1 warning 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 aux_fct.cpp -o aux_fct.o aux_fct.cpp:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ 1 warning 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 between.c -o between.o flang-new-18 -fpic -g -O2 -c cidxcn.f -o cidxcn.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 conc.c -o conc.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 exactsum.c -o exactsum.o 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 extremes.cpp -o extremes.o extremes.cpp:5:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 5 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ 1 warning 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 fdwilcox.c -o fdwilcox.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 fpow.c -o fpow.o 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 gompertz.cpp -o gompertz.o gompertz.cpp:3:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 3 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ 1 warning 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 hlqest.cpp -o hlqest.o hlqest.cpp:13:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 13 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ 1 warning generated. flang-new-18 -fpic -g -O2 -c hoeffd.f -o hoeffd.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 init.c -o init.o flang-new-18 -fpic -g -O2 -c jtpdf.f -o jtpdf.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 ks.c -o ks.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 moments.c -o moments.o flang-new-18 -fpic -g -O2 -c pan.f -o pan.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 pointinpolygon.c -o pointinpolygon.o pointinpolygon.c:11:20: error: use of undeclared identifier 'PI' 11 | double TWOPI = 2 * PI; | ^ pointinpolygon.c:44:38: error: use of undeclared identifier 'PI' 44 | if (x == x1 && y == y1) { angle = PI+1; break; } | ^ pointinpolygon.c:46:90: error: use of undeclared identifier 'PI' 46 | if (x == x1 && x == x2) { if ((y1 <= y && y <= y2) || (y1 >= y && y >= y2)) { angle = PI+1; break; } } // check point between two horizontal points | ^ pointinpolygon.c:47:90: error: use of undeclared identifier 'PI' 47 | if (y == y1 && y == y2) { if ((x1 <= x && x <= x2) || (x1 >= x && x >= x2)) { angle = PI+1; break; } } // check point between two verticle points | ^ pointinpolygon.c:51:48: error: use of undeclared identifier 'PI' 51 | if (dd < epsilon && dy>0 && dy<1) { angle = PI+1; break; } // if dx == dy and dy is between 0 & 1 ... point is on the border line | ^ pointinpolygon.c:55:20: error: use of undeclared identifier 'PI' 55 | while (dtheta > PI) dtheta -= TWOPI; | ^ pointinpolygon.c:56:21: error: use of undeclared identifier 'PI' 56 | while (dtheta < -PI) dtheta += TWOPI; | ^ pointinpolygon.c:60:21: error: use of undeclared identifier 'PI' 60 | if (fabs(angle) < PI) { out[ii] = 0; } else { out[ii] = 1; } | ^ 8 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:195: pointinpolygon.o] Error 1 ERROR: compilation failed for package ‘DescTools’ * removing ‘/srv/hornik/tmp/CRAN/DescTools.Rcheck/DescTools’