Back to Multiple platform build/check report for BioC 3.11
ABCDEFGHIJKL[M]NOPQRSTUVWXYZ

CHECK report for MotIV on malbec2

This page was generated on 2020-10-17 11:55:12 -0400 (Sat, 17 Oct 2020).

TO THE DEVELOPERS/MAINTAINERS OF THE MotIV PACKAGE: Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
Package 1130/1905HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
MotIV 1.44.0
Eloi Mercier , Raphael Gottardo
Snapshot Date: 2020-10-16 14:40:19 -0400 (Fri, 16 Oct 2020)
URL: https://git.bioconductor.org/packages/MotIV
Branch: RELEASE_3_11
Last Commit: 068b4a8
Last Changed Date: 2020-04-27 14:21:38 -0400 (Mon, 27 Apr 2020)
malbec2 Linux (Ubuntu 18.04.4 LTS) / x86_64  OK  OK [ ERROR ]
tokay2 Windows Server 2012 R2 Standard / x64  OK  OK  ERROR  OK 
machv2 macOS 10.14.6 Mojave / x86_64  OK  OK  ERROR  OK 

Summary

Package: MotIV
Version: 1.44.0
Command: /home/biocbuild/bbs-3.11-bioc/R/bin/R CMD check --install=check:MotIV.install-out.txt --library=/home/biocbuild/bbs-3.11-bioc/R/library --no-vignettes --timings MotIV_1.44.0.tar.gz
StartedAt: 2020-10-17 03:24:34 -0400 (Sat, 17 Oct 2020)
EndedAt: 2020-10-17 03:28:38 -0400 (Sat, 17 Oct 2020)
EllapsedTime: 244.0 seconds
RetCode: 1
Status:  ERROR 
CheckDir: MotIV.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.11-bioc/R/bin/R CMD check --install=check:MotIV.install-out.txt --library=/home/biocbuild/bbs-3.11-bioc/R/library --no-vignettes --timings MotIV_1.44.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.11-bioc/meat/MotIV.Rcheck’
* using R version 4.0.3 (2020-10-10)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘MotIV/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘MotIV’ version ‘1.44.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 ‘MotIV’ 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 ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
motifDistances: no visible binding for global variable ‘jaspar.scores’
motifMatch: no visible binding for global variable ‘jaspar’
motifMatch: no visible binding for global variable ‘jaspar.scores’
Undefined global functions or variables:
  jaspar jaspar.scores
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... 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 ... NOTE
Package has both ‘src/Makevars.in’ and ‘src/Makevars’.
Installation with --no-configure' is unlikely to work.  If you intended
‘src/Makevars’ to be used on Windows, rename it to ‘src/Makevars.win’
otherwise remove it.  If ‘configure’ created ‘src/Makevars’, you need a
‘cleanup’ script.
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking compiled code ... NOTE
Note: information on .o files is not available
File ‘/home/biocbuild/bbs-3.11-bioc/R/library/MotIV/libs/MotIV.so’:
  Found ‘rand’, possibly from ‘rand’ (C)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs. The detected symbols are linked into the code but
might come from libraries and not actually be called.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
* checking files in ‘vignettes’ ... OK
* checking examples ... ERROR
Running examples in ‘MotIV-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: motifDistances
> ### Title: Clustering PWMs Computation
> ### Aliases: motifDistances motifHclust motifCutree
> ### Keywords: misc
> 
> ### ** Examples
> 
> #####Database and Scores#####
> path <- system.file(package="MotIV")
> jaspar <- readPWMfile(paste(path,"/extdata/jaspar2010.txt",sep=""))
> jaspar.scores <- readDBScores(paste(path,"/extdata/jaspar2010_PCC_SWU.scores",sep=""))
> 
> #####Input#####
> data(FOXA1_rGADEM)
> motifs <- getPWM(gadem)
> motifs.trimed <- lapply(motifs,trimPWMedge, threshold=1)
> 
> #####Analysis#####
> foxa1.analysis.jaspar <- motifMatch(inputPWM=motifs,align="SWU",cc="PCC",database=jaspar,DBscores=jaspar.scores,top=5)

	Ungapped Alignment
	Scores read
	Database read
	Motif matches : 5
> 
> #####Clustering#####
> d <- motifDistances(getPWM(foxa1.analysis.jaspar))
> hc <- motifHclust(d)
> plot(hc)
> f <- motifCutree(hc, k=2)
 ----------- FAILURE REPORT -------------- 
 --- failure: length > 1 in coercion to logical ---
 --- srcref --- 
: 
 --- package (from environment) --- 
MotIV
 --- call from context --- 
setFilter(name = names(cut[cut == i]))
 --- call from argument --- 
name == "" && tfname == ""
 --- R stacktrace ---
where 1: setFilter(name = names(cut[cut == i]))
where 2: motifCutree(hc, k = 2)

 --- value of length: 3 type: logical ---
[1] FALSE FALSE FALSE
 --- function from context --- 
function (name = "", tfname = "", evalueMax = 1, top = 10, lengthMax = 100, 
    valid = NULL) 
{
    if (name == "" && tfname == "" && evalueMax >= 1 && top >= 
        10 && lengthMax >= 100) {
        warning("Filter does not contain condition.")
    }
    fit <- new("filter", name = list(name), tfname = list(tfname), 
        evalueMax = list(evalueMax), top = list(top), lengthMax = list(lengthMax), 
        valid = list(valid))
    filters <- new("filters", filters = list(fit))
    return(filters)
}
<bytecode: 0x55e446c8b660>
<environment: namespace:MotIV>
 --- function search by body ---
Function setFilter in namespace MotIV has this body.
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: length > 1 in coercion to logical
* 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 ERROR, 3 NOTEs
See
  ‘/home/biocbuild/bbs-3.11-bioc/meat/MotIV.Rcheck/00check.log’
for details.


Installation output

MotIV.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.11-bioc/R/bin/R CMD INSTALL MotIV
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.11-bioc/R/library’
* installing *source* package ‘MotIV’ ...
** using staged installation
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gsl-config... /usr/bin/gsl-config
checking for GSL - version >= 1.6... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.11-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c Alignment.cpp -o Alignment.o
Alignment.cpp: In member function ‘double Alignment::AlignMotifs2D(Motif*, Motif*, int&, int&, int&, bool&, bool&)’:
Alignment.cpp:176:17: warning: unused variable ‘score2’ [-Wunused-variable]
  double score1, score2, bestScore=0;
                 ^~~~~~
Alignment.cpp:177:18: warning: unused variable ‘i1_B’ [-Wunused-variable]
  int i1_A, i2_A, i1_B, i2_B;
                  ^~~~
Alignment.cpp:177:24: warning: unused variable ‘i2_B’ [-Wunused-variable]
  int i1_A, i2_A, i1_B, i2_B;
                        ^~~~
Alignment.cpp:178:12: warning: unused variable ‘aL_B’ [-Wunused-variable]
  int aL_A, aL_B;
            ^~~~
Alignment.cpp:179:14: warning: unused variable ‘for_B’ [-Wunused-variable]
  bool for_A, for_B;
              ^~~~~
Alignment.cpp:184:9: warning: variable ‘currOne’ set but not used [-Wunused-but-set-variable]
  Motif* currOne = one;
         ^~~~~~~
Alignment.cpp:185:9: warning: unused variable ‘currTwo’ [-Wunused-variable]
  Motif* currTwo = two;
         ^~~~~~~
Alignment.cpp: In member function ‘virtual double SmithWatermanUngappedExtended::AlignMotifs(Motif*, Motif*, int&, int&, int&, bool&)’:
Alignment.cpp:423:9: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
  double tmp;
         ^~~
Alignment.cpp: In member function ‘virtual double SmithWaterman::AlignMotifs(Motif*, Motif*, int&, int&, int&, bool&)’:
Alignment.cpp:319:2: warning: ‘revScore’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(forScore>revScore){
  ^~
Alignment.cpp:319:2: warning: ‘forScore’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Alignment.cpp: In member function ‘virtual double SmithWatermanAffine::AlignMotifs(Motif*, Motif*, int&, int&, int&, bool&)’:
Alignment.cpp:883:2: warning: ‘forScore’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(forScore>revScore){
  ^~
Alignment.cpp: In member function ‘virtual double SmithWatermanUngappedExtended::AlignMotifs(Motif*, Motif*, int&, int&, int&, bool&)’:
Alignment.cpp:491:2: warning: ‘forScore’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(forScore>revScore){
  ^~
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.11-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c ColumnComp.cpp -o ColumnComp.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.11-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c DeclareAll.cpp -o DeclareAll.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.11-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c Motif.cpp -o Motif.o
Motif.cpp: In member function ‘char Motif::ColConsensus(int)’:
Motif.cpp:148:7: warning: variable ‘three_base_l’ set but not used [-Wunused-but-set-variable]
  char three_base_l[4]; //three base consensus
       ^~~~~~~~~~~~
Motif.cpp:149:9: warning: variable ‘three_base_c’ set but not used [-Wunused-but-set-variable]
  double three_base_c[4];
         ^~~~~~~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.11-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c MotifDistances.cpp -o MotifDistances.o
MotifDistances.cpp: In function ‘SEXPREC* motifDistances(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
MotifDistances.cpp:115:11: warning: deleting object of abstract class type ‘ColumnComp’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
  delete(CC);
           ^
MotifDistances.cpp:50:10: warning: variable ‘colChosen’ set but not used [-Wunused-but-set-variable]
     bool colChosen=false, alignChosen=false;
          ^~~~~~~~~
MotifDistances.cpp:50:27: warning: variable ‘alignChosen’ set but not used [-Wunused-but-set-variable]
     bool colChosen=false, alignChosen=false;
                           ^~~~~~~~~~~
MotifDistances.cpp:51:6: warning: variable ‘matchTopX’ set but not used [-Wunused-but-set-variable]
  int matchTopX = TOP_MATCH;
      ^~~~~~~~~
MotifDistances.cpp:58:7: warning: variable ‘ungapped’ set but not used [-Wunused-but-set-variable]
  bool ungapped=false;
       ^~~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.11-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c MotifMatch.cpp -o MotifMatch.o
MotifMatch.cpp: In function ‘SEXPREC* motifMatch(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
MotifMatch.cpp:120:11: warning: deleting object of abstract class type ‘ColumnComp’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
  delete(CC);
           ^
MotifMatch.cpp:50:10: warning: variable ‘colChosen’ set but not used [-Wunused-but-set-variable]
     bool colChosen=false, alignChosen=false;
          ^~~~~~~~~
MotifMatch.cpp:50:27: warning: variable ‘alignChosen’ set but not used [-Wunused-but-set-variable]
     bool colChosen=false, alignChosen=false;
                           ^~~~~~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.11-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c PlatformSupport.cpp -o PlatformSupport.o
PlatformSupport.cpp: In member function ‘void PlatformSupport::PreAlign(Alignment*)’:
PlatformSupport.cpp:412:47: warning: variable ‘max_score’ set but not used [-Wunused-but-set-variable]
  double curr_score, curr_z_score, curr_p_val, max_score;
                                               ^~~~~~~~~
In file included from Motif.h:39:0,
                 from PlatformSupport.h:41,
                 from PlatformSupport.cpp:33:
/home/biocbuild/bbs-3.11-bioc/R/include/Rinternals.h: In member function ‘int PlatformSupport::ReadTransfacFile(SEXP, SEXP)’:
/home/biocbuild/bbs-3.11-bioc/R/include/Rinternals.h:1629:29: warning: ‘input’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define length(x)  Rf_length(x)
                             ^
PlatformSupport.cpp:103:18: note: ‘input’ was declared here
  SEXP inputName, input;
                  ^~~~~
PlatformSupport.cpp:102:10: warning: ‘currMotifs’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  Motif** currMotifs; int currCnt;
          ^~~~~~~~~~
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.11-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c RandPSSMGen.cpp -o RandPSSMGen.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.11-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c generateScoresDB.cpp -o generateScoresDB.o
generateScoresDB.cpp: In function ‘SEXPREC* generateScoresDB(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
generateScoresDB.cpp:127:11: warning: deleting object of abstract class type ‘ColumnComp’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
  delete(CC);
           ^
generateScoresDB.cpp:54:10: warning: variable ‘colChosen’ set but not used [-Wunused-but-set-variable]
     bool colChosen=false, alignChosen=false;
          ^~~~~~~~~
generateScoresDB.cpp:54:27: warning: variable ‘alignChosen’ set but not used [-Wunused-but-set-variable]
     bool colChosen=false, alignChosen=false;
                           ^~~~~~~~~~~
g++ -std=gnu++11 -shared -L/home/biocbuild/bbs-3.11-bioc/R/lib -L/usr/local/lib -o MotIV.so Alignment.o ColumnComp.o DeclareAll.o Motif.o MotifDistances.o MotifMatch.o PlatformSupport.o RandPSSMGen.o generateScoresDB.o -lgsl -lgslcblas -lm -L/home/biocbuild/bbs-3.11-bioc/R/lib -lR
installing to /home/biocbuild/bbs-3.11-bioc/R/library/00LOCK-MotIV/00new/MotIV/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for ‘filter’ in package ‘MotIV’
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (MotIV)

Tests output


Example timings

MotIV.Rcheck/MotIV-Ex.timings

nameusersystemelapsed
FOXA_rGADEM0.3690.0160.384
as.data.frame0.5420.0160.572
combineMotifs0.5000.0440.544
exportAsGRanges1.5590.0401.600
exportAsRangedData0.4450.0080.452
exportAsTransfacFile0.2680.0040.273
filter-class0.0010.0000.000
filter-methods0.0010.0000.000
filter0.2780.0040.282
generateDBScores0.010.000.01
getGademPWM0.1530.0040.158
jaspar0.2830.0480.332
makePWM000
matches-class0.0010.0000.000