############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL groHMM ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library’ * installing *source* package ‘groHMM’ ... ** this is package ‘groHMM’ version ‘1.41.0’ ** 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 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c AnnotateProbes.c -o AnnotateProbes.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c DecayAlgorithm.c -o DecayAlgorithm.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c MLEfit.c -o MLEfit.o MLEfit.c:260:25: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int maxn = 2*n_x+1, cnt=0; ^ In file included from MLEfit.c:43: ./hmmHeader.h:281:16: warning: unused function 'MargainalizeSumLogProbOver' [-Wunused-function] static double MargainalizeSumLogProbOver(int state, int position, ^ ./hmmHeader.h:301:16: warning: unused function 'expSum' [-Wunused-function] static double expSum(double *logValues, int length) { ^ 3 warnings generated. clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RegisterRRoutines.c -o RegisterRRoutines.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Windowing.c -o Windowing.o Windowing.c:146:6: warning: unused variable 'II' [-Wunused-variable] int II = 0; ^ 1 warning generated. clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c hmmEM.c -o hmmEM.o In file included from hmmEM.c:50: ./hmmHeader.h:281:16: warning: unused function 'MargainalizeSumLogProbOver' [-Wunused-function] static double MargainalizeSumLogProbOver(int state, int position, ^ ./hmmHeader.h:301:16: warning: unused function 'expSum' [-Wunused-function] static double expSum(double *logValues, int length) { ^ 2 warnings generated. clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c hmmFwBw.c -o hmmFwBw.o In file included from hmmFwBw.c:45: ./hmmHeader.h:281:16: warning: unused function 'MargainalizeSumLogProbOver' [-Wunused-function] static double MargainalizeSumLogProbOver(int state, int position, ^ ./hmmHeader.h:301:16: warning: unused function 'expSum' [-Wunused-function] static double expSum(double *logValues, int length) { ^ 2 warnings generated. clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c hmmMiscFunctions.c -o hmmMiscFunctions.o hmmMiscFunctions.c:236:49: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] Assertion about to fail! logPP= %d\n", logPP); ~~ ^~~~~ %f hmmMiscFunctions.c:274:27: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] double *shape= (double*)Calloc(1, double); ^ hmmMiscFunctions.c:274:37: error: expected expression double *shape= (double*)Calloc(1, double); ^ hmmMiscFunctions.c:275:37: error: expected expression double *scale= (double*)Calloc(1, double); ^ hmmMiscFunctions.c:287:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Free(shape); ^ hmmMiscFunctions.c:287:3: note: did you mean 'free'? /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/malloc/_malloc.h:42:7: note: 'free' declared here void free(void *); ^ hmmMiscFunctions.c:384:10: warning: unused variable 'wi' [-Wunused-variable] double wi, *newEx; ^ hmmMiscFunctions.c:417:10: warning: unused variable 'epsilon' [-Wunused-variable] double epsilon=0.00001; ^ 3 warnings and 4 errors generated. make: *** [hmmMiscFunctions.o] Error 1 ERROR: compilation failed for package ‘groHMM’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/groHMM’