############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL genoCN ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library’ * installing *source* package ‘genoCN’ ... ** this is package ‘genoCN’ version ‘1.60.0’ ** using staged installation ** libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.0.40.1)’ using SDK: ‘MacOSX11.3.sdk’ clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c tnorm_mle.c -o tnorm_mle.o clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c utility.c -o utility.o clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xCNV.c -o xCNV.o xCNV.c:317:16: warning: unused variable 'K' [-Wunused-variable] int L, N, M, K, i, z, k, nGtp, contam=*contamR, CNA=*CNAR; ^ xCNV.c:317:25: warning: unused variable 'k' [-Wunused-variable] int L, N, M, K, i, z, k, nGtp, contam=*contamR, CNA=*CNAR; ^ xCNV.c:449:35: error: expected expression trans1 = (double**) Calloc(N, double*); ^ xCNV.c:449:25: error: use of undeclared identifier 'Calloc' trans1 = (double**) Calloc(N, double*); ^ xCNV.c:450:39: error: expected expression trans1[0] = (double*) Calloc(N*N, double); ^ xCNV.c:450:27: error: use of undeclared identifier 'Calloc' trans1[0] = (double*) Calloc(N*N, double); ^ xCNV.c:455:33: error: expected expression v_old = (double *)Calloc(N, double); ^ xCNV.c:455:23: error: use of undeclared identifier 'Calloc' v_old = (double *)Calloc(N, double); ^ xCNV.c:456:33: error: expected expression v_new = (double *)Calloc(N, double); ^ xCNV.c:456:23: error: use of undeclared identifier 'Calloc' v_new = (double *)Calloc(N, double); ^ xCNV.c:458:32: error: expected expression path_m = (int**) Calloc(L, int*); ^ xCNV.c:458:22: error: use of undeclared identifier 'Calloc' path_m = (int**) Calloc(L, int*); ^ xCNV.c:459:36: error: expected expression path_m[0] = (int*) Calloc(L*N, int); ^ xCNV.c:459:24: error: use of undeclared identifier 'Calloc' path_m[0] = (int*) Calloc(L*N, int); ^ xCNV.c:464:31: error: expected expression tmp = (double *)Calloc(N, double); ^ xCNV.c:464:21: error: use of undeclared identifier 'Calloc' tmp = (double *)Calloc(N, double); ^ xCNV.c:532:5: error: use of undeclared identifier 'Free'; did you mean 'free'? Free(v_old); ^~~~ free /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/malloc/_malloc.h:42:7: note: 'free' declared here void free(void *); ^ xCNV.c:533:5: error: use of undeclared identifier 'Free'; did you mean 'free'? Free(v_new); ^~~~ free /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/malloc/_malloc.h:42:7: note: 'free' declared here void free(void *); ^ xCNV.c:534:5: error: use of undeclared identifier 'Free'; did you mean 'free'? Free(tmp); ^~~~ free /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/malloc/_malloc.h:42:7: note: 'free' declared here void free(void *); ^ xCNV.c:536:5: error: use of undeclared identifier 'Free'; did you mean 'free'? Free(trans1[0]); ^~~~ free /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/malloc/_malloc.h:42:7: note: 'free' declared here void free(void *); ^ xCNV.c:537:5: error: use of undeclared identifier 'Free'; did you mean 'free'? Free(trans1); ^~~~ free /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/malloc/_malloc.h:42:7: note: 'free' declared here void free(void *); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [xCNV.o] Error 1 ERROR: compilation failed for package ‘genoCN’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/genoCN’