############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL girafe ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library’ * installing *source* package ‘girafe’ ... ** this is package ‘girafe’ version ‘1.59.1’ ** using staged installation ** libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ 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 coverage.cpp -o coverage.o coverage.cpp:2:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ coverage.cpp:44:15: error: use of undeclared identifier 'length' int len = length(starts); ^ coverage.cpp:104:20: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? PROTECT( res = allocVector( INTSXP, xxit * 2) ); ^~~~~~~~~~~ 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); ^ coverage.cpp:114:20: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? PROTECT( dim = allocVector(INTSXP, 2)); ^~~~~~~~~~~ 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); ^ 1 warning and 3 errors generated. make: *** [coverage.o] Error 1 ERROR: compilation failed for package ‘girafe’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/girafe’