Mercurial > repos > ethevenot > checkformat
annotate runit/checkformat_tests.R @ 2:b6a6b4cc932a draft
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit e17f78630b4d21b54a4edd6015d50969ac859d6b
author | ethevenot |
---|---|
date | Tue, 06 Jun 2017 11:51:33 -0400 |
parents | e194eec8e70c |
children | 80a38d36f946 |
rev | line source |
---|---|
1
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
1 test_input_default <- function() { |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
2 |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
3 testDirC <- "input" |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
4 argLs <- list() |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
5 |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
6 argLs <- c(defaultArgF(testDirC), argLs) |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
7 outLs <- wrapperCallF(argLs) |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
8 |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
9 checkEquals(outLs[['infVc']][4], 'Table formats are OK; enjoy your analyses!') |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
10 |
e194eec8e70c
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
ethevenot
parents:
diff
changeset
|
11 } |