changeset 4:3fc7079a1f06 draft

planemo upload commit 09b6a41798350090b61aea16966ba64b583ef02b-dirty
author mingchen0919
date Sat, 09 Jun 2018 22:32:27 -0400
parents b99e852cbac5
children a9b160a97a5e
files rmarkdown_report_render.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rmarkdown_report_render.R	Tue May 01 10:31:08 2018 -0400
+++ b/rmarkdown_report_render.R	Sat Jun 09 22:32:27 2018 -0400
@@ -90,7 +90,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"}')