############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL ncdfFlow ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library’ * installing *source* package ‘ncdfFlow’ ... ** this is package ‘ncdfFlow’ version ‘2.57.0’ ** using staged installation ** libs using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using C++11 using SDK: ‘MacOSX11.3.1.sdk’ clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/cpp11/include' -I'/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/Rhdf5lib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cpp11.cpp -o cpp11.o In file included from cpp11.cpp:5: In file included from /Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/cpp11/include/cpp11/declarations.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/cpp11/include/cpp11.hpp:7: /Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/cpp11/include/cpp11/data_frame.hpp:29:9: error: use of undeclared identifier 'R_nrow'; did you mean 'Rf_nrows'? return R_nrow(x); ^~~~~~ Rf_nrows /Library/Frameworks/R.framework/Resources/include/Rinternals.h:568:5: note: 'Rf_nrows' declared here int Rf_nrows(SEXP); ^ 1 error generated. make: *** [cpp11.o] Error 1 ERROR: compilation failed for package ‘ncdfFlow’ * removing ‘/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/ncdfFlow’ * restoring previous ‘/Library/Frameworks/R.framework/Versions/4.6-arm64/Resources/library/ncdfFlow’