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

CHECK report for mitch on tokay2

This page was generated on 2020-10-17 11:57:09 -0400 (Sat, 17 Oct 2020).

TO THE DEVELOPERS/MAINTAINERS OF THE mitch PACKAGE: Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
Package 1103/1905HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
mitch 1.0.10
Mark Ziemann
Snapshot Date: 2020-10-16 14:40:19 -0400 (Fri, 16 Oct 2020)
URL: https://git.bioconductor.org/packages/mitch
Branch: RELEASE_3_11
Last Commit: 27e6d40
Last Changed Date: 2020-10-09 01:51:13 -0400 (Fri, 09 Oct 2020)
malbec2 Linux (Ubuntu 18.04.4 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
tokay2 Windows Server 2012 R2 Standard / x64  OK  OK [ OK ] OK UNNEEDED, same version exists in internal repository
machv2 macOS 10.14.6 Mojave / x86_64  OK  OK  OK  OK UNNEEDED, same version exists in internal repository

Summary

Package: mitch
Version: 1.0.10
Command: C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:mitch.install-out.txt --library=C:\Users\biocbuild\bbs-3.11-bioc\R\library --no-vignettes --timings mitch_1.0.10.tar.gz
StartedAt: 2020-10-17 06:08:36 -0400 (Sat, 17 Oct 2020)
EndedAt: 2020-10-17 06:16:17 -0400 (Sat, 17 Oct 2020)
EllapsedTime: 460.9 seconds
RetCode: 0
Status:  OK  
CheckDir: mitch.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:mitch.install-out.txt --library=C:\Users\biocbuild\bbs-3.11-bioc\R\library --no-vignettes --timings mitch_1.0.10.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck'
* using R version 4.0.3 (2020-10-10)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'mitch/DESCRIPTION' ... OK
* this is package 'mitch' version '1.0.10'
* package encoding: UTF-8
* 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 'mitch' 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
* 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
* 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 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 ... OK
* 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 files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... OK
Examples with CPU (user + system) or elapsed time > 5s
              user system elapsed
mitch        45.00   2.37   51.72
mitch_report 21.03   1.92   24.33
mitch_plots  17.50   0.21   17.70
** running examples for arch 'x64' ... OK
Examples with CPU (user + system) or elapsed time > 5s
              user system elapsed
mitch        59.20   2.47   63.54
mitch_report 29.30   2.30   34.31
mitch_plots  26.03   0.03   26.19
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
  Running 'test-mitch.R'
 OK
** running tests for arch 'x64' ...
  Running 'test-mitch.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: OK


Installation output

mitch.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\cygwin\bin\curl.exe -O https://malbec2.bioconductor.org/BBS/3.11/bioc/src/contrib/mitch_1.0.10.tar.gz && rm -rf mitch.buildbin-libdir && mkdir mitch.buildbin-libdir && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=mitch.buildbin-libdir mitch_1.0.10.tar.gz && C:\Users\biocbuild\bbs-3.11-bioc\R\bin\R.exe CMD INSTALL mitch_1.0.10.zip && rm mitch_1.0.10.tar.gz mitch_1.0.10.zip
###
##############################################################################
##############################################################################


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  381k  100  381k    0     0  3469k      0 --:--:-- --:--:-- --:--:-- 3707k

install for i386

* installing *source* package 'mitch' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'mitch'
    finding HTML links ... done
    genesetsExample                         html  
    gmt_import                              html  
    k36a                                    html  
    k9a                                     html  
    mitch                                   html  
    mitch_calc                              html  
    mitch_import                            html  
    mitch_plots                             html  
    mitch_report                            html  
    myImportedData                          html  
    myList                                  html  
    resExample                              html  
    rna                                     html  
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path

install for x64

* installing *source* package 'mitch' ...
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'mitch' as mitch_1.0.10.zip
* DONE (mitch)
* installing to library 'C:/Users/biocbuild/bbs-3.11-bioc/R/library'
package 'mitch' successfully unpacked and MD5 sums checked

Tests output

mitch.Rcheck/tests_i386/test-mitch.Rout


R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library("mitch")
> library("testthat")
> 
> test_that("multiplication works", {
+     expect_equal(2 * 2, 4)
+ })
> 
> # 1d
> data(rna,genesetsExample)
> y<-mitch_import(rna,DEtype="edgeR")
The input is a single dataframe; one contrast only. Converting
        it to a list for you.
Note: Mean no. genes in input = 1000
Note: no. genes in output = 1000
Note: estimated proportion of input genes in output = 1
> res<-mitch_calc(y,genesetsExample,cores=2)
Note: When prioritising by significance (ie: small
            p-values), large effect sizes might be missed.
> mitch_plots(res,outfile="1d.pdf") 
null device 
          1 
> if (file.exists("1d.html")) { unlink("1d.html") } 
> mitch_report(res,"1d.html")
Dataset saved as " C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa/1d.rds ".


processing file: mitch.Rmd
   inline R code fragments

label: checklibraries (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: peek (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: metrics (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: scatterplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ message   : logi FALSE
 $ warning   : logi FALSE

  ordinary text without R code

label: contourplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ warning   : logi FALSE
 $ message   : logi FALSE

Contour plot does not apply to unidimensional analysis.
  ordinary text without R code

label: input_geneset_metrics1 (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics2 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"

  ordinary text without R code

label: input_geneset_metrics3 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ message   : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7

  ordinary text without R code

label: echart1d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

label: echart2d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: heatmap (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 10
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: effectsize (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: results_table (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: results_table_complete (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports1d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports2d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 5
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: session_info (with options) 
List of 3
 $ include: logi TRUE
 $ echo   : logi TRUE
 $ results: chr "markup"

  ordinary text without R code

output file: C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_i386/mitch.knit.md

"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS "C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_i386/mitch.utf8.md" --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc1d34425454e4.html --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\latex-div.lua" --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa\rmarkdown-str1d3433cadb1.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 

Output created: C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa/mitch_report.html
[1] TRUE
> 
> test_that("1d works", {
+     expect_equal(  length(which(res$enrichment_result$p.adjustANOVA<0.1)) ,1)
+     expect_true(file.info("1d.pdf")$size>10000)
+     expect_true(file.info("1d.html")$size>1000000)
+ })
> 
> unlink("1d.html")
> unlink("1d.pdf")
> 
> 
> # 1d part 2 to make sure that saving files at a different location works
> MYPATH=paste(getwd(),"/1d.html",sep="")
> if (file.exists("1d.html")) { unlink("1d.html") }
> mitch_report(res,MYPATH)
Dataset saved as " C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa/1d.rds ".


processing file: mitch.Rmd
   inline R code fragments

label: checklibraries (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: peek (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: metrics (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: scatterplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ message   : logi FALSE
 $ warning   : logi FALSE

  ordinary text without R code

label: contourplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ warning   : logi FALSE
 $ message   : logi FALSE

Contour plot does not apply to unidimensional analysis.
  ordinary text without R code

label: input_geneset_metrics1 (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics2 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"

  ordinary text without R code

label: input_geneset_metrics3 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ message   : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7

  ordinary text without R code

label: echart1d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

label: echart2d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: heatmap (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 10
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: effectsize (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: results_table (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: results_table_complete (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports1d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports2d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 5
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: session_info (with options) 
List of 3
 $ include: logi TRUE
 $ echo   : logi TRUE
 $ results: chr "markup"

  ordinary text without R code

output file: C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_i386/mitch.knit.md

"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS "C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_i386/mitch.utf8.md" --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc1d3420a620e.html --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\latex-div.lua" --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa\rmarkdown-str1d34f5e68ff.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 

Output created: C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa/mitch_report.html
[1] TRUE
> 
> test_that("1d works", {
+     expect_true(file.info("1d.html")$size>1000000)
+ })
> 
> unlink("1d.html")
> 
> 
> 
> # 2d
> data(rna,k9a,genesetsExample)
> x<-list("rna"=rna,"k9a"=k9a)
> y<-mitch_import(x,DEtype="edgeR")
Note: Mean no. genes in input = 1000
Note: no. genes in output = 1000
Note: estimated proportion of input genes in output = 1
> res<-mitch_calc(y,genesetsExample,cores=2)
Note: When prioritising by significance (ie: small 
            p-values), large effect sizes might be missed.
> mitch_plots(res,outfile="2d.pdf")
null device 
          1 
> if (file.exists("2d.html")) { unlink("2d.html") }
> mitch_report(res,"2d.html")
Dataset saved as " C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa/2d.rds ".


processing file: mitch.Rmd
   inline R code fragments

label: checklibraries (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: peek (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: metrics (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: scatterplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ message   : logi FALSE
 $ warning   : logi FALSE

  ordinary text without R code

label: contourplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ warning   : logi FALSE
 $ message   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics1 (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics2 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"

  ordinary text without R code

label: input_geneset_metrics3 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ message   : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7

  ordinary text without R code

label: echart1d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

label: echart2d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: heatmap (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 10
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: effectsize (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: results_table (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: results_table_complete (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports1d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports2d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 5
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: session_info (with options) 
List of 3
 $ include: logi TRUE
 $ echo   : logi TRUE
 $ results: chr "markup"

  ordinary text without R code

output file: C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_i386/mitch.knit.md

"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS "C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_i386/mitch.utf8.md" --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc1d345f753d2d.html --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\latex-div.lua" --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa\rmarkdown-str1d3419016cef.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 

Output created: C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa/mitch_report.html
[1] TRUE
> 
> test_that("2d works", {
+     expect_equal(  length(which(res$enrichment_result$p.adjustMANOVA<0.1)) ,1)
+     expect_true(file.info("2d.pdf")$size>100000)
+     expect_true(file.info("2d.html")$size>1000000)
+ })
> 
> unlink("2d.html")
> unlink("2d.pdf")
> 
> # 3d
> data(rna,k9a,k36a,genesetsExample)
> x<-list("rna"=rna,"k9a"=k9a,"k36a"=k36a)
> y<-mitch_import(x,DEtype="edgeR")
Note: Mean no. genes in input = 1000
Note: no. genes in output = 1000
Note: estimated proportion of input genes in output = 1
> res<-mitch_calc(y,genesetsExample,cores=2)
Note: When prioritising by significance (ie: small 
            p-values), large effect sizes might be missed.
> mitch_plots(res,outfile="3d.pdf")
null device 
          1 
> if (file.exists("3d.html")) { unlink("3d.html") }
> mitch_report(res,"3d.html")
Dataset saved as " C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa/3d.rds ".


processing file: mitch.Rmd
   inline R code fragments

label: checklibraries (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: peek (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: metrics (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: scatterplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ message   : logi FALSE
 $ warning   : logi FALSE

  ordinary text without R code

label: contourplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ warning   : logi FALSE
 $ message   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics1 (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics2 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"

  ordinary text without R code

label: input_geneset_metrics3 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ message   : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7

  ordinary text without R code

label: echart1d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

label: echart2d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

No significant enrichments found.
  ordinary text without R code

label: heatmap (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 10
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: effectsize (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: results_table (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: results_table_complete (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports1d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports2d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 5
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: session_info (with options) 
List of 3
 $ include: logi TRUE
 $ echo   : logi TRUE
 $ results: chr "markup"

  ordinary text without R code

output file: C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_i386/mitch.knit.md

"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS "C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_i386/mitch.utf8.md" --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc1d34304c47d7.html --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\latex-div.lua" --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa\rmarkdown-str1d344b506839.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 

Output created: C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpO26mNa/mitch_report.html
[1] TRUE
> 
> test_that("3d works", {
+     expect_equal(  length(which(res$enrichment_result$p.adjustMANOVA<0.1)) ,1)
+     expect_true(file.info("3d.pdf")$size>100000)
+     expect_true(file.info("3d.html")$size>1000000)
+ })
> 
> unlink("3d.html")
> unlink("3d.pdf")
> 
> 
> 
> proc.time()
   user  system elapsed 
  72.65    5.84   91.73 

mitch.Rcheck/tests_x64/test-mitch.Rout


R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library("mitch")
> library("testthat")
> 
> test_that("multiplication works", {
+     expect_equal(2 * 2, 4)
+ })
> 
> # 1d
> data(rna,genesetsExample)
> y<-mitch_import(rna,DEtype="edgeR")
The input is a single dataframe; one contrast only. Converting
        it to a list for you.
Note: Mean no. genes in input = 1000
Note: no. genes in output = 1000
Note: estimated proportion of input genes in output = 1
> res<-mitch_calc(y,genesetsExample,cores=2)
Note: When prioritising by significance (ie: small
            p-values), large effect sizes might be missed.
> mitch_plots(res,outfile="1d.pdf") 
null device 
          1 
> if (file.exists("1d.html")) { unlink("1d.html") } 
> mitch_report(res,"1d.html")
Dataset saved as " C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon/1d.rds ".


processing file: mitch.Rmd
   inline R code fragments

label: checklibraries (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: peek (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: metrics (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: scatterplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ message   : logi FALSE
 $ warning   : logi FALSE

  ordinary text without R code

label: contourplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ warning   : logi FALSE
 $ message   : logi FALSE

Contour plot does not apply to unidimensional analysis.
  ordinary text without R code

label: input_geneset_metrics1 (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics2 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"

  ordinary text without R code

label: input_geneset_metrics3 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ message   : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7

  ordinary text without R code

label: echart1d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

label: echart2d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: heatmap (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 10
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: effectsize (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: results_table (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: results_table_complete (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports1d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports2d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 5
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: session_info (with options) 
List of 3
 $ include: logi TRUE
 $ echo   : logi TRUE
 $ results: chr "markup"

  ordinary text without R code

output file: C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_x64/mitch.knit.md

"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS "C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_x64/mitch.utf8.md" --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc10ec715ec91.html --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\latex-div.lua" --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon\rmarkdown-str10ec4fa41fe9.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 

Output created: C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon/mitch_report.html
[1] TRUE
> 
> test_that("1d works", {
+     expect_equal(  length(which(res$enrichment_result$p.adjustANOVA<0.1)) ,1)
+     expect_true(file.info("1d.pdf")$size>10000)
+     expect_true(file.info("1d.html")$size>1000000)
+ })
> 
> unlink("1d.html")
> unlink("1d.pdf")
> 
> 
> # 1d part 2 to make sure that saving files at a different location works
> MYPATH=paste(getwd(),"/1d.html",sep="")
> if (file.exists("1d.html")) { unlink("1d.html") }
> mitch_report(res,MYPATH)
Dataset saved as " C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon/1d.rds ".


processing file: mitch.Rmd
   inline R code fragments

label: checklibraries (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: peek (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: metrics (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: scatterplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ message   : logi FALSE
 $ warning   : logi FALSE

  ordinary text without R code

label: contourplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ warning   : logi FALSE
 $ message   : logi FALSE

Contour plot does not apply to unidimensional analysis.
  ordinary text without R code

label: input_geneset_metrics1 (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics2 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"

  ordinary text without R code

label: input_geneset_metrics3 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ message   : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7

  ordinary text without R code

label: echart1d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

label: echart2d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: heatmap (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 10
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: effectsize (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: results_table (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: results_table_complete (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports1d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports2d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 5
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: session_info (with options) 
List of 3
 $ include: logi TRUE
 $ echo   : logi TRUE
 $ results: chr "markup"

  ordinary text without R code

output file: C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_x64/mitch.knit.md

"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS "C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_x64/mitch.utf8.md" --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc10ec482d4fe.html --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\latex-div.lua" --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon\rmarkdown-str10ec1ceb2746.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 

Output created: C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon/mitch_report.html
[1] TRUE
> 
> test_that("1d works", {
+     expect_true(file.info("1d.html")$size>1000000)
+ })
> 
> unlink("1d.html")
> 
> 
> 
> # 2d
> data(rna,k9a,genesetsExample)
> x<-list("rna"=rna,"k9a"=k9a)
> y<-mitch_import(x,DEtype="edgeR")
Note: Mean no. genes in input = 1000
Note: no. genes in output = 1000
Note: estimated proportion of input genes in output = 1
> res<-mitch_calc(y,genesetsExample,cores=2)
Note: When prioritising by significance (ie: small 
            p-values), large effect sizes might be missed.
> mitch_plots(res,outfile="2d.pdf")
null device 
          1 
> if (file.exists("2d.html")) { unlink("2d.html") }
> mitch_report(res,"2d.html")
Dataset saved as " C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon/2d.rds ".


processing file: mitch.Rmd
   inline R code fragments

label: checklibraries (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: peek (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: metrics (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: scatterplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ message   : logi FALSE
 $ warning   : logi FALSE

  ordinary text without R code

label: contourplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ warning   : logi FALSE
 $ message   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics1 (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics2 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"

  ordinary text without R code

label: input_geneset_metrics3 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ message   : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7

  ordinary text without R code

label: echart1d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

label: echart2d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: heatmap (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 10
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: effectsize (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: results_table (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: results_table_complete (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports1d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports2d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 5
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: session_info (with options) 
List of 3
 $ include: logi TRUE
 $ echo   : logi TRUE
 $ results: chr "markup"

  ordinary text without R code

output file: C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_x64/mitch.knit.md

"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS "C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_x64/mitch.utf8.md" --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc10ec27d36040.html --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\latex-div.lua" --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon\rmarkdown-str10ec1ae26fa5.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 

Output created: C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon/mitch_report.html
[1] TRUE
> 
> test_that("2d works", {
+     expect_equal(  length(which(res$enrichment_result$p.adjustMANOVA<0.1)) ,1)
+     expect_true(file.info("2d.pdf")$size>100000)
+     expect_true(file.info("2d.html")$size>1000000)
+ })
> 
> unlink("2d.html")
> unlink("2d.pdf")
> 
> # 3d
> data(rna,k9a,k36a,genesetsExample)
> x<-list("rna"=rna,"k9a"=k9a,"k36a"=k36a)
> y<-mitch_import(x,DEtype="edgeR")
Note: Mean no. genes in input = 1000
Note: no. genes in output = 1000
Note: estimated proportion of input genes in output = 1
> res<-mitch_calc(y,genesetsExample,cores=2)
Note: When prioritising by significance (ie: small 
            p-values), large effect sizes might be missed.
> mitch_plots(res,outfile="3d.pdf")
null device 
          1 
> if (file.exists("3d.html")) { unlink("3d.html") }
> mitch_report(res,"3d.html")
Dataset saved as " C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon/3d.rds ".


processing file: mitch.Rmd
   inline R code fragments

label: checklibraries (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: peek (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: metrics (with options) 
List of 1
 $ echo: logi FALSE

  ordinary text without R code

label: scatterplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ message   : logi FALSE
 $ warning   : logi FALSE

  ordinary text without R code

label: contourplot (with options) 
List of 5
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6.5
 $ warning   : logi FALSE
 $ message   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics1 (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: input_geneset_metrics2 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"

  ordinary text without R code

label: input_geneset_metrics3 (with options) 
List of 5
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ message   : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7

  ordinary text without R code

label: echart1d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

label: echart2d (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

No significant enrichments found.
  ordinary text without R code

label: heatmap (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 10
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: effectsize (with options) 
List of 6
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 7
 $ fig.width : num 7
 $ fig.show  : chr "all"
 $ message   : logi FALSE

  ordinary text without R code

label: results_table (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: results_table_complete (with options) 
List of 2
 $ results: chr "asis"
 $ echo   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports1d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 6
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: detailed_geneset_reports2d (with options) 
List of 7
 $ results   : chr "asis"
 $ echo      : logi FALSE
 $ fig.height: num 5
 $ fig.width : num 6
 $ out.width : chr "80%"
 $ comment   : logi NA
 $ message   : logi FALSE

  ordinary text without R code

label: session_info (with options) 
List of 3
 $ include: logi TRUE
 $ echo   : logi TRUE
 $ results: chr "markup"

  ordinary text without R code

output file: C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_x64/mitch.knit.md

"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS "C:/Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests_x64/mitch.utf8.md" --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc10ec28ba473.html --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmarkdown\lua\latex-div.lua" --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\biocbuild\bbs-3.11-bioc\R\library\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon\rmarkdown-str10ecbf16443.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" 

Output created: C:\Users\biocbuild\bbs-3.11-bioc\tmpdir\RtmpCUjxon/mitch_report.html
[1] TRUE
> 
> test_that("3d works", {
+     expect_equal(  length(which(res$enrichment_result$p.adjustMANOVA<0.1)) ,1)
+     expect_true(file.info("3d.pdf")$size>100000)
+     expect_true(file.info("3d.html")$size>1000000)
+ })
> 
> unlink("3d.html")
> unlink("3d.pdf")
> 
> 
> 
> proc.time()
   user  system elapsed 
  58.10    5.31   77.18 

Example timings

mitch.Rcheck/examples_i386/mitch-Ex.timings

nameusersystemelapsed
genesetsExample0.020.000.02
gmt_import0.010.000.02
k36a0.000.020.01
k9a000
mitch45.00 2.3751.72
mitch_calc0.220.000.21
mitch_import0.030.000.03
mitch_plots17.50 0.2117.70
mitch_report21.03 1.9224.33
myImportedData0.000.020.02
myList0.040.000.03
resExample0.010.010.03
rna0.020.000.02

mitch.Rcheck/examples_x64/mitch-Ex.timings

nameusersystemelapsed
genesetsExample0.020.000.02
gmt_import0.010.000.02
k36a000
k9a0.020.000.02
mitch59.20 2.4763.54
mitch_calc0.640.030.68
mitch_import0.030.000.03
mitch_plots26.03 0.0326.19
mitch_report29.30 2.3034.31
myImportedData000
myList0.020.000.01
resExample0.020.000.02
rna0.000.000.02