diff collection_list_render.R @ 13:ff1cb127967e draft

planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit 6df7b8ef3a603f7792ed5815ff324ede8a7b2b0b-dirty
author mingchen0919
date Mon, 25 Sep 2017 16:19:14 -0400
parents 9c2059916485
children 26718249095f
line wrap: on
line diff
--- a/collection_list_render.R	Mon Sep 25 16:10:27 2017 -0400
+++ b/collection_list_render.R	Mon Sep 25 16:19:14 2017 -0400
@@ -32,6 +32,7 @@
 spec_list=list()
 spec_list$FILE_LIST = c('file_list', 'l', '1', 'character')
 spec_list$ECHO = c('echo', 'e', '1', 'character')
+spec_list$FORMAT = c('echo', 'f', '1', 'character')
 ##--------2. output report and outputs --------------
 spec_list$REPORT = c('report', 'r', '1', 'character')
 spec_list$OUTPUT_DIR = c('list_collection_dir', 'd', '1', 'character')
@@ -62,6 +63,9 @@
     gsub('ECHO', opt$echo, x)
   }) %>%
   (function(x) {
+    gsub('FORMAT', opt$echo, x)
+  }) %>%
+  (function(x) {
     gsub('FILE_LIST', opt$file_list, x)
   }) %>%
   (function(x) {