* installing *source* package ‘BAS’ ... ** package ‘BAS’ successfully unpacked and MD5 sums checked ** libs clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c E.ZS.c -o E.ZS.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ZS.approx.full.np.c -o ZS.approx.full.np.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ZS.approx.null.np.c -o ZS.approx.null.np.o ZS.approx.null.np.c:60:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c amcmc.c -o amcmc.o amcmc.c:821:15: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] index = ftrunc(n*unif_rand()); ~ ^~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/R-clang/include/Rmath.h:242:17: note: expanded from macro 'ftrunc' #define ftrunc Rf_ftrunc ^ amcmc.c:846:16: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] swapin = ftrunc(unif_rand()*num_to_swap_in); // swapin :corresponds to position of randomly chosen included variable ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/R-clang/include/Rmath.h:242:17: note: expanded from macro 'ftrunc' #define ftrunc Rf_ftrunc ^ amcmc.c:847:17: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] swapout = ftrunc(unif_rand()*num_to_swap_out); // swapout :corresponds to position of randomly chosen excluded variable ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/R-clang/include/Rmath.h:242:17: note: expanded from macro 'ftrunc' #define ftrunc Rf_ftrunc ^ 3 warnings generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c bayesglm.c -o bayesglm.o bayesglm.c:79:8: warning: unused variable 'Rresdf' [-Wunused-variable] SEXP Rresdf = PROTECT(allocVector(INTSXP,1)); ++nProtected; ^ 1 warning generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c bayesreg.c -o bayesreg.o gfortran-4.2 -mtune=native -fPIC -g -O2 -c ch2inv.f -o ch2inv.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c const.c -o const.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c deterministic.c -o deterministic.o deterministic.c:264:50: warning: for loop has empty body [-Wempty-body] for(i = 0; i < n; subsetsum[0] += list[i], i++); ^ deterministic.c:264:50: note: put the semicolon on a separate line to silence this warning deterministic.c:424:37: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion] models[rank][vars[i].index] = (int) vars[i].prob; ~ ^~~~~~~~~~~~~~~~~~ clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c family.c -o family.o 2 warnings generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c hg.approx.null.np.c -o hg.approx.null.np.o family.c:120:25: warning: variable 'Rf_df' is uninitialized when used here [-Wuninitialized] if (weights[i] > 0) df += 1; ^~ /Users/ripley/R/R-clang/include/Rmath.h:216:13: note: expanded from macro 'df' #define df Rf_df ^~~~~ family.c:117:3: note: variable 'Rf_df' is declared here int i, df; ^ family.c:142:30: warning: unused variable 'Rf_beta' [-Wunused-variable] double Q = 0.0, alpha=1.0, beta=0.0; ^ /Users/ripley/R/R-clang/include/Rmath.h:209:15: note: expanded from macro 'beta' #define beta Rf_beta ^ family.c:142:19: warning: unused variable 'alpha' [-Wunused-variable] double Q = 0.0, alpha=1.0, beta=0.0; ^ family.c:154:16: warning: unused variable 'info' [-Wunused-variable] int i, j, l, info; ^ family.c:175:16: warning: unused variable 'info' [-Wunused-variable] int i, j, l, info; ^ family.c:192:7: warning: unused variable 'inc' [-Wunused-variable] int inc = 1, i, j; ^ 6 warnings generated. hg.approx.null.np.c:88:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c hyp2f1.c -o hyp2f1.o hyp2f1.c:226:10: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] aid = 2 - id; ~ ~~^~~~ hyp2f1.c:336:9: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] aid = id; ~ ^~ hyp2f1.c:343:9: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] aid = -id; ~ ^~~ 3 warnings generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c hypergeoF.c -o hypergeoF.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c isnan.c -o isnan.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c mcmcbas.c -o mcmcbas.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c mem.c -o mem.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c mtherr.c -o mtherr.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c polevl.c -o polevl.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c posisearch.c -o posisearch.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c powi.c -o powi.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c probabilities.c -o probabilities.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c psi.c -o psi.o psi.c:165:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion] n = x; ~ ^ 1 warning generated. clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c round.c -o round.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c sampleworep.c -o sampleworep.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -I/usr/local/include -g -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c tree-structures.c -o tree-structures.o clang -mtune=native -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o BAS.so E.ZS.o ZS.approx.full.np.o ZS.approx.null.np.o amcmc.o bayesglm.o bayesreg.o ch2inv.o const.o deterministic.o family.o hg.approx.null.np.o hyp2f1.o hypergeoF.o isnan.o mcmcbas.o mem.o mtherr.o polevl.o posisearch.o powi.o probabilities.o psi.o round.o sampleworep.o tree-structures.o -L/Users/ripley/R/R-clang/lib -lRlapack -L/Users/ripley/R/R-clang/lib -lRblas -L/usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/usr/lib/gcc/i686-apple-darwin11/4.2.1 -L/usr/lib -lgfortran -L/usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/usr/lib/gcc/i686-apple-darwin11/4.2.1 -L/usr/lib -lgfortran -L/Users/ripley/R/R-clang/lib -lR -dylib_file libRblas.dylib:/Users/ripley/R/R-clang/lib/libRblas.dylib -Wl,-framework -Wl,CoreFoundation installing to /Users/ripley/R/packages/tests-clang/BAS.Rcheck/BAS/libs ** R ** data ** demo ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded Warning: ignoring .First.lib() for package ‘BAS’ * DONE (BAS)