proj_workflow_render | R Documentation |
In the absence of a _projthis.yml
file, this renders each of the .Rmd
files in the workflow in alphabetical order, with README.Rmd
last. This
order is important because it preserves the direction of the data
dependencies.
proj_workflow_render( path_proj = "workflow", output_options = list(html_preview = FALSE), ... )
path_proj |
|
output_options |
|
... |
other arguments passed on to |
A _projthis.yml
file might look something like this:
render: first: 00-import.Rmd last: 99-publish.Rmd
If the workflow directory has a _projthis.yml
file:
Entries in render$first
are rendered first.
Entries in render$last
are rendered last, but
README.Rmd
is rendered very last.
If README.Rmd
is specified in render$first
or render$last
,
it is rendered there rather than very last.
All unspecified files are rendered in alphabetical order after first
,
and before last
.
Each .Rmd
file is rendered in its own R session, using proj_rmd_render()
.
Invisible NULL
, called for side effects.
## Not run: # not run because it creates side effects proj_workflow_render() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.