* installing *source* package 'chngpt' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.3.0' using C++ compiler: 'g++.exe (GCC) 13.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c M10.cc -o M10.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c M111.cc -o M111.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c M20.cc -o M20.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c M20c.cc -o M20c.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c M22.cc -o M22.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c M22c.cc -o M22c.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c M30.cc -o M30.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c M33c.cc -o M33c.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c Mstep.cc -o Mstep.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c doublehinge.c -o doublehinge.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DSCYTHE_RPACK -DHAVE_TRUNC -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c fastgrid.cc -o fastgrid.o fastgrid.cc: In function 'SEXPREC* fastgrid_gaussian(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': fastgrid.cc:175:17: error: 'asInteger' was not declared in this scope; did you mean 'Rf_asInteger'? 175 | int nBoot = asInteger(u_nBoot); | ^~~~~~~~~ | Rf_asInteger fastgrid.cc:179:19: error: 'nrows' was not declared in this scope 179 | const int n = nrows(u_X); | ^~~~~ fastgrid.cc:180:19: error: 'ncols' was not declared in this scope 180 | const int p = ncols(u_X); | ^~~~~ fastgrid.cc:181:21: error: 'length' was not declared in this scope 181 | int nThresholds=length(u_thresholdIdx); | ^~~~~~ In file included from D:/RCompile/recent/R/include/Rdefines.h:41, from fastgrid_helper.h:15, from fastgrid.cc:21: fastgrid.cc:197:27: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 197 | SEXP _ans=PROTECT(allocVector(REALSXP, nThresholds)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ fastgrid.cc:215:27: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 215 | SEXP _ans=PROTECT(allocVector(REALSXP, nBoot*(p+1)));// p slopes, 1 threshold, 1 goodness of fit stat | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:295: fastgrid.o] Error 1 ERROR: compilation failed for package 'chngpt' * removing 'd:/RCompile/CRANincoming/R-devel/lib/chngpt'