Description Usage Arguments Details Value See Also Examples
Define the regex
pattern to the files to highlight.
It finds plots given a vector of regex paths/
Add highlighted files (mainly tables and Graphics).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | highlight_f_def(
x,
title_pattern = c("pdf$"),
path = "no_path/found",
lock = FALSE
)
report_files(confs, name, path = "/no/path", lock = FALSE, ...)
highlight_f(
hfiles,
path,
hlevel = "###",
close_tabset = FALSE,
address = "file://",
verbose = FALSE
)
|
x |
Step config or just the path to the step's output. |
title_pattern |
File |
path |
Step's output path. |
lock |
Whethe to look for 'locking plots in clustering', Default: FALSE. |
confs |
List of config steps. |
name |
Name in the 'confs' list. |
... |
More parameters for 'highlight_f'. |
hfiles |
|
hlevel |
Header level, Default: '###'. |
close_tabset |
In case you need something to show right after the last tab, Default: FALSE. |
address |
Server address, Default: 'file://'. |
verbose |
Show progress, Default: FALSE. |
This might not work without r, result='asis'.
Tries to find the file using the regex
.
Config list with the highlighting regex
patterns.
All lines created are showed with 'cat'.
Adds the file to the report.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
if(interactive()) highlight_f_def("~/Documents/liai/literature")
## End(Not run)
## Not run:
if(interactive()){
report_files(
confs = list(demx = list("/path/2/output", hfiles = 'pdf$')),
name = "demx", path = "/path/2/output"
)
}
## End(Not run)
## Not run:
if(interactive()) highlight_f("pdf", "~/Documents/liai/literature")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.