* 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 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 fastgrid2.cc -o fastgrid2.o fastgrid2.cc: In function 'SEXPREC* fastgrid2_gaussian(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': fastgrid2.cc:63:17: error: 'asInteger' was not declared in this scope; did you mean 'Rf_asInteger'? 63 | int model = asInteger(u_model); | ^~~~~~~~~ | Rf_asInteger fastgrid2.cc:69:23: error: 'isNull' was not declared in this scope; did you mean 'Rf_isNull'? 69 | bool sieveBoot = !isNull(u_sieveY); | ^~~~~~ | Rf_isNull fastgrid2.cc:77:19: error: 'nrows' was not declared in this scope 77 | const int n = nrows(u_X); | ^~~~~ fastgrid2.cc:78:19: error: 'ncols' was not declared in this scope 78 | const int p = ncols(u_X); | ^~~~~ fastgrid2.cc:79:21: error: 'length' was not declared in this scope 79 | int nThresholds=length(u_thresholdIdx); | ^~~~~~ In file included from D:/RCompile/recent/R/include/Rdefines.h:41, from fastgrid_helper.h:15, from fastgrid2.cc:17: fastgrid2.cc:137:35: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 137 | SEXP _ehatvec=PROTECT(allocVector(REALSXP, 2)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ fastgrid2.cc:150:35: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 150 | SEXP _logliks=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) | ^ fastgrid2.cc:238:28: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 238 | SEXP _coef=PROTECT(allocVector(REALSXP, nBoot*(p_coef))); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ fastgrid2.cc:440:28: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 440 | SEXP _coef=PROTECT(allocVector(REALSXP, nBoot*(p_coef))); | ^~~~~~~~~~~ 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: fastgrid2.o] Error 1 ERROR: compilation failed for package 'chngpt' * removing 'd:/RCompile/CRANincoming/R-devel/lib/chngpt'