############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data GeneGeneInteR ### ############################################################################## ############################################################################## * checking for file ‘GeneGeneInteR/DESCRIPTION’ ... OK * preparing ‘GeneGeneInteR’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘GeneGeneInteR’ ... ** using staged installation ** libs using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c chclust.cpp -o chclust.o chclust.cpp:43:29: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? PROTECT(eMessage = allocVector(STRSXP, 1)); ^~~~~~~~~~~ Rf_allocVector /Library/Frameworks/R.framework/Resources/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ /Library/Frameworks/R.framework/Resources/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); ^ chclust.cpp:44:38: error: use of undeclared identifier 'mkChar' SET_STRING_ELT(eMessage, 0, mkChar("Error in Conslink C++ code")); ^ chclust.cpp:50:29: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? PROTECT(eMessage = allocVector(STRSXP, 1)); ^~~~~~~~~~~ Rf_allocVector /Library/Frameworks/R.framework/Resources/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ /Library/Frameworks/R.framework/Resources/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); ^ chclust.cpp:51:38: error: use of undeclared identifier 'mkChar' SET_STRING_ELT(eMessage, 0, mkChar("Error in ConISS C++ code")); ^ chclust.cpp:56:26: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? PROTECT(eMessage = allocVector(STRSXP, 1)); ^~~~~~~~~~~ Rf_allocVector /Library/Frameworks/R.framework/Resources/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ /Library/Frameworks/R.framework/Resources/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); ^ chclust.cpp:57:35: error: use of undeclared identifier 'mkChar' SET_STRING_ELT(eMessage, 0, mkChar("Unknown clustering method")); ^ chclust.cpp:61:20: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? PROTECT(sDend = allocVector(REALSXP, nr-1)); ^~~~~~~~~~~ Rf_allocVector /Library/Frameworks/R.framework/Resources/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ /Library/Frameworks/R.framework/Resources/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); ^ 7 errors generated. make: *** [chclust.o] Error 1 ERROR: compilation failed for package ‘GeneGeneInteR’ * removing ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/RtmpmBqlrI/Rinstd778dfe041/GeneGeneInteR’ ----------------------------------- ERROR: package installation failed