############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL twilight ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library’ * installing *source* package ‘twilight’ ... ** 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 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c confidence.line.c -o confidence.line.o confidence.line.c:21:7: error: implicit declaration of function 'Calloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ex1=Calloc(*ngene,double); ^ confidence.line.c:21:21: error: expected expression ex1=Calloc(*ngene,double); ^ confidence.line.c:22:21: error: expected expression ex0=Calloc(*ngene,double); ^ confidence.line.c:23:22: error: expected expression ex21=Calloc(*ngene,double); ^ confidence.line.c:24:22: error: expected expression ex20=Calloc(*ngene,double); ^ confidence.line.c:25:19: error: expected expression r=Calloc(*ngene,double); ^ confidence.line.c:26:19: error: expected expression s=Calloc(*ngene,double); ^ confidence.line.c:27:22: error: expected expression stat=Calloc(*ngene,double); ^ confidence.line.c:100:3: error: implicit declaration of function 'Free' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Free(ex1); ^ confidence.line.c:100: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 *); ^ confidence.line.c:118:6: error: implicit declaration of function 'Calloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration] g1=Calloc(*n1,double); ^ confidence.line.c:118:17: error: expected expression g1=Calloc(*n1,double); ^ confidence.line.c:119:17: error: expected expression g0=Calloc(*n1,double); ^ confidence.line.c:120:19: error: expected expression diff=Calloc(*n1,double); ^ confidence.line.c:121:19: error: expected expression r=Calloc(*ngene,double); ^ confidence.line.c:122:19: error: expected expression s=Calloc(*ngene,double); ^ confidence.line.c:123:21: error: expected expression ex2=Calloc(*ngene,double); ^ confidence.line.c:124:22: error: expected expression stat=Calloc(*ngene,double); ^ confidence.line.c:221:3: error: implicit declaration of function 'Free' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Free(g1); ^ 18 errors generated. make: *** [confidence.line.o] Error 1 ERROR: compilation failed for package ‘twilight’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/twilight’