nem 2.50.0 Holger Froehlich
Snapshot Date: 2017-10-17 17:00:52 -0400 (Tue, 17 Oct 2017) | URL: https://git.bioconductor.org/packages/nem | Branch: RELEASE_3_5 | Last Commit: 975da9a | Last Changed Date: 2017-04-24 15:45:44 -0400 (Mon, 24 Apr 2017) |
| malbec2 | Linux (Ubuntu 16.04.1 LTS) / x86_64 | OK | OK | [ ERROR ] | | |
tokay2 | Windows Server 2012 R2 Standard / x64 | OK | OK | OK | OK | |
veracruz2 | OS X 10.11.6 El Capitan / x86_64 | OK | OK | OK | OK | |
##############################################################################
##############################################################################
###
### Running command:
###
### /home/biocbuild/bbs-3.5-bioc/R/bin/R CMD check --no-vignettes --timings nem_2.50.0.tar.gz
###
##############################################################################
##############################################################################
* using log directory ‘/home/biocbuild/bbs-3.5-bioc/meat/nem.Rcheck’
* using R version 3.4.2 (2017-09-28)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘nem/DESCRIPTION’ ... OK
* this is package ‘nem’ version ‘2.50.0’
* 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 ... 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
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
File ‘nem/libs/nem.so’:
Found ‘rand’, possibly from ‘rand’ (C)
Object: ‘MCMC.o’
Found ‘srand’, possibly from ‘srand’ (C)
Object: ‘MCMC.o’
Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor the system RNG.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
* 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: generateNetwork
> ### Title: Random networks and data sampling
> ### Aliases: sampleRndNetwork sampleData sampleData.BN
> ### Keywords: graphs models
>
> ### ** Examples
>
> Phi = sampleRndNetwork(paste("S",1:5,sep=""))
> D = sampleData(Phi, 100, type="density")$D
> if(require(Rgraphviz)){
+ plot(as(transitive.reduction(Phi),"graphNEL"), main="original graph")
+ x11()
+ plot.nem(nem(D, control=set.default.parameters(unique(colnames(D)), type="CONTmLLBayes")), transitiveReduction=TRUE, SCC=FALSE, main ="inferred graph")
+ }
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, cbind, colMeans, colSums, colnames, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
setdiff, sort, table, tapply, union, unique, unsplit, which,
which.max, which.min
Loading required package: grid
Warning in x11() : unable to open connection to X11 display ''
Error in .External2(C_X11, d$display, d$width, d$height, d$pointsize, :
unable to start device X11cairo
Calls: x11
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, 4 NOTEs
See
‘/home/biocbuild/bbs-3.5-bioc/meat/nem.Rcheck/00check.log’
for details.
* installing *source* package ‘nem’ ...
** libs
gcc -I/home/biocbuild/bbs-3.5-bioc/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -c MCMC.c -o MCMC.o
MCMC.c: In function ‘network_likelihood’:
MCMC.c:116:62: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(egene_prior[i][s] > 0 & s < nsgenes){
^
MCMC.c:125:27: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(egene_prior[i][s] > 0 & s == nsgenes){ // virtual "null" S-gene (not connected to any other S-gene, never perturbed) ==> automatic E-gene selection
^
MCMC.c: In function ‘MCMCrun’:
MCMC.c:403:10: warning: unused variable ‘stored2’ [-Wunused-variable]
long stored2 = 0;
^
MCMC.c:402:10: warning: unused variable ‘stored’ [-Wunused-variable]
long stored = 0;
^
MCMC.c:359:35: warning: unused variable ‘mutinf’ [-Wunused-variable]
double loglikMean, loglikSum, mutinf, delta, logPrior_cur_scale;
^
MCMC.c: In function ‘network_likelihood’:
MCMC.c:108:6: warning: ‘max_loglik0_idx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int max_loglik0_idx;
^
MCMC.c: In function ‘MCMCrun’:
MCMC.c:455:12: warning: ‘delta_poss_operations’ may be used uninitialized in this function [-Wmaybe-uninitialized]
hfactor = updateFactor(likLogOld, logPriorOld, logPriorScale, likelihood, logPrior_cur, logPrior_cur_scale, n_neighbors, n_neighbors + delta_poss_operations);
^
MCMC.c:455:10: warning: ‘logPrior_cur’ may be used uninitialized in this function [-Wmaybe-uninitialized]
hfactor = updateFactor(likLogOld, logPriorOld, logPriorScale, likelihood, logPrior_cur, logPrior_cur_scale, n_neighbors, n_neighbors + delta_poss_operations);
^
MCMC.c:455:10: warning: ‘likelihood’ may be used uninitialized in this function [-Wmaybe-uninitialized]
gcc -I/home/biocbuild/bbs-3.5-bioc/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -c netlearn.c -o netlearn.o
netlearn.c: In function ‘learn_network’:
netlearn.c:168:9: warning: unused variable ‘lik_switch’ [-Wunused-variable]
double lik_switch;
^
gcc -I/home/biocbuild/bbs-3.5-bioc/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -c wrapper.c -o wrapper.o
wrapper.c: In function ‘MCMCrunWrapper’:
wrapper.c:107:27: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
int useMCMC = (sample > 0 & burnin > 0);
^
gcc -shared -L/home/biocbuild/bbs-3.5-bioc/R/lib -L/usr/local/lib -o nem.so MCMC.o netlearn.o wrapper.o -L/home/biocbuild/bbs-3.5-bioc/R/lib -lR
installing to /home/biocbuild/bbs-3.5-bioc/meat/nem.Rcheck/nem/libs
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (nem)