##############################################################################
##############################################################################
###
### Running command:
###
### /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --no-vignettes --timings PICS_2.21.0.tar.gz
###
##############################################################################
##############################################################################
* using log directory ‘/Users/biocbuild/bbs-3.6-bioc/meat/PICS.Rcheck’
* using R version 3.4.1 (2017-06-30)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘PICS/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘PICS’ version ‘2.21.0’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘PICS’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... NOTE
':::' calls which should be '::':
‘parallel:::detectCores’ ‘parallel:::makeCluster’
‘parallel:::parLapply’ ‘parallel:::stopCluster’
See the note in ?`:::` about the use of this operator.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
plot,pics-segReads: warning in symbols((map[, 1] + map[, 2])/2,
rep(0.35, nMap), rectangle = cbind(map[, 2] - map[, 1], rep(0.6,
nMap)), inches = FALSE, bg = grey(0.6), fg = 0, add = TRUE, xlim =
c(m, M), ylim = c(0, 1)): partial argument match of 'rectangle' to
'rectangles'
plot,pics-segReads: warning in symbols(x@estimates$mu, rep(0.5, K), rec
= matrix(rep(c(147, 0.8), K), ncol = 2, byrow = TRUE), inches =
FALSE, bg = grey(0.5 * pmin(se(x)/50, 1)), fg = 0, add = TRUE, xlim =
c(m, M), ylim = c(0, 1)): partial argument match of 'rec' to
'rectangles'
plot,pics-segReads: warning in symbols(x@estimates$mu, rep(0.5, K), rec
= matrix(rep(c(147, 0.8), K), ncol = 2, byrow = TRUE), inches =
FALSE, fg = 0, bg = 1, add = TRUE, xlim = c(m, M), ylim = c(0, 1)):
partial argument match of 'rec' to 'rectangles'
bam2gr: no visible global function definition for ‘reshape’
Undefined global functions or variables:
reshape
Consider adding
importFrom("stats", "reshape")
to your NAMESPACE file.
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... WARNING
Undocumented S4 methods:
generic '[' and siglist 'picsList,ANY,ANY,ANY'
generic '[' and siglist 'segReadsList,ANY,ANY,ANY'
generic '[' and siglist 'segReadsListPE,ANY,ANY,ANY'
All user-level objects in a package (including S4 classes and methods)
should have documentation entries.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking compiled code ... OK
* checking sizes of PDF files under ‘inst/doc’ ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE
Status: 1 WARNING, 2 NOTEs
See
‘/Users/biocbuild/bbs-3.6-bioc/meat/PICS.Rcheck/00check.log’
for details.
* installing *source* package ‘PICS’ ...
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 pics.c -o pics.o
pics.c:288: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)
^
pics.c:288:10: note: use function 'fabs' instead
if(abs(REAL(yF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
^˜˜
fabs
pics.c:296: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)
^
pics.c:296:10: note: use function 'fabs' instead
if(abs(REAL(yR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
^˜˜
fabs
pics.c:309: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)
^
pics.c:309:12: note: use function 'fabs' instead
if(abs(REAL(cF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
^˜˜
fabs
pics.c:317: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)
^
pics.c:317:12: note: use function 'fabs' instead
if(abs(REAL(cR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
^˜˜
fabs
pics.c:581:25: warning: unused variable 'mu' [-Wunused-variable]
double oldMu[p], w[p], mu[p], delta[p], sF[p], sR[p], sumDiff=0;
^
pics.c:651: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);
^
pics.c:1009:29: warning: unused variable 'etaDiff' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
pics.c:1009:47: warning: unused variable 'aaR' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
pics.c:1009:42: warning: unused variable 'aaF' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
pics.c:1009:57: warning: unused variable 'ggR' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
pics.c:1009:52: warning: unused variable 'ggF' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
pics.c:1000: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);
^
pics.c:1009:66: warning: unused variable 'ee' [-Wunused-variable]
double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
^
pics.c:1272:96: warning: unused variable 'k' [-Wunused-variable]
int nu=INTEGER(nuC)[0], K=length(VECTOR_ELT(para, 0)), NF=length(F), NR=length(R), i=0, j=0, k=0, N, type=INTEGER(mselect)[0];
^
pics.c:1301:3: warning: variable 'penalty' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
default:
^˜˜˜˜˜˜
pics.c:1307:97: note: uninitialized use occurs here
bic = logDensityMix(yF, w, muF, sigmaSqF, K, NF) + logDensityMix(yR, w, muR, sigmaSqR, K,NR) - penalty;
^˜˜˜˜˜˜
pics.c:1275:42: note: initialize the variable 'penalty' to silence this warning
double bic, tmp, muF[K], muR[K], penalty, distance;
^
= 0.0
pics.c:1633:69: warning: unused variable 'PhiFw' [-Wunused-variable]
double aNormF, aNormR, bNormF, bNormR, P0F=1, P0R=1, PhiF, PhiR, PhiFw, PhiRw, wPjF, wPjR;
^
pics.c:1633:76: warning: unused variable 'PhiRw' [-Wunused-variable]
double aNormF, aNormR, bNormF, bNormR, P0F=1, P0R=1, PhiF, PhiR, PhiFw, PhiRw, wPjF, wPjR;
^
pics.c:1889:11: warning: unused variable 'j' [-Wunused-variable]
int i=0,j=0,k=0,l=0,kMerge=0,flag=0;
^
pics.c:1889:7: warning: unused variable 'i' [-Wunused-variable]
int i=0,j=0,k=0,l=0,kMerge=0,flag=0;
^
19 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c segment.c -o segment.o
segment.c:114:45: warning: unused variable 'count' [-Wunused-variable]
int i=0,nR=length(dataR),nF=length(dataF),count=0,lengthCenter=0;
^
segment.c:308:7: warning: unused variable 'i' [-Wunused-variable]
int i=0,p=0;
^
segment.c:406:6: warning: variable 'pp' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
pp++;
^
segment.c:395:27: note: incremented here
for (pp=start; pp<=p; pp++) {
^
segment.c:536:6: warning: variable 'pp' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
pp++;
^
segment.c:525:27: note: incremented here
for (pp=start; pp<=p; pp++) {
^
segment.c:1364:11: warning: unused variable 'j' [-Wunused-variable]
int i=0, j=0, n=length(list), nF, nR, nProtect=0;
^
segment.c:1490:8: warning: unused variable 'filter1' [-Wunused-variable]
SEXP filter1;
^
segment.c:1489:11: warning: unused variable 'muFilter' [-Wunused-variable]
double *muFilter, *deltaFilter, *sFFilter, *sRFilter, *seFilter, *seFilterF, *seFilterR, *scoreFilter, *score;
^
7 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 PICS.so pics.o segment.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/PICS.Rcheck/PICS/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 (PICS)