changeset 9:9e7e22e4eb08 draft

planemo upload commit 09b6a41798350090b61aea16966ba64b583ef02b-dirty
author mingchen0919
date Sat, 09 Jun 2018 22:26:51 -0400
parents 94762f1cb779
children 5286f3b1c9c2
files rmarkdown_report_render.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rmarkdown_report_render.R	Mon Apr 30 16:15:39 2018 -0400
+++ b/rmarkdown_report_render.R	Sat Jun 09 22:26:51 2018 -0400
@@ -96,7 +96,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', 'site_libs'))) {
           # 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"}')