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

CHECK report for MotIV on merida1

This page was generated on 2021-05-06 12:35:48 -0400 (Thu, 06 May 2021).

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 1147/1974HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
MotIV 1.46.0  (landing page)
Eloi Mercier , Raphael Gottardo
Snapshot Date: 2021-05-05 14:51:38 -0400 (Wed, 05 May 2021)
URL: https://git.bioconductor.org/packages/MotIV
Branch: RELEASE_3_12
Last Commit: 05f7b55
Last Changed Date: 2020-10-27 10:37:48 -0400 (Tue, 27 Oct 2020)
malbec1Linux (Ubuntu 18.04.5 LTS) / x86_64  OK    OK    ERROR  
tokay1Windows Server 2012 R2 Standard / x64  OK    OK    ERROR    OK  
merida1macOS 10.14.6 Mojave / x86_64  OK    OK    ERROR    OK  

Summary

Package: MotIV
Version: 1.46.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.46.0.tar.gz
StartedAt: 2021-05-06 03:55:04 -0400 (Thu, 06 May 2021)
EndedAt: 2021-05-06 03:59:43 -0400 (Thu, 06 May 2021)
EllapsedTime: 279.3 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.46.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.12-bioc/meat/MotIV.Rcheck’
* using R version 4.0.5 (2021-03-31)
* 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.46.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]
  Warning: Package 'MotIV' is deprecated and will be removed from Bioconductor
See ‘/Users/biocbuild/bbs-3.12-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: 0x7fd57a2cc428>
<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.12-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:177:18: warning: unused variable 'i1_B' [-Wunused-variable]
        int i1_A, i2_A, i1_B, i2_B;
                        ^
Alignment.cpp:179:14: warning: unused variable 'for_B' [-Wunused-variable]
        bool for_A, for_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:185:9: warning: unused variable 'currTwo' [-Wunused-variable]
        Motif* currTwo = two;
               ^
Alignment.cpp:177:24: warning: unused variable 'i2_B' [-Wunused-variable]
        int i1_A, i2_A, i1_B, i2_B;
                              ^
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-abstract-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-abstract-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-abstract-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
Warning: Package 'MotIV' is deprecated and will be removed from Bioconductor
  version 3.13
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
Warning: Package 'MotIV' is deprecated and will be removed from Bioconductor
  version 3.13
** 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.4180.0210.441
as.data.frame0.4780.0340.513
combineMotifs0.4660.0350.502
exportAsGRanges0.8600.0080.870
exportAsRangedData0.4140.0140.429
exportAsTransfacFile0.4060.0260.433
filter-class0.0010.0010.001
filter-methods0.0010.0000.001
filter0.9750.0090.985
generateDBScores0.0150.0010.015
getGademPWM0.1870.0030.191
jaspar0.3430.0100.354
makePWM000
matches-class0.0010.0000.001