annotate bdss_client_render.R @ 0:1cc0ed4567e1 draft default tip

planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
author mingchen0919
date Tue, 17 Oct 2017 14:07:18 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
1 library(getopt)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
2 library(rmarkdown)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
3 library(htmltools)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
4 library(dplyr)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
5 library(RCurl)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
6
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
7
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
8 ##============ Sink warnings and errors to a file ==============
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
9 ## use the sink() function to wrap all code within it.
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
10 ##==============================================================
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
11 zz = file('warnings_and_errors.txt')
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
12 sink(zz)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
13 sink(zz, type = 'message')
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
14 ##---------below is the code for rendering .Rmd templates-----
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
15
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
16 ##=============STEP 1: handle command line arguments==========
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
17 ##
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
18 ##============================================================
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
19 # column 1: the long flag name
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
20 # column 2: the short flag alias. A SINGLE character string
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
21 # column 3: argument mask
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
22 # 0: no argument
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
23 # 1: argument required
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
24 # 2: argument is optional
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
25 # column 4: date type to which the flag's argument shall be cast.
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
26 # possible values: logical, integer, double, complex, character.
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
27 #-------------------------------------------------------------
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
28 #++++++++++++++++++++ Best practice ++++++++++++++++++++++++++
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
29 # 1. short flag alias should match the flag in the command section in the XML file.
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
30 # 2. long flag name can be any legal R variable names
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
31 # 3. two names in args_list can have common string but one name should not be a part of another name.
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
32 # for example, one name is "ECHO", if another name is "ECHO_XXX", it will cause problems.
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
33 #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
34 ##------- 1. input data ---------------------
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
35 args_list=list()
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
36 args_list$URLS = c('urls', 'i', '1', 'character')
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
37 args_list$ECHO = c('echo', 'e', '1', 'character')
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
38 ##--------2. output report and outputs --------------
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
39 args_list$REPORT_HTML = c('report_html', 'r', '1', 'character')
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
40 args_list$REPORT_DIR = c('report_dir', 'd', '1', 'character')
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
41 args_list$SINK_OUTPUT = c('sink_message', 's', '1', 'character')
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
42 ##--------3. Rmd templates in the tool directory ----------
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
43 args_list$BDSS_CLIENT_RMD = c('bdss_client_rmd', 't', '1', 'character')
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
44
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
45 opt = getopt(t(as.data.frame(args_list)))
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
46
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
47
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
48 ##=======STEP 2: create report directory (optional)==========
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
49 ##
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
50 ##===========================================================
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
51 dir.create(opt$report_dir)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
52
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
53 ##=STEP 3: replace placeholders in .Rmd with argument values=
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
54 ##
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
55 ##===========================================================
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
56 #++ need to replace placeholders with args values one by one+
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
57 #----- 01 bdss_client.Rmd -----------------------
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
58 readLines(opt$bdss_client_rmd) %>%
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
59 (function(x) {
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
60 gsub('URLS', opt$urls, x)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
61 }) %>%
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
62 (function(x) {
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
63 gsub('ECHO', opt$echo, x)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
64 }) %>%
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
65 (function(x) {
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
66 gsub('REPORT_DIR', opt$report_dir, x)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
67 }) %>%
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
68 (function(x) {
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
69 fileConn = file('bdss_client.Rmd')
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
70 writeLines(x, con=fileConn)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
71 close(fileConn)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
72 })
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
73
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
74 ##=============STEP 4: render .Rmd templates=================
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
75 ##
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
76 ##===========================================================
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
77 render('bdss_client.Rmd', output_file = opt$report_html)
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
78
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
79
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
80 ##--------end of code rendering .Rmd templates----------------
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
81 sink()
1cc0ed4567e1 planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_bdss_client_main commit d9ab791a7ce12362dc6e28c0a518a3f23dd581fe-dirty
mingchen0919
parents:
diff changeset
82 ##=========== End of sinking output=============================