############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data bridge ### ############################################################################## ############################################################################## * checking for file ‘bridge/DESCRIPTION’ ... OK * preparing ‘bridge’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘bridge’ ... ** using staged installation ** libs clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c bridge2.affy.c -o bridge2.affy.o bridge2.affy.c:37:7: warning: unused variable 'count_model' [-Wunused-variable] int count_model=0; ^ bridge2.affy.c:36:7: warning: unused variable 'old_model' [-Wunused-variable] int old_model; ^ bridge2.affy.c:302:3: error: implicit declaration of function 'dirichlet' is invalid in C99 [-Werror,-Wimplicit-function-declaration] dirichlet(gamma, 2, w); ^ bridge2.affy.c:302:3: note: did you mean 'dirichlet2'? bridge2.affy.c:10:6: note: 'dirichlet2' declared here void dirichlet2(double *gamma, int n, double *w); ^ bridge2.affy.c:282:10: warning: unused variable 'w_new' [-Wunused-variable] double w_new[2]; ^ 3 warnings and 1 error generated. make: *** [bridge2.affy.o] Error 1 ERROR: compilation failed for package ‘bridge’ * removing ‘/private/tmp/RtmpPp82VC/Rinstbfc735725784/bridge’ ----------------------------------- ERROR: package installation failed