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

CHECK report for MotIV on machv2

This page was generated on 2020-10-17 11:59:00 -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: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:MotIV.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings MotIV_1.44.0.tar.gz
StartedAt: 2020-10-17 03:15:41 -0400 (Sat, 17 Oct 2020)
EndedAt: 2020-10-17 03:20:59 -0400 (Sat, 17 Oct 2020)
EllapsedTime: 317.6 seconds
RetCode: 1
Status:  ERROR 
CheckDir: MotIV.Rcheck
Warnings: NA

Command output

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


* using log directory ‘/Users/biocbuild/bbs-3.11-bioc/meat/MotIV.Rcheck’
* using R version 4.0.3 (2020-10-10)
* using platform: x86_64-apple-darwin17.0 (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 ... WARNING
Found the following significant warnings:
  PlatformSupport.cpp:156:10: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
See ‘/Users/biocbuild/bbs-3.11-bioc/meat/MotIV.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 ... 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 ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/MotIV/libs/MotIV.so’:
  Found ‘___stderrp’, possibly from ‘stderr’ (C)
  Found ‘___stdoutp’, possibly from ‘stdout’ (C)
  Found ‘_abort’, possibly from ‘abort’ (C)
  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 sizes of PDF files under ‘inst/doc’ ... OK
* 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: 0x7f9a3128f508>
<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, 1 WARNING, 3 NOTEs
See
  ‘/Users/biocbuild/bbs-3.11-bioc/meat/MotIV.Rcheck/00check.log’
for details.


Installation output

MotIV.Rcheck/00install.out

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


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library’
* installing *source* package ‘MotIV’ ...
** using staged installation
checking for gcc... clang -mmacosx-version-min=10.13
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 clang -mmacosx-version-min=10.13 accepts -g... yes
checking for clang -mmacosx-version-min=10.13 option to accept ISO C89... none needed
checking for gsl-config... /usr/local/bin/gsl-config
checking for GSL - version >= 1.6... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c Alignment.cpp -o Alignment.o
Alignment.cpp:179:14: warning: unused variable 'for_B' [-Wunused-variable]
        bool for_A, for_B;
                    ^
Alignment.cpp:177:24: warning: unused variable 'i2_B' [-Wunused-variable]
        int i1_A, i2_A, i1_B, i2_B;
                              ^
Alignment.cpp:176:17: warning: unused variable 'score2' [-Wunused-variable]
        double score1, score2, bestScore=0;
                       ^
Alignment.cpp:178:12: warning: unused variable 'aL_B' [-Wunused-variable]
        int aL_A, aL_B; 
                  ^
Alignment.cpp:177:18: warning: unused variable 'i1_B' [-Wunused-variable]
        int i1_A, i2_A, i1_B, i2_B;
                        ^
Alignment.cpp:185:9: warning: unused variable 'currTwo' [-Wunused-variable]
        Motif* currTwo = two;
               ^
6 warnings generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c ColumnComp.cpp -o ColumnComp.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c DeclareAll.cpp -o DeclareAll.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c Motif.cpp -o Motif.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c MotifDistances.cpp -o MotifDistances.o
MotifDistances.cpp:115:2: warning: delete called on 'ColumnComp' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
        delete(CC);
        ^
1 warning generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c MotifMatch.cpp -o MotifMatch.o
MotifMatch.cpp:120:2: warning: delete called on 'ColumnComp' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
        delete(CC);
        ^
1 warning generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c PlatformSupport.cpp -o PlatformSupport.o
PlatformSupport.cpp:156:10: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
                currCnt=currCnt;
                ~~~~~~~^~~~~~~~
PlatformSupport.cpp:112:11: warning: variable 'input' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        else if (inputDB!=0)
                 ^~~~~~~~~~
PlatformSupport.cpp:126:22: note: uninitialized use occurs here
        inputName=GET_NAMES(input);
                            ^~~~~
/Library/Frameworks/R.framework/Resources/include/Rdefines.h:149:36: note: expanded from macro 'GET_NAMES'
#define GET_NAMES(x)            Rf_getAttrib(x, R_NamesSymbol)
                                             ^
PlatformSupport.cpp:112:7: note: remove the 'if' if its condition is always true
        else if (inputDB!=0)
             ^~~~~~~~~~~~~~~
PlatformSupport.cpp:103:23: note: initialize the variable 'input' to silence this warning
        SEXP inputName, input;
                             ^
                              = nullptr
2 warnings generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c RandPSSMGen.cpp -o RandPSSMGen.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include   -fPIC  -Wall -g -O2  -c generateScoresDB.cpp -o generateScoresDB.o
generateScoresDB.cpp:127:2: warning: delete called on 'ColumnComp' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
        delete(CC);
        ^
1 warning generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -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 MotIV.so Alignment.o ColumnComp.o DeclareAll.o Motif.o MotifDistances.o MotifMatch.o PlatformSupport.o RandPSSMGen.o generateScoresDB.o -lgsl -lgslcblas -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/4.0/Resources/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.6070.0230.631
as.data.frame0.5510.0320.586
combineMotifs0.5900.0410.630
exportAsGRanges1.8360.0641.901
exportAsRangedData0.5140.0060.519
exportAsTransfacFile0.5380.0060.544
filter-class0.0010.0000.001
filter-methods0.0010.0000.001
filter0.5170.0100.528
generateDBScores0.0250.0020.028
getGademPWM0.2830.0120.296
jaspar0.4830.0330.516
makePWM0.0000.0010.001
matches-class0.0010.0010.001