ddgraph 1.21.0 Robert Stojnic
Snapshot Date: 2017-08-15 17:18:21 -0400 (Tue, 15 Aug 2017) | URL: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ddgraph | Last Changed Rev: 129129 / Revision: 131943 | Last Changed Date: 2017-04-24 15:50:57 -0400 (Mon, 24 Apr 2017) |
| malbec1 | Linux (Ubuntu 16.04.1 LTS) / x86_64 | NotNeeded | OK | ERROR | | |
tokay1 | Windows Server 2012 R2 Standard / x64 | NotNeeded | OK | [ ERROR ] | OK | |
veracruz1 | OS X 10.11.6 El Capitan / x86_64 | NotNeeded | OK | ERROR | OK | |
##############################################################################
##############################################################################
###
### Running command:
###
### rm -rf ddgraph.buildbin-libdir ddgraph.Rcheck && mkdir ddgraph.buildbin-libdir ddgraph.Rcheck && C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD INSTALL --build --merge-multiarch --library=ddgraph.buildbin-libdir ddgraph_1.21.0.tar.gz >ddgraph.Rcheck\00install.out 2>&1 && cp ddgraph.Rcheck\00install.out ddgraph-install.out && C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD check --library=ddgraph.buildbin-libdir --install="check:ddgraph-install.out" --force-multiarch --no-vignettes --timings ddgraph_1.21.0.tar.gz
###
##############################################################################
##############################################################################
* using log directory 'C:/Users/biocbuild/bbs-3.6-bioc/meat/ddgraph.Rcheck'
* using R version 3.4.1 (2017-06-30)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'ddgraph/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'ddgraph' version '1.21.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 whether package 'ddgraph' can be installed ... OK
* checking installed package size ... NOTE
installed size is 5.1Mb
sub-directories of 1Mb or more:
libs 1.4Mb
tests 3.0Mb
* 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
* loading checks for arch 'i386'
** 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 loading without being on the library search path ... OK
* loading checks for arch 'x64'
** 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 loading without being on the library search path ... OK
* checking dependencies in R code ... NOTE
'library' or 'require' call to 'Rgraphviz' in package code.
Please use :: or requireNamespace() instead.
See section 'Suggested packages' in the 'Writing R Extensions' manual.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
biased.bn.fit: no visible global function definition for 'rbeta'
color.legend.DDGraph: no visible global function definition for 'par'
color.legend.DDGraph: no visible global function definition for
'strheight'
color.legend.DDGraph: no visible global function definition for
'strwidth'
color.legend.DDGraph: no visible global function definition for 'text'
combinationsTest: no visible global function definition for
'fisher.test'
combinationsTest: no visible global function definition for 'p.adjust'
customPlotPCAlgo: no visible global function definition for
'layoutGraph'
customPlotPCAlgo: no visible global function definition for
'renderGraph'
formulaFalseNeg: no visible global function definition for 'runif'
independent.contributions.formula: no visible global function
definition for 'runif'
independent.contributions.formula.mul: no visible global function
definition for 'runif'
makeDDDataSet: no visible binding for global variable 'var'
ncpc: no visible global function definition for 'p.adjust'
ncpc : <anonymous>: no visible global function definition for
'p.adjust'
pValueAfterMultipleTesting: no visible global function definition for
'p.adjust'
plotSVMPerformance: no visible global function definition for
'prediction'
plotSVMPerformance: no visible global function definition for
'performance'
plotSVMPerformance: no visible global function definition for 'pdf'
plotSVMPerformance: no visible global function definition for 'par'
plotSVMPerformance: no visible global function definition for 'abline'
plotSVMPerformance: no visible global function definition for 'barplot'
plotSVMPerformance: no visible global function definition for 'hist'
plotSVMPerformance: no visible global function definition for 'dev.off'
predSVM: no visible global function definition for 'predict'
prob.distr.norm: no visible global function definition for 'rnorm'
prob.distr.unif: no visible global function definition for 'runif'
readFurlongData: no visible global function definition for 'glob2rx'
readFurlongData: no visible global function definition for 'read.delim'
recalculateSVMparams: no visible global function definition for 'svm'
recalculateSVMparams : <anonymous>: no visible global function
definition for 'svm'
recalculateSVMparams: no visible global function definition for
'prediction'
recalculateSVMparams: no visible global function definition for
'performance'
svmFeatureSelectionLOOCV: no visible global function definition for
'svm'
ciTest,DDDataSet: no visible global function definition for
'fisher.test'
plot,DDGraph-missing: no visible global function definition for 'par'
plot,DDGraph-missing: no visible global function definition for
'layoutGraph'
plot,DDGraph-missing: no visible global function definition for
'renderGraph'
Undefined global functions or variables:
abline barplot dev.off fisher.test glob2rx hist layoutGraph p.adjust
par pdf performance predict prediction rbeta read.delim renderGraph
rnorm runif strheight strwidth svm text var
Consider adding
importFrom("grDevices", "dev.off", "pdf")
importFrom("graphics", "abline", "barplot", "hist", "par", "strheight",
"strwidth", "text")
importFrom("stats", "fisher.test", "p.adjust", "predict", "rbeta",
"rnorm", "runif", "var")
importFrom("utils", "glob2rx", "read.delim")
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 line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking compiled code ... NOTE
Note: information on .o files for i386 is not available
Note: information on .o files for x64 is not available
File 'C:/Users/biocbuild/bbs-3.6-bioc/meat/ddgraph.buildbin-libdir/ddgraph/libs/i386/ddgraph.dll':
Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
Found 'printf', possibly from 'printf' (C)
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.
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 installed files from 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... ERROR
Running examples in 'ddgraph-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: calcDependence
> ### Title: Dependence with target variable
> ### Aliases: calcDependence
>
> ### ** Examples
> # load in the data for fly mesoderm
> data(mesoBin)
>
> # increase alpha to 0.1, suppress progress output
> calcDependence(mesoBin$VM, "ncpc", alpha=0.05)
$obj
DDGraph produced with ncpc algorithm
Direct:
Joint: Bin 6-8h Bin 8-10h
Indirect: Tin 6-8h Bin 10-12h Twi 2-4h Twi 4-6h Bap 6-8h
Using P-value alpha cutoff = 0.05 with conditional independence test = "mc-x2-c"
$nbr
[1] "Bin 6-8h" "Bin 8-10h"
$labels
$labels$direct
NULL
$labels$joint
[1] "Bin 6-8h" "Bin 8-10h"
$labels$indirect
[1] "Tin 6-8h" "Bin 10-12h" "Twi 2-4h" "Twi 4-6h" "Bap 6-8h"
$table
name type explained.by explained.pval marginal.pval
5 Bin 8-10h joint Bin 6-8h 0.0614 0.0004
4 Bin 6-8h joint Bin 8-10h 0.0810 0.0006
10 Bap 6-8h weak indirect Bin 6-8h 0.0580 0.0058
6 Bin 10-12h weak indirect Bin 8-10h 1.0000 0.0138
7 Twi 2-4h weak indirect Bin 6-8h 0.1504 0.0216
8 Twi 4-6h weak indirect Bin 8-10h 0.1412 0.0268
3 Tin 6-8h weak indirect Bin 6-8h 0.6406 0.0318
2 Tin 4-6h no dependence NA 0.3974
9 Twi 6-8h no dependence NA 0.4272
15 Mef2 10-12h no dependence NA 0.4934
13 Mef2 6-8h no dependence NA 0.5844
12 Mef2 4-6h no dependence NA 0.5906
14 Mef2 8-10h no dependence NA 0.7392
1 Tin 2-4h no dependence NA 1.0000
11 Mef2 2-4h no dependence NA 1.0000
log2FC
5 2.6147098
4 1.9517448
10 1.6147098
6 1.8211607
7 -1.7776076
8 -2.4441838
3 1.1243842
2 0.4627068
9 -0.6416299
15 -1.2921808
13 -0.5729172
12 -0.4002405
14 -0.5816874
1 0.1996723
11 -0.5007674
>
> # run ncpc* with mutual information with shrinkage and minimal numbers of
> # samples per conditioning set of 15
> calcDependence(mesoBin$VM, "ncpc*", test.type="mi-sh", min.table.size=15)
$obj
DDGraph produced with ncpc* algorithm
Direct:
Joint: Bin 6-8h Bin 8-10h
Conditional:
Conditional joint:
Indirect: Tin 6-8h Bin 10-12h Twi 2-4h Twi 4-6h Bap 6-8h
Using P-value alpha cutoff = 0.05 with conditional independence test = "mi-sh"
$nbr
[1] "Bin 6-8h" "Bin 8-10h"
$mb
[1] "Bin 6-8h" "Bin 8-10h"
$labels
$labels$direct
NULL
$labels$joint
[1] "Bin 6-8h" "Bin 8-10h"
$labels$indirect
[1] "Tin 6-8h" "Bin 10-12h" "Twi 2-4h" "Twi 4-6h" "Bap 6-8h"
$labels$conditional
NULL
$labels$conditionalJoint
NULL
$table
name type explained.by explained.pval conditional.type
5 Bin 8-10h joint Bin 6-8h 0.1129735
4 Bin 6-8h joint Bin 8-10h 0.1543618
10 Bap 6-8h weak indirect Bin 6-8h 0.1077358
6 Bin 10-12h weak indirect Bin 8-10h 0.8052702
7 Twi 2-4h weak indirect Bin 6-8h 0.1527278
8 Twi 4-6h weak indirect Bin 8-10h 0.1125118
3 Tin 6-8h weak indirect Bin 6-8h 0.6210417
15 Mef2 10-12h no dependence NA
2 Tin 4-6h no dependence NA
9 Twi 6-8h no dependence NA
13 Mef2 6-8h no dependence NA
12 Mef2 4-6h no dependence NA
14 Mef2 8-10h no dependence NA
1 Tin 2-4h no dependence NA
11 Mef2 2-4h no dependence NA
conditional.on conditional.explained conditional.pval marginal.pval
5 0.0004145264
4 0.0005420886
10 0.0055307127
6 0.0135478039
7 0.0165514158
8 0.0172271300
3 0.0345167513
15 0.3338481472
2 0.3520964001
9 0.4145694525
13 0.4794555793
12 0.5676072714
14 0.5885109046
1 0.7031989752
11 0.7769814858
log2FC
5 2.6147098
4 1.9517448
10 1.6147098
6 1.8211607
7 -1.7776076
8 -2.4441838
3 1.1243842
15 -1.2921808
2 0.4627068
9 -0.6416299
13 -0.5729172
12 -0.4002405
14 -0.5816874
1 0.1996723
11 -0.5007674
>
> # run PC algorithm using the G^2 test from pcalg package
> calcDependence(mesoBin$VM, "pc", indepTest=pcalg::binCItest)
$obj
Object of class 'pcAlgo', from Call:
pc(suffStat = suffStat, indepTest = indepTest, alpha = alpha,
p = p, verbose = verbose)
Number of undirected edges: 2
Number of directed edges: 12
Total number of edges: 14
$nbr
character(0)
$mb
character(0)
>
> # run hill-climbing with BIC penalization and plot the resulting Bayesian Network
> # NOTE: plotting requires the Rgraphviz package
> if(require("Rgraphviz"))
+ calcDependence(mesoBin$VM, "hc-bic", make.plot=TRUE)
Loading required package: Rgraphviz
Loading required package: grid
Error in check.colour(highlight$col) :
highlight$col must be a single colour.
Calls: calcDependence ... plotBNLearn -> graphviz.plot -> graphviz.backend -> check.colour
Execution halted
** running examples for arch 'x64' ... ERROR
Running examples in 'ddgraph-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: calcDependence
> ### Title: Dependence with target variable
> ### Aliases: calcDependence
>
> ### ** Examples
> # load in the data for fly mesoderm
> data(mesoBin)
>
> # increase alpha to 0.1, suppress progress output
> calcDependence(mesoBin$VM, "ncpc", alpha=0.05)
$obj
DDGraph produced with ncpc algorithm
Direct:
Joint: Bin 6-8h Bin 8-10h
Indirect: Tin 6-8h Bin 10-12h Twi 2-4h Twi 4-6h Bap 6-8h
Using P-value alpha cutoff = 0.05 with conditional independence test = "mc-x2-c"
$nbr
[1] "Bin 6-8h" "Bin 8-10h"
$labels
$labels$direct
NULL
$labels$joint
[1] "Bin 6-8h" "Bin 8-10h"
$labels$indirect
[1] "Tin 6-8h" "Bin 10-12h" "Twi 2-4h" "Twi 4-6h" "Bap 6-8h"
$table
name type explained.by explained.pval marginal.pval
5 Bin 8-10h joint Bin 6-8h 0.0614 0.0004
4 Bin 6-8h joint Bin 8-10h 0.0810 0.0006
10 Bap 6-8h weak indirect Bin 6-8h 0.0580 0.0058
6 Bin 10-12h weak indirect Bin 8-10h 1.0000 0.0138
7 Twi 2-4h weak indirect Bin 6-8h 0.1504 0.0216
8 Twi 4-6h weak indirect Bin 8-10h 0.1412 0.0268
3 Tin 6-8h weak indirect Bin 6-8h 0.6406 0.0318
2 Tin 4-6h no dependence NA 0.3974
9 Twi 6-8h no dependence NA 0.4272
15 Mef2 10-12h no dependence NA 0.4934
13 Mef2 6-8h no dependence NA 0.5844
12 Mef2 4-6h no dependence NA 0.5906
14 Mef2 8-10h no dependence NA 0.7392
1 Tin 2-4h no dependence NA 1.0000
11 Mef2 2-4h no dependence NA 1.0000
log2FC
5 2.6147098
4 1.9517448
10 1.6147098
6 1.8211607
7 -1.7776076
8 -2.4441838
3 1.1243842
2 0.4627068
9 -0.6416299
15 -1.2921808
13 -0.5729172
12 -0.4002405
14 -0.5816874
1 0.1996723
11 -0.5007674
>
> # run ncpc* with mutual information with shrinkage and minimal numbers of
> # samples per conditioning set of 15
> calcDependence(mesoBin$VM, "ncpc*", test.type="mi-sh", min.table.size=15)
$obj
DDGraph produced with ncpc* algorithm
Direct:
Joint: Bin 6-8h Bin 8-10h
Conditional:
Conditional joint:
Indirect: Tin 6-8h Bin 10-12h Twi 2-4h Twi 4-6h Bap 6-8h
Using P-value alpha cutoff = 0.05 with conditional independence test = "mi-sh"
$nbr
[1] "Bin 6-8h" "Bin 8-10h"
$mb
[1] "Bin 6-8h" "Bin 8-10h"
$labels
$labels$direct
NULL
$labels$joint
[1] "Bin 6-8h" "Bin 8-10h"
$labels$indirect
[1] "Tin 6-8h" "Bin 10-12h" "Twi 2-4h" "Twi 4-6h" "Bap 6-8h"
$labels$conditional
NULL
$labels$conditionalJoint
NULL
$table
name type explained.by explained.pval conditional.type
5 Bin 8-10h joint Bin 6-8h 0.1129735
4 Bin 6-8h joint Bin 8-10h 0.1543618
10 Bap 6-8h weak indirect Bin 6-8h 0.1077358
6 Bin 10-12h weak indirect Bin 8-10h 0.8052702
7 Twi 2-4h weak indirect Bin 6-8h 0.1527278
8 Twi 4-6h weak indirect Bin 8-10h 0.1125118
3 Tin 6-8h weak indirect Bin 6-8h 0.6210417
15 Mef2 10-12h no dependence NA
2 Tin 4-6h no dependence NA
9 Twi 6-8h no dependence NA
13 Mef2 6-8h no dependence NA
12 Mef2 4-6h no dependence NA
14 Mef2 8-10h no dependence NA
1 Tin 2-4h no dependence NA
11 Mef2 2-4h no dependence NA
conditional.on conditional.explained conditional.pval marginal.pval
5 0.0004145264
4 0.0005420886
10 0.0055307127
6 0.0135478039
7 0.0165514158
8 0.0172271300
3 0.0345167513
15 0.3338481472
2 0.3520964001
9 0.4145694525
13 0.4794555793
12 0.5676072714
14 0.5885109046
1 0.7031989752
11 0.7769814858
log2FC
5 2.6147098
4 1.9517448
10 1.6147098
6 1.8211607
7 -1.7776076
8 -2.4441838
3 1.1243842
15 -1.2921808
2 0.4627068
9 -0.6416299
13 -0.5729172
12 -0.4002405
14 -0.5816874
1 0.1996723
11 -0.5007674
>
> # run PC algorithm using the G^2 test from pcalg package
> calcDependence(mesoBin$VM, "pc", indepTest=pcalg::binCItest)
$obj
Object of class 'pcAlgo', from Call:
pc(suffStat = suffStat, indepTest = indepTest, alpha = alpha,
p = p, verbose = verbose)
Number of undirected edges: 2
Number of directed edges: 12
Total number of edges: 14
$nbr
character(0)
$mb
character(0)
>
> # run hill-climbing with BIC penalization and plot the resulting Bayesian Network
> # NOTE: plotting requires the Rgraphviz package
> if(require("Rgraphviz"))
+ calcDependence(mesoBin$VM, "hc-bic", make.plot=TRUE)
Loading required package: Rgraphviz
Loading required package: grid
Error in check.colour(highlight$col) :
highlight$col must be a single colour.
Calls: calcDependence ... plotBNLearn -> graphviz.plot -> graphviz.backend -> check.colour
Execution halted
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
Running 'test-all.R'
OK
** running tests for arch 'x64' ...
Running 'test-all.R'
OK
* 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: 2 ERRORs, 4 NOTEs
See
'C:/Users/biocbuild/bbs-3.6-bioc/meat/ddgraph.Rcheck/00check.log'
for details.
install for i386
* installing *source* package 'ddgraph' ...
** libs
C:/Rtools/mingw_32/bin/g++ -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=core2 -c mcX2cloop.cpp -o mcX2cloop.o
mcX2cloop.cpp: In function 'SEXPREC* mcX2CLoopC(SEXP, SEXP, SEXP, SEXP)':
mcX2cloop.cpp:14:2: warning: label 'Rcpp' defined but not used [-Wunused-label]
Rcpp:NumericVector res(iB);
^
C:/Rtools/mingw_32/bin/g++ -shared -s -static-libgcc -o ddgraph.dll tmp.def mcX2cloop.o -LC:/local323/lib/i386 -LC:/local323/lib -LC:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/bin/i386 -lR
installing to C:/Users/biocbuild/bbs-3.6-bioc/meat/ddgraph.buildbin-libdir/ddgraph/libs/i386
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
install for x64
* installing *source* package 'ddgraph' ...
** libs
C:/Rtools/mingw_64/bin/g++ -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=core2 -c mcX2cloop.cpp -o mcX2cloop.o
mcX2cloop.cpp: In function 'SEXPREC* mcX2CLoopC(SEXP, SEXP, SEXP, SEXP)':
mcX2cloop.cpp:14:2: warning: label 'Rcpp' defined but not used [-Wunused-label]
Rcpp:NumericVector res(iB);
^
C:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o ddgraph.dll tmp.def mcX2cloop.o -LC:/local323/lib/x64 -LC:/local323/lib -LC:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/bin/x64 -lR
installing to C:/Users/biocbuild/bbs-3.6-bioc/meat/ddgraph.buildbin-libdir/ddgraph/libs/x64
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'ddgraph' as ddgraph_1.21.0.zip
* DONE (ddgraph)