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