Back to Multiple platform build/check report for BioC 3.11
ABCDEFGHIJKLM[N]OPQRSTUVWXYZ

CHECK report for nem on celaya2

This page was generated on 2020-01-16 13:30:28 -0500 (Thu, 16 Jan 2020).

Package 1138/1818HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
nem 2.61.1
Holger Froehlich
Snapshot Date: 2020-01-15 16:46:30 -0500 (Wed, 15 Jan 2020)
URL: https://git.bioconductor.org/packages/nem
Branch: master
Last Commit: c0752d3
Last Changed Date: 2020-01-06 11:45:45 -0500 (Mon, 06 Jan 2020)
malbec2 Linux (Ubuntu 18.04.3 LTS) / x86_64  OK  OK  ERROR 
tokay2 Windows Server 2012 R2 Standard / x64  OK  OK  ERROR  OK 
celaya2 OS X 10.11.6 El Capitan / x86_64  OK  OK [ ERROR ] OK 

Summary

Package: nem
Version: 2.61.1
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:nem.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings nem_2.61.1.tar.gz
StartedAt: 2020-01-16 06:57:13 -0500 (Thu, 16 Jan 2020)
EndedAt: 2020-01-16 06:58:58 -0500 (Thu, 16 Jan 2020)
EllapsedTime: 105.0 seconds
RetCode: 1
Status:  ERROR 
CheckDir: nem.Rcheck
Warnings: NA

Command output

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


* using log directory ‘/Users/biocbuild/bbs-3.11-bioc/meat/nem.Rcheck’
* using R Under development (unstable) (2019-12-14 r77572)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘nem/DESCRIPTION’ ... OK
* this is package ‘nem’ version ‘2.61.1’
* checking package namespace information ... OK
* checking package dependencies ... NOTE
Package which this enhances but not available for checking: ‘doMC’
* 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 ‘nem’ can be installed ... WARNING
Found the following significant warnings:
  MCMC.c:44:45: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  MCMC.c:72:62: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  Warning: Package 'nem' is deprecated and will be removed from Bioconductor
See ‘/Users/biocbuild/bbs-3.11-bioc/meat/nem.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 ... NOTE
Found the following apparent S3 methods exported but not registered:
  plot.ModuleNetwork plot.dynoNEM plot.mc.eminem plot.nem plot.nem.BN
  plot.nem.bootstrap plot.nem.consensus plot.nem.greedy
  plot.nem.greedyMAP plot.nem.jackknife plot.pairwise plot.score
  plot.triples print.ModuleNetwork print.dynoNEM print.mc.eminem
  print.nem print.nem.BN print.nem.bootstrap print.nem.consensus
  print.nem.greedy print.nem.greedyMAP print.nem.jackknife
  print.pairwise print.score print.triples
See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
manual.
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
bum.mle: no visible global function definition for ‘optim’
bum.negLogLik: no visible global function definition for ‘dexp’
nem.bootstrap: no visible global function definition for ‘makeCluster’
nem.calcSignificance: no visible global function definition for
  ‘registerDoMC’
nem.calcSignificance: no visible global function definition for
  ‘%dopar%’
nem.calcSignificance: no visible global function definition for
  ‘foreach’
nem.featureselection: no visible global function definition for
  ‘registerDoMC’
nem.featureselection: no visible global function definition for
  ‘%dopar%’
nem.featureselection: no visible global function definition for
  ‘foreach’
nem.featureselection: no visible binding for global variable ‘d’
nemModelSelection: no visible global function definition for
  ‘registerDoMC’
nemModelSelection: no visible global function definition for ‘%dopar%’
nemModelSelection: no visible global function definition for ‘foreach’
nemModelSelection: no visible binding for global variable ‘lam’
nemModelSelection: no visible binding for global variable ‘r’
quicknem: no visible global function definition for ‘exprs’
quicknem: no visible global function definition for ‘file_test’
score.aux: no visible global function definition for ‘registerDoMC’
score.aux: no visible global function definition for ‘%dopar%’
score.aux: no visible global function definition for ‘foreach’
score.aux: no visible binding for global variable ‘m’
Undefined global functions or variables:
  %dopar% d dexp exprs file_test foreach lam m makeCluster optim r
  registerDoMC
Consider adding
  importFrom("stats", "dexp", "optim")
  importFrom("utils", "file_test")
to your NAMESPACE file.
* 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 C/C++/Fortran sources/headers ... OK
* checking compiled code ... NOTE
Note: information on .o files is not available
File ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/nem/libs/nem.so’:
  Found ‘_rand’, possibly from ‘rand’ (C)
  Found ‘_srand’, possibly from ‘srand’ (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’ ... NOTE
  ‘qpdf’ made some significant size reductions:
     compacted ‘markowetz-thesis-2006.pdf’ from 1155Kb to 844Kb
  consider running tools::compactPDF() on these files
* checking installed files from ‘inst/doc’ ... NOTE
The following files should probably not be installed:
  ‘ModuleNetworks1.png’

Consider the use of a .Rinstignore file: see ‘Writing R Extensions’,
or move the vignette sources from ‘inst/doc’ to ‘vignettes’.
* checking files in ‘vignettes’ ... OK
* checking examples ... ERROR
Running examples in ‘nem-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: prior.EgeneAttach.EB
> ### Title: Initialize E-gene attachment prior for empirical Bayes
> ### Aliases: prior.EgeneAttach.EB
> ### Keywords: graphs models
> 
> ### ** Examples
> 
> # only for test purposes
>    data("BoutrosRNAi2002")
>    D <- BoutrosRNAiDens
>    control = set.default.parameters(unique(colnames(D)), Pe=prior.EgeneAttach.EB(D), mcmc.nsamples=100, mcmc.nburnin=50, type="CONTmLLBayes")  # these are *not* realistic values
>    res <- nem(D,inference="mc.eminem", control=control)        
mc.eminem algorithm

>    if(require(Rgraphviz))    
+     plot(res)   
Loading required package: Rgraphviz
Loading required package: graph
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
    tapply, union, unique, unsplit, which, which.max, which.min

Loading required package: grid
Error in xy.coords(x, y, xlabel, ylabel, log) : 
  'x' is a list, but does not have components 'x' and 'y'
Calls: plot -> plot -> plot.default -> xy.coords
Execution halted
* 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, 6 NOTEs
See
  ‘/Users/biocbuild/bbs-3.11-bioc/meat/nem.Rcheck/00check.log’
for details.


Installation output

nem.Rcheck/00install.out

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


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library’
* installing *source* package ‘nem’ ...
** using staged installation
** libs
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include   -fPIC  -Wall -g -O2  -c MCMC.c -o MCMC.o
MCMC.c:44:45: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
                                p -= inv_nu*abs(net[s][k]-prior[s][k]);
                                            ^
MCMC.c:44:45: note: use function 'fabs' instead
                                p -= inv_nu*abs(net[s][k]-prior[s][k]);
                                            ^~~
                                            fabs
MCMC.c:72:62: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
                                        if(Psi[p][s] != 0 && abs(Psi[p][s]) <= t){ // p is a parent
                                                             ^
MCMC.c:72:62: note: use function 'fabs' instead
                                        if(Psi[p][s] != 0 && abs(Psi[p][s]) <= t){ // p is a parent
                                                             ^~~
                                                             fabs
MCMC.c:402:10: warning: unused variable 'stored' [-Wunused-variable]
    long stored = 0;
         ^
MCMC.c:403:10: warning: unused variable 'stored2' [-Wunused-variable]
    long stored2 = 0;
         ^
MCMC.c:359:35: warning: unused variable 'mutinf' [-Wunused-variable]
    double loglikMean, loglikSum, mutinf, delta, logPrior_cur_scale;  
                                  ^
5 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include   -fPIC  -Wall -g -O2  -c netlearn.c -o netlearn.o
netlearn.c:171:13: warning: variable 'negenes' used in loop condition not modified in loop body [-Wfor-loop-analysis]
                for (i=0; negenes; i++) {
                          ^~~~~~~
netlearn.c:168:9: warning: unused variable 'lik_switch' [-Wunused-variable]
        double lik_switch;
               ^
2 warnings generated.
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include   -fPIC  -Wall -g -O2  -c wrapper.c -o wrapper.o
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 nem.so MCMC.o netlearn.o wrapper.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/4.0/Resources/library/00LOCK-nem/00new/nem/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
   ‘nem.Rnw’ using ‘latin1’ 
** testing if installed package can be loaded from temporary location
Warning: Package 'nem' is deprecated and will be removed from Bioconductor
  version 3.12
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
Warning: Package 'nem' is deprecated and will be removed from Bioconductor
  version 3.12
** testing if installed package keeps a record of temporary installation path
* DONE (nem)

Tests output


Example timings

nem.Rcheck/nem-Ex.timings

nameusersystemelapsed
BFSlevel000
BoutrosRNAi20020.0690.0090.078
Ivanova2006RNAiTimeSeries0.0020.0020.005
NiederbergerMediator20120.0130.0030.017
SCCgraph0.7310.0250.757
SahinRNAi20080.0040.0010.005
enumerate.models0.0040.0010.005
generateNetwork0.3710.0680.520
infer.edge.type0.2770.0170.308
local.model.prior0.0010.0010.001
nem2.9720.0683.058
nem.bootstrap000
nem.calcSignificance0.0010.0000.001
nem.consensus0.0010.0000.000
nem.cont.preprocess0.1770.0050.182
nem.discretize0.0380.0070.046
nem.jackknife0.0000.0000.001
nemModelSelection0.5670.0280.599
network.AIC0.2340.0060.240
plotEffects0.3070.0190.354