############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/R/R/bin/R CMD build --keep-empty-dirs --no-resave-data chromstaR ### ############################################################################## ############################################################################## * checking for file ‘chromstaR/DESCRIPTION’ ... OK * preparing ‘chromstaR’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘chromstaR’ ... ** 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 -fopenmp -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c R_interface.cpp -o R_interface.o /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 -fopenmp -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c densities.cpp -o densities.o densities.cpp: In constructor ‘ZiNB::ZiNB(int*, int, double, double, double)’: densities.cpp:25:66: error: expected primary-expression before ‘double’ 25 | this->lxfactorials = (double*) Calloc(max_obs+1, double); | ^~~~~~ densities.cpp:25:48: error: ‘Calloc’ was not declared in this scope; did you mean ‘calloc’? 25 | this->lxfactorials = (double*) Calloc(max_obs+1, double); | ^~~~~~ | calloc densities.cpp: In destructor ‘virtual ZiNB::~ZiNB()’: densities.cpp:40:17: error: ‘Free’ was not declared in this scope; did you mean ‘free’? 40 | Free(this->lxfactorials); | ^~~~ | free densities.cpp: In constructor ‘NegativeBinomial::NegativeBinomial(int*, int, double, double)’: densities.cpp:347:66: error: expected primary-expression before ‘double’ 347 | this->lxfactorials = (double*) Calloc(max_obs+1, double); | ^~~~~~ densities.cpp:347:48: error: ‘Calloc’ was not declared in this scope; did you mean ‘calloc’? 347 | this->lxfactorials = (double*) Calloc(max_obs+1, double); | ^~~~~~ | calloc densities.cpp: In destructor ‘virtual NegativeBinomial::~NegativeBinomial()’: densities.cpp:362:17: error: ‘Free’ was not declared in this scope; did you mean ‘free’? 362 | Free(this->lxfactorials); | ^~~~ | free densities.cpp: In member function ‘virtual void MVCopulaApproximation::calc_logdensities(double*)’: densities.cpp:881:50: error: expected primary-expression before ‘double’ 881 | double* z = (double*) Calloc(this->Nmod, double); | ^~~~~~ densities.cpp:881:31: error: ‘Calloc’ was not declared in this scope; did you mean ‘calloc’? 881 | double* z = (double*) Calloc(this->Nmod, double); | ^~~~~~ | calloc densities.cpp:976:9: error: ‘Free’ was not declared in this scope; did you mean ‘free’? 976 | Free(z); | ^~~~ | free make: *** [/home/biocbuild/R/R/etc/Makeconf:204: densities.o] Error 1 ERROR: compilation failed for package ‘chromstaR’ * removing ‘/home/biocbuild/tmp/RtmpFhguAL/Rinst51b487b55cbb8/chromstaR’ ----------------------------------- ERROR: package installation failed