############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL hummingbird ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library’ * installing *source* package ‘hummingbird’ ... ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c em.cpp -o em.o em.cpp:30:14: error: use of undeclared identifier 'asReal' bin_size = asReal(binSize); ^ em.cpp:36:24: error: use of undeclared identifier 'getAttrib'; did you mean 'Rf_getAttrib'? SEXP S_dim_matrices = getAttrib(normM, R_DimSymbol); ^~~~~~~~~ Rf_getAttrib /Library/Frameworks/R.framework/Resources/include/Rinternals.h:538:6: note: 'Rf_getAttrib' declared here SEXP Rf_getAttrib(SEXP, SEXP); ^ em.cpp:40:27: error: use of undeclared identifier 'getAttrib'; did you mean 'Rf_getAttrib'? SEXP S_dim_matrices_ab = getAttrib(abnormM, R_DimSymbol); ^~~~~~~~~ Rf_getAttrib /Library/Frameworks/R.framework/Resources/include/Rinternals.h:538:6: note: 'Rf_getAttrib' declared here SEXP Rf_getAttrib(SEXP, SEXP); ^ em.cpp:146:5: error: use of undeclared identifier 'error' error("Error allocating memory.\n"); ^ em.cpp:151:5: error: use of undeclared identifier 'error' error("Error allocating memory.\n"); ^ em.cpp:156:5: error: use of undeclared identifier 'error' error("Error allocating memory.\n"); ^ em.cpp:161:5: error: use of undeclared identifier 'error' error("Error allocating memory.\n"); ^ em.cpp:166:5: error: use of undeclared identifier 'error' error("Error allocating memory.\n"); ^ em.cpp:171:5: error: use of undeclared identifier 'error' error("Error allocating memory.\n"); ^ em.cpp:799:22: error: use of undeclared identifier 'allocMatrix'; did you mean 'Rf_allocMatrix'? SEXP S_em = PROTECT(allocMatrix(INTSXP, full_bins, 4)); ^~~~~~~~~~~ Rf_allocMatrix /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:504:6: note: 'Rf_allocMatrix' declared here SEXP Rf_allocMatrix(SEXPTYPE, int, int); ^ em.cpp:807:23: error: use of undeclared identifier 'allocMatrix'; did you mean 'Rf_allocMatrix'? SEXP S_em2 = PROTECT(allocMatrix(REALSXP, full_bins, 2)); ^~~~~~~~~~~ Rf_allocMatrix /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:504:6: note: 'Rf_allocMatrix' declared here SEXP Rf_allocMatrix(SEXPTYPE, int, int); ^ em.cpp:815:23: error: use of undeclared identifier 'mkNamed' SEXP S_res = PROTECT(mkNamed(VECSXP, names)); ^ 12 errors generated. make: *** [em.o] Error 1 ERROR: compilation failed for package ‘hummingbird’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/hummingbird’