* installing *source* package 'Pijavski' ... ** this is package 'Pijavski' version '1.0.5' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c pijavski.cpp -o pijavski.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/r/headers.h:72, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/RcppCommon.h:31, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:27, from pijavski.cpp:35: pijavski.cpp: In function 'SEXPREC* Pijavski(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': pijavski.cpp:199:14: error: cannot convert 'double' to 'SEXP' {aka 'SEXPREC*'} 199 | PROTECT(f1 = Rf_asReal(fval)); | ~~~^~~~~~~~~~~~~~~~~ | | | double D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ D:/RCompile/recent/R/include/Rinternals.h:1132:17: note: initializing argument 1 of 'SEXPREC* Rf_protect(SEXP)' 1132 | SEXP Rf_protect(SEXP); | ^~~~ pijavski.cpp:209:14: error: cannot convert 'double' to 'SEXP' {aka 'SEXPREC*'} 209 | PROTECT(f2 = Rf_asReal(fval)); | ~~~^~~~~~~~~~~~~~~~~ | | | double D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ D:/RCompile/recent/R/include/Rinternals.h:1132:17: note: initializing argument 1 of 'SEXPREC* Rf_protect(SEXP)' 1132 | SEXP Rf_protect(SEXP); | ^~~~ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: pijavski.o] Error 1 ERROR: compilation failed for package 'Pijavski' * removing 'd:/RCompile/CRANincoming/R-devel/lib/Pijavski'