Mercurial > repos > mingchen0919 > aurora_star_site
comparison rmarkdown_report_render.R @ 3:071638eddf9c draft
planemo upload commit 841d8b22bf9f1aaed6bfe8344b60617f45b275b2-dirty
author | mingchen0919 |
---|---|
date | Sun, 30 Dec 2018 12:50:59 -0500 |
parents | c12e291895ff |
children |
comparison
equal
deleted
inserted
replaced
2:c04ef267c2c9 | 3:071638eddf9c |
---|---|
88 { | 88 { |
89 if (length(dirs) > 0) { | 89 if (length(dirs) > 0) { |
90 lapply(dirs, function(x) { | 90 lapply(dirs, function(x) { |
91 path_end = tail(strsplit(x, '/')[[1]], 1) | 91 path_end = tail(strsplit(x, '/')[[1]], 1) |
92 # hide vakata-jstree-3.3.5 folder | 92 # hide vakata-jstree-3.3.5 folder |
93 if (path_end != 'vakata-jstree-3.3.5') { | 93 if (!(path_end %in% c('vakata-jstree-3.3.5', 'rmarkdown_report_files', 'site_libs'))) { |
94 # x_path = strsplit(x, paste0(output_dir, '/'))[[1]][2] | 94 # x_path = strsplit(x, paste0(output_dir, '/'))[[1]][2] |
95 li_item = tags$li(path_end, file_tree(x)) | 95 li_item = tags$li(path_end, file_tree(x)) |
96 li_item$attribs = list('data-jstree' = '{"icon":"jstree-folder"}') | 96 li_item$attribs = list('data-jstree' = '{"icon":"jstree-folder"}') |
97 li_item | 97 li_item |
98 } | 98 } |