############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL microRNA ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library’ * installing *source* package ‘microRNA’ ... ** 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 longest_common_substring.cpp -o longest_common_substring.o longest_common_substring.cpp:87:35: error: use of undeclared identifier 'mkCharLen'; did you mean 'Rf_mkCharLen'? SET_STRING_ELT(result, i, mkCharLen(found[i], lcs_len)); ^~~~~~~~~ Rf_mkCharLen /Library/Frameworks/R.framework/Resources/include/Rinternals.h:563:6: note: 'Rf_mkCharLen' declared here SEXP Rf_mkCharLen(const char *, int); ^ 1 error generated. make: *** [longest_common_substring.o] Error 1 ERROR: compilation failed for package ‘microRNA’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/microRNA’