############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data LEA ### ############################################################################## ############################################################################## * checking for file ‘LEA/DESCRIPTION’ ... OK * preparing ‘LEA’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘LEA’ ... ** 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. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_LFMM.c -o R_LFMM.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_crossEntropy.c -o R_crossEntropy.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_createDataSet.c -o R_createDataSet.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_sNMF.c -o R_sNMF.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_ancestrymap2geno.c -o R_ancestrymap2geno.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_ancestrymap2lfmm.c -o R_ancestrymap2lfmm.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_geno2lfmm.c -o R_geno2lfmm.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_lfmm2geno.c -o R_lfmm2geno.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_pca.c -o R_pca.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_ped2geno.c -o R_ped2geno.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_ped2lfmm.c -o R_ped2lfmm.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_vcf2geno.c -o R_vcf2geno.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_tracyWidom.c -o R_tracyWidom.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_init_LEA.c -o R_init_LEA.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c bituint/bituint.c -o bituint/bituint.o bituint/bituint.c:30:28: error: implicit declaration of function 'Calloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration] *dat = (bituint *) Calloc(N * (*Mp) * sizeof(bituint), bituint); ^ bituint/bituint.c:30:64: error: unexpected type name 'bituint': expected expression *dat = (bituint *) Calloc(N * (*Mp) * sizeof(bituint), bituint); ^ 2 errors generated. make: *** [bituint/bituint.o] Error 1 ERROR: compilation failed for package ‘LEA’ * removing ‘/private/tmp/Rtmp4OXz9Q/Rinstee1f286a62a8/LEA’ ----------------------------------- ERROR: package installation failed