changeset 7:90f3027fdb28 draft

planemo upload commit 09b6a41798350090b61aea16966ba64b583ef02b-dirty
author mingchen0919
date Sat, 09 Jun 2018 22:15:40 -0400
parents d961c2f5e172
children fe6c95c7f5c0
files rmarkdown_report_render.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rmarkdown_report_render.R	Mon May 14 14:32:06 2018 -0400
+++ b/rmarkdown_report_render.R	Sat Jun 09 22:15:40 2018 -0400
@@ -94,7 +94,7 @@
       lapply(dirs, function(x) {
         path_end = tail(strsplit(x, '/')[[1]], 1)
         # hide vakata-jstree-3.3.5 folder
-        if (path_end != 'vakata-jstree-3.3.5') {
+        if (!(path_end %in% c('vakata-jstree-3.3.5', 'rmarkdown_report_files'))) {
           # x_path = strsplit(x, paste0(output_dir, '/'))[[1]][2]
           li_item = tags$li(path_end, file_tree(x))
           li_item$attribs = list('data-jstree' = '{"icon":"jstree-folder"}')