##############################################################################
##############################################################################
###
### Running command:
###
### rm -rf PING.buildbin-libdir && mkdir PING.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh PING_2.21.0.tar.gz /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R PING.buildbin-libdir
###
##############################################################################
##############################################################################
>>>>>>>
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=PING.buildbin-libdir PING_2.21.0.tar.gz'
>>>>>>>
* installing *source* package ‘PING’ ...
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GSL... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c init.c -o init.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c ping.c -o ping.o
ping.c:321:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
if(abs(REAL(yF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
^
ping.c:321:10: note: use function 'fabs' instead
if(abs(REAL(yF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
^˜˜
fabs
ping.c:329:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
if(abs(REAL(yR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
^
ping.c:329:10: note: use function 'fabs' instead
if(abs(REAL(yR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
^˜˜
fabs
ping.c:345:12: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
if(abs(REAL(cF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
^
ping.c:345:12: note: use function 'fabs' instead
if(abs(REAL(cF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
^˜˜
fabs
ping.c:353:12: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
if(abs(REAL(cR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
^
ping.c:353:12: note: use function 'fabs' instead
if(abs(REAL(cR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
^˜˜
fabs
ping.c:659:25: warning: unused variable 'mu' [-Wunused-variable]
double oldMu[p], w[p], mu[p], delta[p], sF[p], sR[p], sumDiff=0.0;
^
ping.c:760:15: warning: unused variable 'k' [-Wunused-variable]
int i=0,j=0, k=0, K=length(VECTOR_ELT(para, 0)), NF=length(F), NR=length(R);
^
ping.c:1108:15: warning: unused variable 'k' [-Wunused-variable]
int i=0,j=0, k=0, K=length(VECTOR_ELT(para, 0)), NFR=length(F);
^
ping.c:1536:47: warning: unused variable 'aaR' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1536:52: warning: unused variable 'ggF' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1536:57: warning: unused variable 'ggR' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1536:66: warning: unused variable 'ee' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1527:15: warning: unused variable 'k' [-Wunused-variable]
int i=0,j=0, k=0, K=length(VECTOR_ELT(para, 0)), NF=length(F), NR=length(R);
^
ping.c:1536:29: warning: unused variable 'etaDiff' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1536:42: warning: unused variable 'aaF' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1743:29: warning: unused variable 'etaDiff' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1743:57: warning: unused variable 'ggR' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1743:52: warning: unused variable 'ggF' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1734:15: warning: unused variable 'k' [-Wunused-variable]
int i=0,j=0, k=0, K=length(VECTOR_ELT(para, 0)), NFR=length(F);
^
ping.c:1743:47: warning: unused variable 'aaR' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1743:42: warning: unused variable 'aaF' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:1743:66: warning: unused variable 'ee' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
ping.c:2095:3: warning: variable 'penalty' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
default:
^˜˜˜˜˜˜
ping.c:2101:97: note: uninitialized use occurs here
bic = logDensityMix(yF, w, muF, sigmaSqF, K, NF) + logDensityMix(yR, w, muR, sigmaSqR, K,NR) - penalty;
^˜˜˜˜˜˜
ping.c:2058:48: note: initialize the variable 'penalty' to silence this warning
double bic, tmp, tmp2, muF[K], muR[K], penalty, distance;
^
= 0.0
ping.c:2202:3: warning: variable 'penalty' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
default:
^˜˜˜˜˜˜
ping.c:2208:75: note: uninitialized use occurs here
bic = logDensityMixPE(yF, yR, w, muF, muR, sigmaSqF, sigmaSqR, K, NFR) - penalty;
^˜˜˜˜˜˜
ping.c:2165:48: note: initialize the variable 'penalty' to silence this warning
double bic, tmp, tmp2, muF[K], muR[K], penalty, distance;
^
= 0.0
ping.c:2590:73: warning: unused variable 'PhiFw' [-Wunused-variable]
double aNormF, aNormR, bNormF, bNormR, P0F=1.0, P0R=1.0, PhiF, PhiR, PhiFw, PhiRw, wPjF, wPjR;
^
ping.c:2590:80: warning: unused variable 'PhiRw' [-Wunused-variable]
double aNormF, aNormR, bNormF, bNormR, P0F=1.0, P0R=1.0, PhiF, PhiR, PhiFw, PhiRw, wPjF, wPjR;
^
ping.c:3040:59: warning: unused variable 'PhiFRw' [-Wunused-variable]
double aNormF, aNormR, bNormF, bNormR, P0FR=1.0, PhiFR, PhiFRw, wPjFR;
^
ping.c:3301:11: warning: unused variable 'j' [-Wunused-variable]
int i=0,j=0,k=0,l=0,kMerge=0,flag=0;
^
ping.c:3301:7: warning: unused variable 'i' [-Wunused-variable]
int i=0,j=0,k=0,l=0,kMerge=0,flag=0;
^
28 warnings generated.
clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o PING.so init.o ping.o -L/usr/local/lib -lgsl -lgslcblas -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/biocbuild/bbs-3.6-bioc/meat/PING.buildbin-libdir/PING/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (PING)
>>>>>>>
>>>>>>> FIXING LINKS FOR PING.buildbin-libdir/PING/libs//PING.so
>>>>>>>
install_name_tool -change "/usr/local/lib/libgcc_s.1.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libgcc_s.1.dylib" "PING.buildbin-libdir/PING/libs//PING.so"
install_name_tool -change "/usr/local/lib/libgfortran.3.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libgfortran.3.dylib" "PING.buildbin-libdir/PING/libs//PING.so"
install_name_tool -change "/usr/local/lib/libreadline.5.2.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libreadline.5.2.dylib" "PING.buildbin-libdir/PING/libs//PING.so"
install_name_tool -change "/usr/local/lib/libreadline.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libreadline.dylib" "PING.buildbin-libdir/PING/libs//PING.so"
install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libquadmath.0.dylib" "PING.buildbin-libdir/PING/libs//PING.so"