Skip to contents

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.

Usage

render(input, minimal_eval, ...)

Arguments

input

The input file to be rendered (see rmarkdown::render)

minimal_eval

If TRUE, then only chunks with litr::document() or usethis 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.

...

Additional parameters to pass to rmarkdown::render