Configure 'rmarkdown'
files to build 'RAVE' pipelines
Source: R/pipeline-knitr.R
pipeline-knitr-markdown.Rd
Allows building 'RAVE' pipelines from 'rmarkdown'
files.
Please use it in 'rmarkdown'
scripts only. Use
pipeline_create_template
to create an example.
Usage
configure_knitr(languages = c("R", "python"))
pipeline_setup_rmd(
module_id,
env = parent.frame(),
collapse = TRUE,
comment = "#>",
languages = c("R", "python"),
project_path = dipsaus::rs_active_project(child_ok = TRUE, shiny_ok = TRUE)
)
Arguments
- languages
one or more programming languages to support; options are
'R'
and'python'
- module_id
the module ID, usually the name of direct parent folder containing the pipeline file
- env
environment to set up the pipeline translator
- collapse, comment
passed to
set
method ofopts_chunk
- project_path
the project path containing all the pipeline folders, usually the active project folder