############################################################################## ############################################################################## ### ### Running command: ### ### chmod a+r cn.farms -R && E:\biocbuild\bbs-3.21-bioc\R\bin\R.exe CMD build --keep-empty-dirs --no-resave-data cn.farms ### ############################################################################## ############################################################################## * checking for file 'cn.farms/DESCRIPTION' ... OK * preparing 'cn.farms': * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package 'cn.farms' ... ** this is package 'cn.farms' version '1.55.0' ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.3.0' using C++ compiler: 'G__~1.EXE (GCC) 13.3.0' gcc -I"E:/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c R_init_cnfarms.c -o R_init_cnfarms.o g++ -std=gnu++17 -I"E:/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c laplace.cpp -o laplace.o In file included from laplace.cpp:7: laplace.cpp: In function 'SEXPREC* momentsGauss(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': laplace.cpp:448:23: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 448 | PROTECT(RET = allocVector(VECSXP, 8)); | ^~~~~~~~~~~ E:/biocbuild/bbs-3.21-bioc/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ laplace.cpp:519:37: error: 'mkChar' was not declared in this scope; did you mean 'char'? 519 | SET_STRING_ELT(namesRET, 0, mkChar("normConst")); | ^~~~~~ | char laplace.cpp:528:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 528 | setAttrib(RET, R_NamesSymbol, namesRET); | ^~~~~~~~~ | Rf_setAttrib laplace.cpp:442:13: warning: unused variable 'method' [-Wunused-variable] 442 | int method=0; | ^~~~~~ laplace.cpp: In function 'SEXPREC* momentsIntegrationTrapez(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': laplace.cpp:603:23: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 603 | PROTECT(RET = allocVector(VECSXP, 8)); | ^~~~~~~~~~~ E:/biocbuild/bbs-3.21-bioc/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ laplace.cpp:708:37: error: 'mkChar' was not declared in this scope; did you mean 'char'? 708 | SET_STRING_ELT(namesRET, 0, mkChar("normConst")); | ^~~~~~ | char laplace.cpp:717:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 717 | setAttrib(RET, R_NamesSymbol, namesRET); | ^~~~~~~~~ | Rf_setAttrib make: *** [E:/biocbuild/bbs-3.21-bioc/R/etc/x64/Makeconf:296: laplace.o] Error 1 ERROR: compilation failed for package 'cn.farms' * removing 'E:/biocbuild/bbs-3.21-bioc/tmpdir/RtmpgNZLAP/Rinst769c5e6e4fa1/cn.farms' ----------------------------------- ERROR: package installation failed