View source: R/sysargslist_utilities.R
renderLogs | R Documentation |
Render the logs report file to the specified output format using pandoc.
renderLogs(sysargs, type = c("html_document", "pdf_document"), fileName = "default", quiet = FALSE, open_file = TRUE)
sysargs |
object of class |
type |
The R Markdown output format to convert to. The option
can be the name of a format (e.g. |
fileName |
character string naming a file output. Default is |
quiet |
If set to |
open_file |
Default is |
It will return an SYSargsList
updated.
Daniela Cassol
See also as SYSargsList-class
.
## Construct SYSargsList object from Rmd file sal <- SPRproject(overwrite=TRUE) targetspath <- system.file("extdata/cwl/example/targets_example.txt", package="systemPipeR") ## Constructor and `appendStep<-` appendStep(sal) <- SYSargsList(step_name = "echo", targets=targetspath, dir=TRUE, wf_file="example/workflow_example.cwl", input_file="example/example.yml", dir_path = system.file("extdata/cwl", package="systemPipeR"), inputvars = c(Message = "_STRING_", SampleName = "_SAMPLE_")) appendStep(sal) <- LineWise(code = { hello <- lapply(getColumn(sal, step=1, 'outfiles'), function(x) yaml::read_yaml(x)) }, step_name = "R_read", dependency = "echo") sal <- runWF(sal) sal <- renderLogs(sal, open_file = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.