* installing *source* package ‘chngpt’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 19.1.3 (1)’ using C++ compiler: ‘Debian clang version 19.1.3 (1)’ clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c M10.cc -o M10.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c M111.cc -o M111.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c M20.cc -o M20.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c M20c.cc -o M20c.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c M22.cc -o M22.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c M22c.cc -o M22c.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c M30.cc -o M30.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c M33c.cc -o M33c.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c Mstep.cc -o Mstep.o clang-19 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c doublehinge.c -o doublehinge.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c fastgrid.cc -o fastgrid.o fastgrid.cc:175:17: error: use of undeclared identifier 'asInteger'; did you mean 'Rf_asInteger'? 175 | int nBoot = asInteger(u_nBoot); | ^~~~~~~~~ | Rf_asInteger /home/hornik/tmp/R-d-clang-19/include/Rinternals.h:487:5: note: 'Rf_asInteger' declared here 487 | int Rf_asInteger(SEXP x); | ^ fastgrid.cc:179:19: error: use of undeclared identifier 'nrows' 179 | const int n = nrows(u_X); | ^ fastgrid.cc:180:19: error: use of undeclared identifier 'ncols' 180 | const int p = ncols(u_X); | ^ fastgrid.cc:181:21: error: use of undeclared identifier 'length' 181 | int nThresholds=length(u_thresholdIdx); | ^ fastgrid.cc:197:27: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 197 | SEXP _ans=PROTECT(allocVector(REALSXP, nThresholds)); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-19/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-19/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here 1078 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ fastgrid.cc:215:27: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 215 | SEXP _ans=PROTECT(allocVector(REALSXP, nBoot*(p+1)));// p slopes, 1 threshold, 1 goodness of fit stat | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-19/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-19/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here 1078 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ 6 errors generated. make: *** [/home/hornik/tmp/R-d-clang-19/etc/Makeconf:200: fastgrid.o] Error 1 ERROR: compilation failed for package ‘chngpt’ * removing ‘/srv/hornik/tmp/CRAN_pretest/chngpt.Rcheck/chngpt’