############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL microRNA ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library’ * installing *source* package ‘microRNA’ ... ** this is package ‘microRNA’ version ‘1.65.0’ ** 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/opt/R/x86_64/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-x86_64/Resources/library/microRNA’