############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/R/R/bin/R CMD build --keep-empty-dirs --no-resave-data eiR ### ############################################################################## ############################################################################## * checking for file ‘eiR/DESCRIPTION’ ... OK * preparing ‘eiR’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘eiR’ ... ** using staged installation ** libs using C++ compiler: ‘aarch64-unknown-linux-gnu-g++ (GCC) 14.2.0’ /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -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)); | ^~~~~~~~~~~ /home/biocbuild/R/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)); | ^~~~~~~~~~~ /home/biocbuild/R/R/include/Rinternals.h:388:36: note: in definition of macro ‘PROTECT’ 388 | #define PROTECT(s) Rf_protect(s) | ^ make: *** [/home/biocbuild/R/R/etc/Makeconf:202: optimFunctions.o] Error 1 ERROR: compilation failed for package ‘eiR’ * removing ‘/home/biocbuild/tmp/RtmpSzVe7N/Rinst7464f1eba3e79/eiR’ ----------------------------------- ERROR: package installation failed