############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data crlmm ### ############################################################################## ############################################################################## * checking for file ‘crlmm/DESCRIPTION’ ... OK * preparing ‘crlmm’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘crlmm’ ... ** 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'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/preprocessCore/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c gtypeCaller.c -o gtypeCaller.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/preprocessCore/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/preprocessCore/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c trimmed.c -o trimmed.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/preprocessCore/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c utils.c -o utils.o utils.c:56:18: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] double *buffer=Calloc(n, double); ^ utils.c:56:28: error: expected expression double *buffer=Calloc(n, double); ^ utils.c:77:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Free(buffer); ^ utils.c:77: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 *); ^ utils.c:82:18: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] double *datvec=Calloc(cols,double); ^ utils.c:82:30: error: expected expression double *datvec=Calloc(cols,double); ^ utils.c:83:29: error: expected expression int *classvec=Calloc(cols,int); ^ utils.c:112:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Free(datvec); ^ utils.c:119:20: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] double *buffer = Calloc(length,double); ^ utils.c:119:34: error: expected expression double *buffer = Calloc(length,double); ^ utils.c:128:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Free(buffer); ^ utils.c:141:18: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] double *buffer=Calloc(n, double); ^ utils.c:141:28: error: expected expression double *buffer=Calloc(n, double); ^ utils.c:153:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Free(buffer); ^ utils.c:208:18: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] double *datvec=Calloc(cols,double); ^ utils.c:208:30: error: expected expression double *datvec=Calloc(cols,double); ^ utils.c:209:29: error: expected expression int *classvec=Calloc(cols,int); ^ utils.c:238:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Free(datvec); ^ 17 errors generated. make: *** [utils.o] Error 1 ERROR: compilation failed for package ‘crlmm’ * removing ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/Rtmp56OgDE/Rinst6521f2ca75a/crlmm’ ----------------------------------- ERROR: package installation failed