* installing *source* package ‘Haplin’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 18.1.8 (9)’ using C++ compiler: ‘Debian clang version 18.1.8 (9)’ clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c Haplin_init.c -o Haplin_init.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -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 dists.cc -o dists.o dists.cc:30:29: error: use of undeclared identifier 'PI' 30 | static const double TWOPI=2*PI; | ^ 1 error generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:200: dists.o] Error 1 ERROR: compilation failed for package ‘Haplin’ * removing ‘/srv/hornik/tmp/CRAN/Haplin.Rcheck/Haplin’