############################################################################## ############################################################################## ### ### Running command: ### ### E:\biocbuild\bbs-3.21-bioc\R\bin\R.exe CMD INSTALL eiR ### ############################################################################## ############################################################################## * installing to library 'E:/biocbuild/bbs-3.21-bioc/R/library' * installing *source* package 'eiR' ... ** this is package 'eiR' version '1.47.0' ** using staged installation ** libs using C++ compiler: 'G__~1.EXE (GCC) 13.3.0' 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 optimFunctions.cc -o optimFunctions.o optimFunctions.cc: In function 'SEXPREC* calcF(SEXP, SEXP, SEXP)': optimFunctions.cc:40:17: error: 'length' was not declared in this scope 40 | int k = length(xS); //length of result vector | ^~~~~~ In file included from optimFunctions.cc:2: optimFunctions.cc:91:31: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 91 | SEXP result = PROTECT(allocVector(REALSXP, 1)); | ^~~~~~~~~~~ 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) | ^ optimFunctions.cc: In function 'SEXPREC* calcG(SEXP, SEXP, SEXP)': optimFunctions.cc:99:17: error: 'length' was not declared in this scope 99 | int k = length(xS); //length of result vector | ^~~~~~ optimFunctions.cc:102:31: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 102 | SEXP result = PROTECT(allocVector(REALSXP, k)); | ^~~~~~~~~~~ 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) | ^ make: *** [E:/biocbuild/bbs-3.21-bioc/R/etc/x64/Makeconf:294: optimFunctions.o] Error 1 ERROR: compilation failed for package 'eiR' * removing 'E:/biocbuild/bbs-3.21-bioc/R/library/eiR'