Render R markdown file
render.Rd
Wrapper to rmarkdown::render()
that produces an R package as output in
addition to the standard output document. It does some post-processing on the
.html file when that is the output. In particular, when an .html file is among
the outputs, it adds hyperlinks to functions defined within the file to make
it easier for someone reading the code to see where different functions are
defined.
Arguments
- input
The input file to be rendered (see
rmarkdown::render
)- minimal_eval
If
TRUE
, then only chunks withlitr::document()
orusethis
commands will be evaluated. This can be convenient in coding when you just want to quickly update the R package without having to wait for long evaluations to occur.- fresh_session
Whether to call
rmarkdown::render
from a fresh R session. By default TRUE, so that it matches the behavior of pressing "Knitr" in RStudio. However, for debugging it can be useful to set this to FALSE so that functions likedebug()
andbrowser()
will work.- ...
Additional parameters to pass to
rmarkdown::render