Back to Multiple platform build/check report for BioC 3.8
ABCDEFGHIJKLMNO[P]QRSTUVWXYZ

CHECK report for PICS on merida1

This page was generated on 2019-04-16 11:55:15 -0400 (Tue, 16 Apr 2019).

Package 1159/1649HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
PICS 2.26.0
Renan Sauteraud
Snapshot Date: 2019-04-15 17:01:12 -0400 (Mon, 15 Apr 2019)
URL: https://git.bioconductor.org/packages/PICS
Branch: RELEASE_3_8
Last Commit: e7aafbe
Last Changed Date: 2018-10-30 11:41:46 -0400 (Tue, 30 Oct 2018)
malbec1 Linux (Ubuntu 16.04.6 LTS) / x86_64  OK  OK  WARNINGS UNNEEDED, same version exists in internal repository
merida1 OS X 10.11.6 El Capitan / x86_64  OK  OK [ WARNINGS ] OK UNNEEDED, same version exists in internal repository

Summary

Package: PICS
Version: 2.26.0
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:PICS.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings PICS_2.26.0.tar.gz
StartedAt: 2019-04-16 01:54:57 -0400 (Tue, 16 Apr 2019)
EndedAt: 2019-04-16 01:57:55 -0400 (Tue, 16 Apr 2019)
EllapsedTime: 178.0 seconds
RetCode: 0
Status:  WARNINGS 
CheckDir: PICS.Rcheck
Warnings: 2

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:PICS.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings PICS_2.26.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.8-bioc/meat/PICS.Rcheck’
* using R version 3.5.3 (2019-03-11)
* 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.26.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 ... WARNING
Found the following significant warnings:
  pics.c:288:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  pics.c:296:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  pics.c:309:12: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  pics.c:317:12: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
See ‘/Users/biocbuild/bbs-3.8-bioc/meat/PICS.Rcheck/00install.out’ for details.
* 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 shell scripts ... 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 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: 2 WARNINGs, 2 NOTEs
See
  ‘/Users/biocbuild/bbs-3.8-bioc/meat/PICS.Rcheck/00check.log’
for details.



Installation output

PICS.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD INSTALL PICS
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library’
* 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: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:57: warning: unused variable 'ggR' [-Wunused-variable]
        double chiSum, etaF, etaR, etaDiff, dd, aaF, aaR, ggF, ggR, cc, ee;
                                                               ^
pics.c:1009:66: warning: unused variable 'ee' [-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:52: warning: unused variable 'ggF' [-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:29: warning: unused variable 'etaDiff' [-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:76: warning: unused variable 'PhiRw' [-Wunused-variable]
          double aNormF, aNormR, bNormF, bNormR, P0F=1, P0R=1, PhiF, PhiR, PhiFw, PhiRw, wPjF, wPjR; 
                                                                                  ^
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: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:1489:11: warning: unused variable 'muFilter' [-Wunused-variable]
  double *muFilter, *deltaFilter, *sFFilter, *sRFilter, *seFilter, *seFilterF, *seFilterR, *scoreFilter, *score;
          ^
segment.c:1490:8: warning: unused variable 'filter1' [-Wunused-variable]
  SEXP filter1;
       ^
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 /Library/Frameworks/R.framework/Versions/3.5/Resources/library/PICS/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (PICS)

Tests output


Example timings

PICS.Rcheck/PICS-Ex.timings

nameusersystemelapsed
makeRangedDataOutput0.0000.0000.001
pics-class0.0010.0000.001
picsError-class0.0020.0000.002
picsList-class0.0010.0000.001
segmentPICS1.0220.0381.068
setParaPrior0.0010.0000.002