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

This page was generated on 2022-04-13 12:06:55 -0400 (Wed, 13 Apr 2022).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 20.04.4 LTS)x86_644.1.3 (2022-03-10) -- "One Push-Up" 4324
tokay2Windows Server 2012 R2 Standardx644.1.3 (2022-03-10) -- "One Push-Up" 4077
machv2macOS 10.14.6 Mojavex86_644.1.3 (2022-03-10) -- "One Push-Up" 4137
Click on any hostname to see more info about the system (e.g. compilers)      (*) as reported by 'uname -p', except on Windows and Mac OS X

CHECK results for mitch on tokay2


To the developers/maintainers of the mitch package:
- Please allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/mitch.git to
reflect on this report. See How and When does the builder pull? When will my changes propagate? for more information.
- Make sure to use the following settings in order to reproduce any error or warning you see on this page.

raw results

Package 1176/2083HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
mitch 1.6.0  (landing page)
Mark Ziemann
Snapshot Date: 2022-04-12 01:55:07 -0400 (Tue, 12 Apr 2022)
git_url: https://git.bioconductor.org/packages/mitch
git_branch: RELEASE_3_14
git_last_commit: 429d65d
git_last_commit_date: 2021-10-26 12:56:19 -0400 (Tue, 26 Oct 2021)
nebbiolo2Linux (Ubuntu 20.04.4 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published
tokay2Windows Server 2012 R2 Standard / x64  OK    OK    OK    OK  UNNEEDED, same version is already published
machv2macOS 10.14.6 Mojave / x86_64  OK    OK    OK    OK  UNNEEDED, same version is already published

Summary

Package: mitch
Version: 1.6.0
Command: C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:mitch.install-out.txt --library=C:\Users\biocbuild\bbs-3.14-bioc\R\library --no-vignettes --timings mitch_1.6.0.tar.gz
StartedAt: 2022-04-12 23:02:47 -0400 (Tue, 12 Apr 2022)
EndedAt: 2022-04-12 23:09:25 -0400 (Tue, 12 Apr 2022)
EllapsedTime: 398.3 seconds
RetCode: 0
Status:   OK  
CheckDir: mitch.Rcheck
Warnings: 0

Command output

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


* using log directory 'C:/Users/biocbuild/bbs-3.14-bioc/meat/mitch.Rcheck'
* using R version 4.1.3 (2022-03-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.6.0'
* 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        37.94   2.22   42.67
mitch_report 21.86   1.77   25.03
mitch_plots  16.59   0.08   16.67
gmt_import    0.01   0.00    7.52
** running examples for arch 'x64' ... OK
Examples with CPU (user + system) or elapsed time > 5s
              user system elapsed
mitch        44.10   2.10   47.87
mitch_report 22.71   1.92   26.35
mitch_plots  18.04   0.08   18.11
* 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 http://155.52.207.166/BBS/3.14/bioc/src/contrib/mitch_1.6.0.tar.gz && rm -rf mitch.buildbin-libdir && mkdir mitch.buildbin-libdir && C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=mitch.buildbin-libdir mitch_1.6.0.tar.gz && C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD INSTALL mitch_1.6.0.zip && rm mitch_1.6.0.tar.gz mitch_1.6.0.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  1122k      0 --:--:-- --:--:-- --:--:-- 1125k

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.6.0.zip
* DONE (mitch)
* installing to library 'C:/Users/biocbuild/bbs-3.14-bioc/R/library'
package 'mitch' successfully unpacked and MD5 sums checked

Tests output

mitch.Rcheck/tests_i386/test-mitch.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 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)
+ })
Test passed 
> 
> # 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.14-bioc\tmpdir\Rtmp6vp0as/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.14-bioc/meat/mitch.Rcheck/tests_i386/mitch.knit.md

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

Output created: C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6vp0as/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)
+ })
Test passed 
> 
> 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.14-bioc\tmpdir\Rtmp6vp0as/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.14-bioc/meat/mitch.Rcheck/tests_i386/mitch.knit.md

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

Output created: C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6vp0as/mitch_report.html
[1] TRUE
> 
> test_that("1d works", {
+     expect_true(file.info("1d.html")$size>1000000)
+ })
Test passed 
> 
> 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.14-bioc\tmpdir\Rtmp6vp0as/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.14-bioc/meat/mitch.Rcheck/tests_i386/mitch.knit.md

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

Output created: C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6vp0as/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)
+ })
Test passed 
> 
> 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.14-bioc\tmpdir\Rtmp6vp0as/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.14-bioc/meat/mitch.Rcheck/tests_i386/mitch.knit.md

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

Output created: C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6vp0as/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)
+ })
Test passed 
> 
> unlink("3d.html")
> unlink("3d.pdf")
> 
> 
> 
> proc.time()
   user  system elapsed 
  57.03    5.18   67.00 

mitch.Rcheck/tests_x64/test-mitch.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 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)
+ })
Test passed 
> 
> # 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.14-bioc\tmpdir\Rtmpo3MUhP/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.14-bioc/meat/mitch.Rcheck/tests_x64/mitch.knit.md

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

Output created: C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpo3MUhP/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)
+ })
Test passed 
> 
> 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.14-bioc\tmpdir\Rtmpo3MUhP/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.14-bioc/meat/mitch.Rcheck/tests_x64/mitch.knit.md

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

Output created: C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpo3MUhP/mitch_report.html
[1] TRUE
> 
> test_that("1d works", {
+     expect_true(file.info("1d.html")$size>1000000)
+ })
Test passed 
> 
> 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.14-bioc\tmpdir\Rtmpo3MUhP/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.14-bioc/meat/mitch.Rcheck/tests_x64/mitch.knit.md

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

Output created: C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpo3MUhP/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)
+ })
Test passed 
> 
> 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.14-bioc\tmpdir\Rtmpo3MUhP/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.14-bioc/meat/mitch.Rcheck/tests_x64/mitch.knit.md

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

Output created: C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpo3MUhP/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)
+ })
Test passed 
> 
> unlink("3d.html")
> unlink("3d.pdf")
> 
> 
> 
> proc.time()
   user  system elapsed 
  57.53    5.06   67.59 

Example timings

mitch.Rcheck/examples_i386/mitch-Ex.timings

nameusersystemelapsed
genesetsExample0.020.000.01
gmt_import0.010.007.52
k36a0.000.020.02
k9a0.030.000.03
mitch37.94 2.2242.67
mitch_calc0.250.010.27
mitch_import0.030.000.03
mitch_plots16.59 0.0816.67
mitch_report21.86 1.7725.03
myImportedData0.000.010.01
myList0.010.000.02
resExample0.020.020.03
rna000

mitch.Rcheck/examples_x64/mitch-Ex.timings

nameusersystemelapsed
genesetsExample0.000.020.01
gmt_import0.010.000.02
k36a0.000.010.02
k9a000
mitch44.10 2.1047.87
mitch_calc0.230.040.28
mitch_import0.030.000.03
mitch_plots18.04 0.0818.11
mitch_report22.71 1.9226.35
myImportedData000
myList0.020.000.02
resExample0.020.000.02
rna0.010.000.01